标签:
理论上是这样的
http://gogs.io/docs/installation/install_gogs_on_ubuntu.html
我直接用的 sqlite3 然后起成服务运行
sudo adduser git sudo apt-get install unzip git sqlite3 cd /home/git wget https://github.com/gogits/gogs/releases/download/v0.6.1/linux_amd64.zip su git unzip linux_amd64.zip cp /home/git/gogs/scripts/init/debian/gogs /etc/init.d/ chmod a+x /etc/init.d/gogs sudo -s apt-get install sysv-rc-conf sysv-rc-conf gogs on apt-get remove sysv-rc-conf apt-get autoremove vi /home/git/gogs/custom/conf/app.ini
http://ip:3000 安装
具体配置http://gogs.io/docs/advanced/configuration_cheat_sheet.md;
nginx 代理设置 http://gogs.io/docs/intro/faqs.md;
done
ubuntu 14.04 lts 安装gogs v0.6.1
标签:
原文地址:http://my.oschina.net/u/1413151/blog/414248