标签:简单 设置 style cenos 6.5 ons tar epo pre cal
cenos 6.5,svnserver 1.6.11
默认可能已经安装,没有的话就:
yum install svn -y
svnserver --version
创建一个svn仓库:
svnadmin create /root/myrepo/
配置这个仓库(这里简单设置为匿名可写),vi /root/myrepo/conf/svnserve.conf
[general]
anon-access = write
配置svnserver,vi /etc/sysconfig/svnserve
OPTIONS=" -d --listen-port 9999 -r /root/myrepo"
启动svnserver
/etc/init.d/svnserve start
用svn操作下
svn mkdir -m ‘my dir‘ svn://localhost:9999/my svn co svn://localhost:9999/my cd my/ touch 1.txt svn add 1.txt svn ci -m ‘添加一个文件1.txt‘ svn delete -m ‘delete my dir‘ svn://localhost:9999/my
over
标签:简单 设置 style cenos 6.5 ons tar epo pre cal
原文地址:http://www.cnblogs.com/toSeek/p/6229741.html