LabResources:NaraWww01
From Adapt
WebServer configuration
Overview
dev/narawww01-data/subversion /export/subversion ext3 defaults 1 2 /dev/narawww01-data/wiki /export/wiki ext3 defaults 1 2 /dev/narawww01-data/demos /export/demos ext3 defaults 1 2 /dev/narawww01-data/mysql /export/mysql ext3 defaults 1 2 /dev/narawww01-data/www /export/www ext3 defaults 1 2
The following virtual hosts point here:
- narasvn - subversion repository in /export/subversion and viewvc (/export/subversion/viewvc-1.0.3/bin/cgi/viewvc.cgi)
- narawiki, adaptwiki - pointers to the wiki installed in /export/wiki
- adapt - standard web site in /export/www/htdocs
- narademo - cgi scripts in /export/demos/cgi-bin/
apache config
In /etc/httpd/conf/httpd.conf, uncomment "NameVirtualHost *:80" Create a /etc/httpd/conf.d/umiacs.conf that contains the file attached below.
[root@narawww01 mysql]# chkconfig httpd on [root@narawww01 mysql]# service httpd start Starting httpd: [ OK ]
subversion
Install version 1.4.4 that is needed for viewvc (non-standard rh4)
- media:apr-0.9.12-2.i386.rpm
- media:apr-devel-0.9.12-2.i386.rpm
- media:apr-util-0.9.12-1.i386.rpm
- media:apr-util-devel-0.9.12-1.i386.rpm
- media:mod_dav_svn-1.4.4-1.i386.rpm
- media:subversion-1.4.4-1.i386.rpm
- media:subversion-devel-1.4.4-1.i386.rpm
- media:subversion-perl-1.4.4-1.i386.rpm
- media:subversion-python-1.4.4-1.i386.rpm
viewvc is available at http://narasvn.umiacs.umd.edu/viewvc
mysql, isadg demo
Isadg databases are located in /export/mysql/db, the older /export/mysql/software directory is unused from an earlier narawww01.
In /etc/my.cnf, change datadir to datadir=/export/mysql/db
[root@narawww01 mysql]# service mysqld start Starting MySQL: [ OK ] [root@narawww01 db]# chkconfig mysqld on