ICT211 Lab 11.docx - ICT211 Lab 11 Installing and Configuring the Apache HTTP Server Learning Objectives 1 Learn to Install the Apache web server 2

ICT211 Lab 11.docx - ICT211 Lab 11 Installing and...

This preview shows page 1 - 4 out of 11 pages.

ICT211 Lab 11: Installing and Configuring the Apache HTTP Server Learning Objectives: 1. Learn to Install the Apache web server. 2. Learn to run the Apache web server. 3. Learn to configure the Apache web server. 4. Learn to monitor the Apache web server. Required Reading: Lecture Notes for Topic 11. Apache 2.4 Documentation: Required Software: Recent versions of the web browsers Chrome, Firefox and IE. An SSH client such as PuTTY. PuTTY is installed in the lab machine. External students can download the software from . WinSCP, which is available from the lab machines. External students can download it from Access to Linux server Ceto. Note: Mac users can use the Terminal app (from Applications/Utilities) to do remote logins (command ssh) and file transfers (command sftp) instead of PuTTY and WinSCP. Instructions
Image of page 1
For all instructions below, replace the number 12345678 with your own 8-digit student number, and the number 15678 with the port number allocated to you (more on this below). 1. Installing the Apache HTTP Server You will compile and build the lastest version of the Apache HTTP Server distribution in your own area on ceto. There is already a copy of this lastest distribution in the unit coordinator's account ( ~s900432d ). Copy it into your home directory, unzip and untar it, then configure the makefiles and make the installation. To do that, type in the following set of commands on ceto, in the order specified. Before you start the installation, you need to find out your home directory on ceto. Type the command cd followed by command pwd to find out your home directory. In the following example, I assume that your home directory is /home/student/accounts/12345678 . You need to replace it with your real home directory. [Note that all commands below between one " ceto:~> " prompt to the next are suppose to be typed in one line. Be aware of this because your browser may show the commands in two lines if there isn't enough space to fit it in one line in your window. Eg: the "./configure --prefix=..." command may be shown in two line, but please make sure the "--" and "prefix=..." are joined without any spaces or breaks in a single line. Also note that in the second command below " cp ~s900432d/ICT211/httpd-2.2.13.tar.gz . " there is a " . " at the end.] ceto:~> cd ceto:~> cp ~s900432d/ICT211/httpd-2.2.13.tar.gz . ceto:~> gunzip httpd-2.2.13.tar.gz ceto:~> tar xvf httpd-2.2.13.tar ceto:~> cd httpd-2.2.13 ceto:~/httpd-2.2.13> ./configure --prefix=/home/student/accounts/12345678/apache Output should look similar to this ... ceto:~/httpd-2.2.13> make Output should look similar to this ... ceto:~/httpd-2.2.13> make install Output should look similar to this ... The purpose of putting your own directory in the " ./configure ... " line is to ensure that the final server you build will operate from your home
Image of page 2
directory rather than the default /usr/local/apache.
Image of page 3
Image of page 4

You've reached the end of your free preview.

Want to read all 11 pages?

  • Summer '16
  • Web page, World Wide Web, Web server, Apache HTTP Server

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture