Personal tools

LabResources:NaraWww01

From Adapt

Revision as of 21:01, 11 September 2008 by Scsong (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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)

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