August 2006

How do I use chkconfig on FreeBSD to start or stop services automatically on boot?

{ 0 comments }

Q. I am getting following error: Maximum number of clients exceeded How do I get rid of this problem? A. Many ftp servers are configured to allow 1 or 2 maximum login only. There are couple of ftp client program which open up multiple connections to the FTP server to speed up download or upload. [...]

{ 0 comments }

Q. My timezone is pointing to wrong timezone. How do I setup or change the timezone under Linux operating systems?

{ 43 comments }

Howto: PHP setup include_path

by Vivek Gite on August 26, 2006 · 7 comments

Q. How do I set PHP include path? A. The configuration file php.ini is read when PHP starts up. For the server module versions of PHP, this happens only once when the web server is started. For the CGI and CLI version, it happens on every invocation. This file is use to setup include_path. Method [...]

{ 7 comments }

Q. How do I change the userid or Login name in Linux? A. Use usermod command which modifies the system account files to reflect the changes that are specified on the command line. You need to pass -l option as follows to usermod command: usermod –l NEW_LOGIN_NAME old_login_name Where, -l : The name of the [...]

{ 0 comments }

Q. How do I add a new user called foo under existing group bar? A. You need to use useradd command, which create a new user or update default new user information. You need to pass -g option to useradd command. It specifies the group name or number of the user’s initial login group. The [...]

{ 4 comments }

Q. I am using CentOS how do I show all installed packages in Linux? A. You need to use rpm command to display all installed packages in Linux. Red Hat/Fedora Core/CentOS Linux Type the following command to get list of all installed software # rpm -qa | less Debian Linux Type the following command to [...]

{ 6 comments }