suse linux环境安装部署subvision

1. 下载subversion http://subversion.apache.org/download/
2. 解压缩tar -xvf ./subversion-1.7.2.tar.bz2
3.下载sqlite-amalgamation,解压缩后把sqlite3.c放到下面建的目录
mkdir sqlite-amalgamation
chmod 777 ./sqlite-amalgamation/
4.编译、安装
/configure ;
make clean;
make;
make install;
5. 添加保存版本库的路径
svnadmin create /path_you_want_to_save
6. 修改版本库配置
vim /path_you_want_to_save/conf/passwd
添加用户名和密码 xxx_user = xxx_passwd
vim /path_you_want_to_save/conf/svnserve.conf
放开 password-db = passwd
注意删除前部空格,否则上传svn时提示
svnserve.conf:27: Option expected
因为subversion读取配置文件svnserve.conf时,无法识别有前置空格的配置文件,需要删掉空格
7. 启动svn
svnserve -d -r /path_you_want_to_save/
ps -ef | grep svnserve
netstat -nalpt | grep svnserve


安装TortoiseSVN
来到任意空目录下运行右键->Checkout,在URL of repository中输入svn://xx.xx.xx.xx/trunk
不确定是否需要先右键Import

posted on 2012-01-15 22:02  李玉龙  阅读(951)  评论(0编辑  收藏  举报

导航