LabResources:NaraWww01: Difference between revisions
From Adapt
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
==subversion== | ==subversion== | ||
Install version 1.4.4 that is needed for viewvc (non-standard rh4) | Install version 1.4.4 that is needed for viewvc (non-standard rh4) | ||
* [[media:apr-0.9.12-2.i386.rpm]] | * [[media:apr-0.9.12-2.i386.rpm|apr-0.9.12-2.i386.rpm]] | ||
* [[media:apr-devel-0.9.12-2.i386.rpm]] | * [[media:apr-devel-0.9.12-2.i386.rpm|apr-devel-0.9.12-2.i386.rpm]] | ||
* [[media:apr-util-0.9.12-1.i386.rpm]] | * [[media:apr-util-0.9.12-1.i386.rpm|apr-util-0.9.12-1.i386.rpm]] | ||
* [[media:apr-util-devel-0.9.12-1.i386.rpm]] | * [[media:apr-util-devel-0.9.12-1.i386.rpm|apr-util-devel-0.9.12-1.i386.rpm]] | ||
* [[media:mod_dav_svn-1.4.4-1.i386.rpm]] | * [[media:mod_dav_svn-1.4.4-1.i386.rpm|mod_dav_svn-1.4.4-1.i386.rpm]] | ||
* [[media:subversion-1.4.4-1.i386.rpm]] | * [[media:subversion-1.4.4-1.i386.rpm|subversion-1.4.4-1.i386.rpm]] | ||
* [[media:subversion-devel-1.4.4-1.i386.rpm]] | * [[media:subversion-devel-1.4.4-1.i386.rpm|subversion-devel-1.4.4-1.i386.rpm]] | ||
* [[media:subversion-perl-1.4.4-1.i386.rpm]] | * [[media:subversion-perl-1.4.4-1.i386.rpm|subversion-perl-1.4.4-1.i386.rpm]] | ||
* [[media:subversion-python-1.4.4-1.i386.rpm]] | * [[media:subversion-python-1.4.4-1.i386.rpm|subversion-python-1.4.4-1.i386.rpm]] | ||
viewvc is available at http://narasvn.umiacs.umd.edu/viewvc | viewvc is available at http://narasvn.umiacs.umd.edu/viewvc |
Latest revision as of 21:01, 11 September 2008
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)
- apr-0.9.12-2.i386.rpm
- apr-devel-0.9.12-2.i386.rpm
- apr-util-0.9.12-1.i386.rpm
- apr-util-devel-0.9.12-1.i386.rpm
- mod_dav_svn-1.4.4-1.i386.rpm
- subversion-1.4.4-1.i386.rpm
- subversion-devel-1.4.4-1.i386.rpm
- subversion-perl-1.4.4-1.i386.rpm
- 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