Ubuntu18.04 搭建 SVN
安装svn
- 配置教程: https://blog.csdn.net/zengsange/article/details/80618301
- 其他配置教程[开机启动] https://www.cnblogs.com/chen-lhx/p/5805716.html
启动服务器
svnserve -d -r /usr/svn/
查看运行状态
ps aux | grep svnserve
停止
killall svnserve
依赖nginx代理转向域名
- vi /etc/nginx/conf.d/svn_nginx.conf
1 | server { |
- 验证ngxin nginx -t
重启nginx /etc/init.d/nginx restart
验证OK 重启失败
1
2
3[....] Starting nginx (via systemctl): nginx.serviceJob for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
failed!我这里同时启动 apache2 和nginx 因apache2无用我停止了
评论
TwikooValine