当前位置首页 > Linux知识

suselinux环境安装部署subvision

阅读次数:221 次  来源:admin  发布时间:

1. 下载subversion http://subversion.apache.org/download/

2. 解压缩tar -xvf ./subversion-1.7.2.tar.bz2

3.下载sqlite-amalgamation,解压缩后把sqlite3.c放到下面建的目录

mkdir sqlite-amalgamatio

chmod 777 ./sqlite-amalgamation/

4.编译、安装

/configure

make clea

make

make install

5. 添加保存版本库的路径

vnadmin 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时提示

vnserve.conf:27: Option expected

因为subversion读取配置文件svnserve.conf时,无法识别有前置空格的配置文件,需要删掉空格

7. 启动sv

vnserve -d -r /path_you_want_to_save/

-ef | grep svnserve

etstat -nalpt | grep svnserve

安装TortoiseSVN

来到任意空目录下运行右键->Checkout,在URL of repository中输入svn://xx.xx.xx.xx/trunk

不确定是否需要先右键Import

上一篇:apt-keyDebianpackages密钥管理命令
下一篇:在MacOSX中配置Apache+PHP+MySQL