Apache HTTP server plays an important role in hosting area. It not only allows providing static content support but also allows providing load balancing support. In this article we will see how we can compile apache from source and start server.
Once you download the apache source, follow the steps to compile the source
1. Extract the tar file using tar –xvf http-2.0.64.
2. Now enter into the http-2-0-64 directory. cd http-2.0.64
3. Enter command. ./configure (a “.(dot)” before /)
4. Enter command make
5. Enter command make install
Once all steps are done completely, we can check the apache installed in location
/usr/local/apache2
In order to start apache, go to /usr/local/apache2/bin
Enter the command. ./apachectl start (a “.(dot)” before /)
While compiling the source code, it may throws and error saying
No available c compilers found
Then just install compiles available in Linux Gcc,Gcc-c++ and their dependencies.
More Things to come …..
No comments :
Post a Comment