Archive for the ‘LINUX’ Category

Path of the important configuration files in Linux

December 2, 2009

Apache:

/etc/httpd/conf/httpd.conf – apache configuration file

/var/log/httpd/error_log – apache error log file

/etc/hosts – host configuration file of apache

PHP

/etc/php.ini – php configuration file

MYSQL

/etc/my.cnf – mysql database server configuration file

Nginx

/etc/nginx/nginx.conf

/var/log/nginx/error.log

How to start MYSQL database server in Linux

December 2, 2009

/etc/init.d/mysqld start – starts the mysql database server

/etc/init.d/mysqld stop – stops the mysql database server

/etc/init.d/mysqld restart Рrestarts  the mysql database server

How to start Apache server in Linux

December 2, 2009

Linux commands :

Apache:

/etc/init.d/httpd start – starts the apache server

/etc/init.d/httpd stop – stops the apache server

/etc/init.d/httpd restart Рrestarts  the apache server