COURSE NAME: Web Server Administration XXXXXXXXXXPAGE: 1 COURSE CODE: COMP 2144 COMP2241 Web Server Administration WEEK 2 L A B M A N U L Book: Week2 Chapters: 3 Author/s: Maziar Maosudi © 2016...

This assignment is about installing and configuring apache in virtual web in amagon instance.....


COURSE NAME: Web Server Administration PAGE: 1 COURSE CODE: COMP 2144 COMP2241 Web Server Administration WEEK 2 L A B M A N U L Book: Week2 Chapters: 3 Author/s: Maziar Maosudi © 2016 External Sources:  http://en.wikipedia.org/wiki/Wget  http://wiki.vpslink.com/Linux_Command_Reference:_apt-get_(Debian,_Ubuntu)  http://www.thegeekstuff.com/2010/04/unix-tar-command-examples/  http://www.codecoffee.com/tipsforlinux/articles/27.html http://en.wikipedia.org/wiki/Wget http://wiki.vpslink.com/Linux_Command_Reference:_apt-get_(Debian,_Ubuntu) http://www.thegeekstuff.com/2010/04/unix-tar-command-examples/ http://www.codecoffee.com/tipsforlinux/articles/27.html COURSE NAME: Web Server Administration PAGE: 2 COURSE CODE: COMP 2144 Table of Contents Contents Configure Ubuntu Serve ................................................................................................................................ 3 A. Preparation ........................................................................................................................................... 3 B. Download Apache source file ............................................................................................................... 3 C. Install dependencies ............................................................................................................................. 4 D. Install and Test Apache ......................................................................................................................... 4 COURSE NAME: Web Server Administration PAGE: 3 COURSE CODE: COMP 2144 Configure Ubuntu Serve - wget apt-get tar configure , make and make install A. Preparation - sudo su (when promoted enter root password) - apt-get update (update software on your Ubuntu instance) - apt-get install build-essential (install build tools c/c++ using gcc) B. Download Apache source file Section 1 (download an extract apache file) - cd /usr/local/lib (directory to download required files to build Apache) - wget http://lib.gblearn.com/apache/httpd-2.4.10.tar.gz (download file) - tar xvfz httpd-2.4.10.tar.gz (Unpack the compressed file) Section 2 (download APR to build Apache) - cd /usr/local/lib/httpd-2.4.10/srclib/ - wget http://lib.gblearn.com/apache/apr/apr-1.5.1.tar.gz - tar xvfz apr-1.5.1.tar.gz (Unpack the compressed file) Section 3 (download APR-UTIL to build Apache) - cd /usr/local/lib/httpd-2.4.10/srclib/ - wget http://lib.gblearn.com/apache/apr/apr-util-1.5.3.tar.gz - tar xvfz apr-util-1.5.3.tar.gz (Unpack the compressed file) Section 4 (download PCRE to build Apache) - cd /usr/local/lib/httpd-2.4.10/srclib/ - wget http://lib.gblearn.com/apache/pcre/pcre-8.34.tar.gz - tar xvfz pcre-8.34.tar.gz (Unpack the compressed file) http://en.wikipedia.org/wiki/Wget http://wiki.vpslink.com/Linux_Command_Reference:_apt-get_(Debian,_Ubuntu) http://www.thegeekstuff.com/2010/04/unix-tar-command-examples/ http://www.codecoffee.com/tipsforlinux/articles/27.html http://lib.gblearn.com/apache/httpd-2.4.10.tar.gz http://lib.gblearn.com/apache/apr/apr-1.5.1.tar.gz http://lib.gblearn.com/apache/apr/apr-util-1.5.3.tar.gz COURSE NAME: Web Server Administration PAGE: 4 COURSE CODE: COMP 2144 C. Install dependencies Install APR - cd /usr/local/lib/httpd-2.4.10/srclib/apr-1.5.1/ - ./configure - make - make install Install APR-UTIL - cd /usr/local/lib/httpd-2.4.10/srclib/apr-util-1.5.3/ - ./configure --with-apr=/usr/local/apr/bin/apr-1-config - make - make install Install PCRE - cd /usr/local/lib/httpd-2.4.10/srclib/pcre-8.34/ - ./configure --prefix=/usr/local/pcre - make - make install D. Install and Test Apache Section 1(configuration, make and install) - cd /usr/local/lib/httpd-2.4.10/ - ./configure --prefix=/usr/local/apache2 -with-pcre=/usr/local/pcre -enable-so - make - make install Section 2(start http server) - /usr/local/apache2/bin/apachectl start - /usr/local/apache2/bin/apachectl restart - /usr/local/apache2/bin/apachectl stop - /usr/local/apache2/bin/apachectl start COURSE NAME: Web Server Administration PAGE: 5 COURSE CODE: COMP 2144 Section 3(Test HTTP local server - VMWare) - ifconfig - (open your browser and type the IP address)
Dec 10, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here