Sometimes you want to restart your Apache server after changing some configuration in httpd.conf, but you have few hundred clients currently downloading files from your server and you don’t want to disconnect the. You can use the syntax below:
Code:
$ service restart graceful
or
$ /etc/init.d/httpd graceful
This will gracefully restart your Apache with new configuration without affecting your client’s connections.
To get multiple website to work under one apache server is not as hard as you though, first of all make sure all the domain is pointed correctly to the server that you going to configure, and then follow the step below:
1. in the shell, search for httpd.conf, you can use both of the way below for searching file.
$locate httpd.conf
or
$find / -name httpd.conf
Read more
STEP 1: DOWNLOAD SOURCES THAT GOING TO BE USE IN THE INSTALLATION
- cd /usr/local/src
- wget http://www.php.net/distributions/php-5.2.5.tar.gz
- wget http://apache.oregonstate.edu/httpd/httpd-2.2.8.tar.gz
- wget http://mysql.oss.eznetsols.org/Downloads/MySQL-5.0/mysql-5.0.51a.tar.gz
- wget http://apache.leakage.org/apr/apr-1.2.12.tar.gz
- wget http://apache.leakage.org/apr/apr-util-1.2.12.tar.gz
- wget http://xmlsoft.org/sources/libxml2-2.6.32.tar.gz
- wget http://curl.haxx.se/download/curl-7.18.1.tar.gz
- wget http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz
- wget http://quirkysoft.googlecode.com/files/jpegsrc.v6b.tar.gz
- wget http://www.zlib.net/zlib-1.2.3.tar.gz
- wget http://prdownloads.sourceforge.net/libpng/libpng-1.2.28.tar.gz?download
STEP 2: INSTALL NECCESSARY TOOLS/LIBRARY
Read more