Fiber Hosting

Affordable Professional Dedicated and Co-Location Services

Documentation and Tutorials by Fiber-Hosting LLC

Created for the novice server administrator of unix and linux powered servers.

 

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

  1. gunzip -d httpd-*_*_**.tar.gz
  2. tar xvf httpd-*_*_**.tar
  3. Once files are uncompressed you will need cd into the Apache dir and type ./configure
  • Build
  1. make
  2. make install
  • Edit
  1. 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>

Share this guide with a friend. These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Slashdot
  • SphereIt
  • StumbleUpon
  • Technorati

Tags: ,

Comments are closed.


Warning: include(/usr/home/admin/domains/fiber-hosting.com/public_html/includes/quotes.php) [function.include]: failed to open stream: No such file or directory in /home/fiber/public_html/docs/wp-content/themes/default/footer.php on line 3

Warning: include() [function.include]: Failed opening '/usr/home/admin/domains/fiber-hosting.com/public_html/includes/quotes.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fiber/public_html/docs/wp-content/themes/default/footer.php on line 3


Entries (RSS) and Comments (RSS).