|
Testing Apache Webserver running on a guest Fedora Linux OS |
|
Thursday, 20 September 2007 |
TUTORIAL: Testing Apache Webserver running on a guest Fedora Linux OS
This tutorial shows the steps for testing if Apache is running.
STEPS
- Create a Fedora Linux virtual machine (guest) on Windows
XP(host) with Vmware.
- Install Fedora Linux. This is now the guest OS.
- Start Linux, than log in as a regular user. Start a shell
to input commands
- Change to root (su - root)
- Start Apache by typing at the command prompt: service httpd
start. Test if service is running by typing: telnet localhost 80 (see
image 1 below). GNOME or KSE GUI tools can also be used to
configure Apache.
- Find the IP address of this server by typing: ifconfig
(this is equivalent to typing at the commnad prompt in Windows:
ipconfig - see image 2 with the black background below) Note
that this is a different IP address than that generated by Windows in
the host machine.
- By default Apache is set to listen to all
available IP addresses (GNOME or KSE GUI tools can be used to verity
this)
- Start FTP service by typing in:
/etc/init.d/vsftpd start
- Create an index.html test page and upload to /var/www/html
(see image 3 below).
- Open a brower on host Windows XP and type in the URL found
in step 6. The test page should appear (see image 1)
|