Mercurial
Install mercurial on Ubuntu
1.首先安装apache2和mercurial aptitude install apache2 aptitude install mercurial 2。配置hg给apache用的cgi文件 cd /var mkdir hg chown -R www-data:www-data hg cd hg cp /usr/share/doc/mercurial/examples/hgweb.cgi . chmod a+x hgweb.cgi vi hgweb.cgi config = “/var/hg/hgweb.config” 3。配置hg web vi hgweb.config [collections] /var/hg = /var/hg 4。配置apache cd /etc/apache2/sites-available vi default 在</VirtualHost>前面加入: ScriptAlias /hg “/var/hg/hgweb.cgi” <Location /hg/repos> AuthType Basic AuthName “Mercurial repositories” AuthUserFile /var/hg/repos/hgusers [...]
