SVN服务器搭建

  1. 打开putty工具进入linux系统登陆后输入以下命令以及修改相关内容:

    [root@xxx ~]# yum install subversion

    [root@xxx ~]#  mkdir -p /opt/svn

    [root@xxx ~]#  chmod -R 777 /opt/svn/

    [root@xxx ~]#  svnadmin create /opt/svn/repos

     [root@xxx ~]#     cd /opt/svn/repos/conf/

    [root@xxx ~]#  vi svnserve.conf

    

     [root@xxx ~]#  vi authz

    

     [root@xxx ~]#  vi passwd

    test = 123456

    test1 = 123456

    [root@xxx ~]#  svnserve -d -r /opt/svn/   

       

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

cd /opt/svn/repos/conf/

 

 

 

 

 

 

 

cd /opt/svn/repos/conf/

 

 

 

 

 

 

 

 

cd /opt/svn/repos/conf/

 

 

 

 

 

 

 

    

 

posted @ 2017-06-10 23:52  郭琦学习笔记  阅读(126)  评论(0)    收藏  举报