100%(1)1 out of 1 people found this document helpful
This preview shows page 1 - 4 out of 11 pages.
ICT211 Lab 11: Installing and Configuring the Apache HTTP ServerLearning 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 fromAccess 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) insteadof PuTTY and WinSCP.Instructions
For all instructions below, replace the number 12345678 with your own 8-digit student number, and the number 15678 with theport number allocated to you(more on this below).1.Installing the Apache HTTP ServerYou will compile and build the lastest version of the Apache HTTP Serverdistribution 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 yourhome directoryon ceto. Type the commandcdfollowed by commandpwdto findout 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 nextare 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:~> cdceto:~> cp ~s900432d/ICT211/httpd-2.2.13.tar.gz .ceto:~> gunzip httpd-2.2.13.tar.gzceto:~> tar xvf httpd-2.2.13.tarceto:~> 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> makeOutput should look similar to this... ceto:~/httpd-2.2.13> make installOutput 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
directory rather than the default/usr/local/apache.
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