How to install Apache on a Linux server
The Apache HTTP Server, commonly referred to simply as Apache, is a web server notable for playing a key role in the initial growth of the World Wide Web. Fiber-Hosting recommends downloading the latest stable release. The best place to get Apache is from the Apache HTTP Server download site listed below.
- Downloading Apache
Go to the Apache site and download the version you would like
- Installing and Configuring Apache
First we must uncompress and untar the files
- gunzip -d httpd-*_*_**.tar.gz
- tar xvf httpd-*_*_**.tar
- Once files are uncompressed you will need cd into the Apache dir and type ./configure
- Build
- make
- make install
- Edit
- vi PREFIX/conf/httpd.conf
You will want to edit a few lines in the httpd.conf here are the minimum you will have to do:
ServerAdmin *@*.c*m E-mail of the Server Administrator
ServerName *******.c*m Enter the name of the server
ServerType standalone
NameVirtualHost 192.168.0.2 IP for Apache to listen on.
<VirtualHost 192.168.0.2> IP for Apache to listen on.
ServerName domain.tld Domain
ServerAlias www.domain.tld
ServerAdmin admin@domain.tld e-mail of Admin
DocumentRoot /path/to/website/files
</VirtualHost>
Tags: Apache Setup, Linux apache setup











![Validate my RSS feed [Valid RSS]](http://fiber-hosting.com/docs/valid-rss.png)