如何在CentOS 7中安装Git

如题所述

很高兴为您解答;
1、开始在CentOS 7中安装Subversion
2、加配置文件到Apache
3、创建SVN用户

[root@linuxidc-centos7 ~]# htpasswd -cm /etc/svn-auth-users testuser1
New password:
Re-type new password:
Adding password for user testuser1
[root@linuxidc-centos7 ~]#
4、创建和配置SVN仓库
5、你可以用这种方式–HTTP和HTTPS

firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload
6、启用并启动HTTP服务
systemctl enable httpd.service
systemctl restart httpd.service
7、加入下面这个到conf/svnserve.conf

anon-access = none
auth-access = authz
8、branches&tags&trunk模式下建svn库
望采纳 谢谢
温馨提示:答案为网友推荐,仅供参考
相似回答