可到
http://www.viewvc.org/
下載 viewvc-1.0.4,要看一下安裝需求。
tar zxvf viewvc-1.0.4.tar.gz
cd viewvc-1.0.4
./viewvc-install
照預設的安裝目錄按enter就好,然後會出現下面訊息
ViewVC file installation complete.
Consult the INSTALL document for detailed information on completing the
installation and configuration of ViewVC on your system. Here's a brief
overview of the remaining steps:
1) Edit the /usr/local/viewvc-1.0.4/viewvc.conf file.
2) Either configure an existing web server to run
/usr/local/viewvc-1.0.4/bin/cgi/viewvc.cgi.
Or, copy /usr/local/viewvc-1.0.4/bin/cgi/viewvc.cgi to an
already-configured cgi-bin directory.
Or, use the standalone server provided by this distribution at
/usr/local/viewvc-1.0.4/bin/standalone.py.
我自己是將 viewvc.cgi copy到 /var/www/cgi-bin/ (伺服器執行cgi的目錄)。
然後修改設定檔 vi /usr/local/viewvc-1.0.4/viewvc.conf
將這行 cvs_roots = cvs: /cvs 改成你自己的cvs root路徑 (/cvs -> your path )
,將use_enscript = 0 改成 use_enscript = 1
這樣簡單的 ViewVC 就架設完成了。
補充:"Error: Rlog output ended early." 如果出現這樣的error,要安裝RCS。
This entry was posted
on 2008年2月27日 星期三
at 上午11:35
and is filed under
Linux
. You can follow any responses to this entry through the
comments feed
.