Download presentation
Presentation is loading. Please wait.
Published byLilian Brown Modified over 8 years ago
1
Linux, Apache, MySQL, PHP/Python/PERL ● a.k.a. LAMP ● Standard set of tools for configuring a Linux-based web server with database & interfacing capabilities ● Installation: https://help.ubuntu.com/9.10/serverguide/C/web-servers.html https://help.ubuntu.com/9.10/serverguide/C/web-servers.html
2
LAMP: Apache2 ● This is the actual web server software. ● Client computers request web pages via accessing URL of your server (can be aliased with Fully Qualified Domain Name or FQDN over www) ● FQDN gets /var/www/index.html – Example: http://epbi-jarrod.cwru.edu ● FQDN/path gets specific files (or directory listing) – http://epbi-jarrod.cwru.edu/about_me/cv.pdf gets /var/www/about_me/cv.pdf ● All serviced via Apache2
3
Apache2 sudo apt-get install apache2 jarrod@ubuntu:~$ ls /etc/apache2 apache2.conf magic sites-available conf.d mods-available sites-enabled envvars mods-enabled httpd.conf ports.conf
4
Apache2 sudo apt-get install apache2 jarrod@ubuntu:~$ ls /etc/apache2 apache2.conf magic sites-available conf.d mods-available sites-enabled envvars mods-enabled httpd.conf ports.conf Main (Global) Apache2 Configuration File
5
Apache2 sudo apt-get install apache2 jarrod@ubuntu:~$ ls /etc/apache2 apache2.conf magic sites-available conf.d mods-available sites-enabled envvars mods-enabled httpd.conf ports.conf Contains virtual host-specific configuration files Virtual host: Apache2 enables multiple site configurations to exist on one server
6
Apache2 Creating new (virtual) host by copying & editing default configuration file
7
Identifies 'IPaddr:port' that server is listening on Where Apache2 sends error logs & also the advertised site administrator e-mail address Where Apache2 goes to display index.html when a request comes in.
8
jarrod@ubuntu:~$ cd /var/www jarrod@ubuntu:/var/www$ ls index.html jarrod@ubuntu:/var/www$ sudo gedit index.html jarrod@ubuntu:/var/www$ sudo mv index.html /home/jarrod/dalton_rqi/ jarrod@ubuntu:/var/www$ sudo ln -s /home/jarrod/dalton_rqi/index.html./index.html jarrod@ubuntu:/var/www$ ls -l lrwxrwxrwx 1 root root 34 2010-03-26 15:31 index.html -> /home/jarrod/dalton_rqi/index.html jarrod@ubuntu:/var/www$ jarrod@ubuntu:/var/www$ sudo a2ensite dalton_rqi Enabling site dalton_rqi. Run '/etc/init.d/apache2 reload' to activate new configuration! jarrod@ubuntu:/var/www$ sudo /etc/init.d/apache2 restart * Restarting web server apache2... waiting. [ OK ] jarrod@ubuntu:/var/www$
12
rapache
15
Package 'brew' – An R Markup Language
19
HTTP GET Before After
25
rqi_mortality.html...
26
site...
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.