ServersLinux for Newbies, pt. 22: Installing Packages from Source

Linux for Newbies, pt. 22: Installing Packages from Source




Let’s visit Apache first. Before we get started we should give some thought to where we want Apache binaries and files
to live. If your Linux server is an active webserver, you may prefer a directory such as /var/www or even /www for your
Apache site. I personally like /usr/local, the traditional Unix place to put things that are “localized”–software that is not
part of the base operating system. Hence I am going to use /usr/local/apache as my destination.

“… This was a very simple Apache and PHP installation, but once you’ve nailed down the basics, adding more
modules or adjusting the options is just more of the same. On this system, Apache and PHP can now be easily updated
whenever you want, and the files are located in your directory of choice. Moreover, you have the satisfaction of a job
well done.”

Let’s visit Apache first. Before we get started we should give some thought to where we want Apache binaries and files
to live. If your Linux server is an active webserver, you may prefer a directory such as /var/www or even /www for your
Apache site. I personally like /usr/local, the traditional Unix place to put things that are localized–software that is not
part of the base operating system. Hence I am going to use /usr/local/apache as my destination.

Latest Posts

Related Stories