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

Published: Jul 20, 2010
Updated: Nov 10, 2020
1 minute read
ServerWatch のコンテンツおよび製品のおすすめは、編集上の独立性を保っています。パートナーへのリンクをクリックすると、当社が報酬を得る場合があります。 詳細を見る



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

TechnologyAdvice が所有・運営しています。 © 2026 TechnologyAdvice. 無断転載を禁じます

広告主に関する開示:このサイトに掲載されている製品の一部は、TechnologyAdvice が報酬を受け取っている企業のものです。この報酬は、製品がこのサイトのどこにどのように表示されるか(表示される順序など)に影響する場合があります。TechnologyAdvice は、市場で入手可能なすべての企業やすべての種類の製品を掲載しているわけではありません。