Veebiserver labor 2: Difference between revisions
From ICO wiki
Jump to navigationJump to search
Line 13: | Line 13: | ||
*www.album.ee | *www.album.ee | ||
*photo.album.ee | *photo.album.ee | ||
=Eeldused= | =Eeldused= |
Revision as of 15:30, 30 November 2009
Autorid
- Niina Stsetnikova
- Viktoria Mulina
Sissejuhatus
Meil on vaja luua veebiserveri, ehk interneti püsiühendusega arvuti, milles hoitakse veebisaite:
- www.album.ee
- photo.album.ee
Eeldused
Ubuntu server 9.10
Apache 2.2.12
OpenSSL 0.9.8g
Nõuded
- Konfigureerida kaks veebilehte.
- SNI
- SSL
- monitooring-valida millega monitoorida
Installeerimise ja konfigureerimise juhend
- envvars - default environment variables for apache2ctl
- Since there is no sane way to get the parsed apache2 config in scripts, some
- settings are defined via environment variables and then used in apache2ctl,
- /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
export APACHE_RUN_USER=www-data export APACHE_RUN_GROUP=www-data export APACHE_PID_FILE=/var/run/apache2.pid