[root@pd920 ~]# rpm -q subversion subversion-1.4.2-1
[root@pd920 viewvc-1.0.3]# rpm -q python python-2.3.4-14.3
wget http://viewvc.tigris.org/files/documents/3330/41694/viewvc-1.0.5.tar.gz tar -zxvf viewvc-1.0.5.tar.gz cd viewvc-1.0.5 ./viewvc-install 採用預設值直接 Enter cd /usr/local/ ln -s viewvc-1.0.5 viewvc
vi /usr/local/viewvc/viewvc.conf
: #cvs_roots = cvs: /home/cvsroot : #svn_roots = trysoft: /var/www/svn/trysoft, servercfg: /var/www/svn/trysoft/servercfg : root_parents = /var/www/svn : svn : #default_root = trysoft : address = <a href="mailto:tryweb@ichiayi.com">Trysoft-Admin</a> :
vi /etc/httpd/conf.d/viewvc.conf
ScriptAlias /viewvc /usr/local/viewvc/bin/cgi/viewvc.cgi
<Location "/viewvc">
AllowOverride None
AuthUserFile /var/www/passwdfile
AuthName "ViewVC Client Access"
AuthType Basic
require valid-user
</Location>service httpd restart