配置svn,httpd启动报错 Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
查看httpd的状态,发现80端口被占用,因为我的nginx的80端口。
systemctl status httpd.service
解决:
把Apache的端口该成别的端口
vi /etc/httpd/conf/httpd.conf
Listen 80 //该成8080 即可。
然后重启httpd服务即可。
systemctl start httpd
PS:nginx配置转发svn,由于刚才我们将Apache的监听端口改为了8080所以,下面location转要转发的端口即是8080
如下图所示,访问 IP/svn/