ubuntu gitweb配置

apt-get install gitweb 

apt-get install apache2

vi /etc/gitweb.conf

# path to git projects (<project>.git)

$projectroot = "/home/git/repositories";


chmod 755 -R /home/git/repositories

/etc/init.d/apache2 restart


http://ip/gitweb


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章