Chinaunix首页 | 论坛 | 博客
  • 博客访问: 175970
  • 博文数量: 39
  • 博客积分: 2771
  • 博客等级: 少校
  • 技术积分: 310
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-20 10:29
文章分类

全部博文(39)

文章存档

2012年(1)

2011年(9)

2010年(1)

2009年(5)

2008年(23)

我的朋友

分类: 系统运维

2011-08-19 13:25:35

[root@webserver soft]# tar jxvf subversion-1.6.12.tar.bz2

[root@webserver soft]# tar jxvf subversion-deps-1.6.12.tar.bz2

[root@webserver soft]# cd subversion-1.6.12

[root@webserver subversion-1.6.12]# ./configure --prefix=/usr/local/svn

[root@webserver subversion-1.6.12]# make && make install

[root@webserver subversion-1.6.12]# vim /etc/profile

export PATH=$PATH:/usr/local/svn/bin

[root@webserver subversion-1.6.12]# source /etc/profile

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

[root@dns2 subversion-1.6.16]# svnadmin create /opt/svn/phpcms/

[root@webserver ~]# cd /opt/svn/phpcms/

[root@webserver phpcms]# ls

conf  dav  db  format  hooks  locks  README.txt

[root@webserver phpcms]# cd conf

[root@webserver conf]# ls

authz  passwd  svnserve.conf

[root@webserver conf]# vim svnserve.conf

[general]

anon-access = none

auth-access = write

password-db = passwd

authz-db = authz

[root@webserver conf]# vim authz

[groups]

[phpcms:/]

markgeng = rw

[root@webserver conf]# vim passwd

[users]

# harry = harryssecret

# sally = sallyssecret

phpcms = phpcms!@#

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

[root@webserver ~]# netstat -an |grep 3690

tcp        0      0 :::3690                     :::*                        LISTEN     

阅读(1187) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~