Tux Warrior: Apache Web Server

apacheSo far we have set up an IPv6 tunnel, using either gogoc or miredo and tested it. Hurrah! The Tux Warrior has eyes on the ground, but it is time to launch the aerial assault with an Apache Web Server. In the server world Apache is a demi-god, powering more than 43 million websites worldwide. The beauty of such a popular service, is that it is incredibly advanced and it can be as flexible and malleable, or as straightforward as you need.

For our purposes, Apache will work right out of the box. Apache is part of what is commonly known as a LAMP server which stands for Linux, Apache, MySql and PHP and very often also includes server-side scripting via Perl or Python.

For more info on the LAMP bundle, check out: http://en.wikipedia.org/wiki/LAMP_(software_bundle)

ip_addrFirst things first, let’s double check that we have IPv6 enabled. In your terminal execute:

$ ip -6 address show | grep global

you should get an IPv6 address beginning with 2001: as shown in the image.So, we are good to go. As mentioned above, Apache will do what we need with little or no extra configuration 🙂 Install apache from the terminal:

$ sudo apt-get install apache2

For good measure run an update:

$ sudo apt-get update && sudo apt-get upgrade -y


local_loopbackApache will automatically start once installed, and you can test it in your favourite browser but navigating to:

  • http://%5B::1]    which is your local loopback address in IPv6. If Apache is running successfully, you will see Apache’s default page saying It Works! Congratulations, you now have an Apache we server up and running.
  • localhosthttp://localhost    which will take you straight to your root /var/www/ directory (NOTE – this is where you will need to save your text file in the Enthusiast test)
  • you could also go directly to the /var/www directory by replacing ‘localhost’ with the IPv6 address you saw when you ran
    $ ip -6 address show

At this point, you could carry on and register a domain name at godaddy.com, change the AAAA record and pass your HE Enthusiast test. However, I recommend that you hold off on this for now. My experience seems to show that godaddy.com takes some time (today it was 2 hours) to propagate the changes to your DNS settings. This means that you will pass your Enthusiast test easily enough, but will have to wait before you can pass the Administrator Cert. When you have done so much good work, it is very frustrating to have to wait to prove it!

So for now, I recommend you congratulate yourself on successfully setting up your Apache server, and move on with setting up an email server. Once you have both of these installed and tested, then modify your DNS settings and pass your HE Certs.

#Long live the Tux Warrior!


2 thoughts on “Tux Warrior: Apache Web Server

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s