Toggle navigation
亻中 阝日
博客
梦瑶
收款
吃鸡
聊天
杰森
更多...
登录
注册
×
登录
邮箱
密码
忘记密码?
centos svn
•发布于
•作者
liuzy
•869 次浏览
•最后一次编辑是
•来自
资讯
# apache - `yum install -y httpd mod_dav_svn` # svn repos - `cd /opt - `svnadmin create svn` - `htpasswd -c /opt/svn/users liuzy` - `chown -R apache.apache svn` # http - `vim /etc/httpd/conf/httpd.conf` - `vim /etc/httpd/conf.d/subversion.conf` ```
DAV svn SVNPath /opt/svn AuthType Basic AuthName "Aliyun SVN" AuthUserFile /opt/svn/conf/users AuthzSVNAccessFile /opt/svn/conf/authz Require valid-user
``` # https - `yum install -y mod_ssl openssl` - `vim /etc/httpd/conf.d/ssl.conf` ``` SSLEngine on LoadModule ssl_module modules/mod_ssl.so SSLCertificateFile /opt/ssl/svn.liuzy88.com.crt SSLCertificateKeyFile /opt/ssl/svn.liuzy88.com.key ``` - `vim /etc/httpd/conf.d/subversion.conf` ``` SSLRequireSSL ``` 如报错: Permission denied: make_sock: could not bind to address [::]:1688 Permission denied: make_sock: could not bind to address 0.0.0.0:1688 no listening sockets available, shutting down Unable to open logs 解决方法: 前提是SELinux 类型必须是targeted的: cat /etc/selinux/config|grep SELINUXTYPE; 也可以直接把selinux禁用掉; 直接修改/etc/selinux/config找到SELINUX=enforcing 修改为SELINUX=disable,然后reboot即可。 一次性的执行命令setenforce 0,这样不用重启,也可以生效。
0 回复
作者
liuzy
积分: 823
“ 黑眼圈圈男 ”
无人回复话题
SonarQube 9.4 + PostgreSQL
shell倒计时
日常网络巧技
使用ssh创建socks5代理服务
NodeJS集群demo
作者其他话题
SonarQube 9.4 + PostgreSQL
shell倒计时
日常网络巧技
使用ssh创建socks5代理服务
NodeJS集群demo
回到顶部
友情链接:
JFinal
©2015 Powered by
jfinalbbs
湘ICP备16014575号