SVN+Apache

1,安裝
yum -y install httpd subversion  mod_dav_svn
2.
上傳配置文件subversion.conf 到/etc/httpd/conf.d/
創建用戶: useradd svn
3.
修改httpd.conf配置文件
User svn
Group svn
4.
切換到svn用戶操作,去創建相關的配置文件
su - svn

mkdir conf
cd conf
htpasswd -c users  tom

vim authz
[groups]
wg=tom

[/]
@wg=rw
5.
創建一個版本庫
cd /home/svn
svnadmin create 1705A
6.
切回到root用戶重啓httpd
exit
systemctl stop firewalld
setenforce 0
systemctl restart httpd
7.瀏覽器訪問:http://IP:*.*.*.*/svn/1705A/
發佈了40 篇原創文章 · 獲贊 14 · 訪問量 1398
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章