I am having Linux installed on my computer.... & Actually i am learning web designing & need to work on Apache... So i wanted to install Apache on Linux... Does Anyone know how to install Apache in Linux????
I am having Linux installed on my computer.... & Actually i am learning web designing & need to work on Apache... So i wanted to install Apache on Linux... Does Anyone know how to install Apache in Linux????
Build and Install Apache
The advantage for the construction of Apache with support for modules of dynamic load is that in the future, it can add functionality to his Web to only compile and install the modules, and reinitiate the Web server. If the characteristics were compiled in Apache, whom it would have to reconstruct of Apache from zero whenever it wanted to add or to update a module (like PHP). His binary Apache also is smaller, which means more efficient the use of the memory.
The disadvantage of dynamic modules is a slight blow in comparison with the yield that have the compiled modules pulg
Now Make & InstallCode:cd /usr/local/src/apache make clean ./configure \ --prefix=/usr/local/apache \ --enable-shared=max \ --enable-module=rewrite \ --enable-module=so
Installing Apache
To initiate session like root. You can do this for the present terminal by means of his commando:
Now going to install Apache in /usr/local/etc just go there.Code:su root
To unload the last stable version of Apache.org Apache in this directory. When to write this me apache all unloadings in a directory in case I need again:Code:cd /usr/local/etc
Code:/usr/local/downloads
Install Apache in Linux
Type the following command
Start ApacheCode:# up2date httpd
Code:# chkconfig httpd on # /etc/init.d/httpd start
Bookmarks