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

Verfasst von
ServerWatch Staff
ServerWatch Staff
Published: Jul 20, 2010
Updated: Nov 10, 2020
1 minute read
ServerWatch Inhalte und Produktempfehlungen sind redaktionell unabhängig. Wir können Geld verdienen, wenn Sie auf Links zu unseren Partnern klicken. Mehr erfahren



“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.

ServerWatch Logo

ServerWatch is a top resource on servers. Explore the latest news, reviews and guides for server administrators now.

Eigentum von TechnologyAdvice. © 2026 TechnologyAdvice. Alle Rechte vorbehalten

Werbetreibenden-Offenlegung: Einige der auf dieser Website erscheinenden Produkte stammen von Unternehmen, von denen TechnologyAdvice eine Vergütung erhält. Diese Vergütung kann beeinflussen, wie und wo Produkte auf dieser Website erscheinen, einschließlich beispielsweise der Reihenfolge, in der sie erscheinen. TechnologyAdvice schließt nicht alle Unternehmen oder alle auf dem Marktplatz verfügbaren Produkttypen ein.