subversionlinux安装
㈠ 如何在linux上安装svn服务器
你好,centos下安装 svn 1.9.5 按照步骤一步一步装就OK 。以下是我的步骤。分享给你
安装1.9
准备工作:
1、安装编译工具包
yum install apr* autoconf automake bison bzip2 cloog-ppl compat* cpp curl curl-devel fontconfig fontconfig-devel freetype freetype* freetype-devel gcc gcc-c++ gtk+-devel gd gettext gettext-devel glibc kernel kernel-headers keyutils keyutils-libs-devel krb5-devel libcom_err-devel libpng* libjpeg* libsepol-devel libselinux-devel libstdc++-devel libtool libtool* libgomp libxml2 libxml2-devel libXpm* libtiff libtiff* libX* make mpfr ncurses* ntp openssl openssl-devel patch pcre-devel perl php-common php-gd policycoreutils ppl telnet t1lib t1lib* nasm nasm* wget zlib-devel zlib unzip perl-ExtUtils-Embed
2、yum remove apr apr-util subversion subversion-libs #删除系统中原有的svn及依赖包
3、下载软件包
https://dist.apache.org/repos/dist/release/apr/apr-1.5.2.tar.gz
https://dist.apache.org/repos/dist/release/apr/apr-util-1.5.4.tar.gz
http://prdownloads.sourceforge.net/scons/scons-2.3.5.tar.gz
http://www.openssl.org/source/openssl-1.0.1o.tar.gz
https://www.apache.org/dist/serf/serf-1.3.9.tar.bz2
http://www.apache.org/dist/subversion/subversion-1.8.13.tar.gz
http://www.sqlite.org/2017/sqlite-amalgamation-3160200.zip
1、安装apr
cd /usr/local/src #进入软件包存放目录
tar zxvf apr-1.5.2.tar.gz #解压
cd apr-1.5.2 #进入安装目录
./configure --prefix=/usr/local/apr #配置
make #编译
make install #安装
2、安装apr-util
cd /usr/local/src
tar zxvf apr-util-1.5.4.tar.gz
cd apr-util-1.5.4
./configure --with-apr=/usr/local/apr/bin/apr-1-config
make && make install
3、安装scons
cd /usr/local/src
tar zxvf scons-2.3.5.tar.gz
cd scons-2.3.5
python setup.py install #配置安装
4、安装openssl
cd /usr/local/src
tar zxvf openssl-1.0.1o.tar.gz
cd openssl-1.0.1o
CFLAGS=-fPIC ./config --prefix=/usr/local/openssl enable-shared
make && make install
vi /etc/profile #添加系统环境变量
export PATH=$PATH:/usr/local/openssl/bin >> /etc/profile
#export PATH=$PATH:/usr/local/openssl/bin >> /etc/profile
:wq! #保存退出
source /etc/profile #使配置生效
ln -s /usr/local/openssl/include/openssl /usr/include/openssl #添加系统软连接
5、安装serf
cd /usr/local/src
tar -xf serf-1.3.9.tar.bz2
cd serf-1.3.9
scons PREFIX=/usr/local/serf APR=/usr/local/apr/bin/apr-1-config APU=/usr/local/apr/bin/apu-1-config OPENSSL=/usr/local/openssl
scons install
cd /usr/local/serf/lib
cp libserf-1.so* /usr/local/lib/ #拷贝文件到系统目录
6、安装svn
cd /usr/local/src
tar zxvf subversion-1.9.5.tar.gz
cd subversion-1.9.5
mkdir /usr/local/src/subversion-1.9.5/sqlite-amalgamation #创建sqlite-amalgamation目录
cd /usr/local/src
unzip sqlite-amalgamation-3160200.zip -d /usr/local/src/subversion-1.9.5/sqlite-amalgamation
mv /usr/local/src/subversion-1.9.5/sqlite-amalgamation/sqlite-amalgamation-3160200/* /usr/local/src/subversion-1.9.5/sqlite-amalgamation
#解压sqlite-amalgamation软件包到sqlite-amalgamation目录
cd /usr/local/src/subversion-1.9.5
./configure --prefix=/usr/local/svn --with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr/bin/apu-1-config --with-serf=/usr/local/serf --with-openssl=/usr/local/openssl --enable-mod-activation #配置
make #编译
make install #安装
vi /etc/profile #添加系统环境变量,添加到最后一行
export PATH=$PATH:/usr/local/svn/bin
:wq! #保存退出
source /etc/profile #使配置立刻生效
whereis libexpat.so.1 #查找文件安装目录,如下:
libexpat.so: /lib/libexpat.so.0 /usr/local/lib/libexpat.so /usr/local/lib/libexpat.so.1
vi /etc/ld.so.conf #编辑加入libexpat.so.1的目录
/usr/local/lib/
:wq! #保存退出
ldconfig #使配置生效
㈡ 如何在CentOS 7中安装Subversion
SVN是Subversion的简称,是一个开放源代码的版本控制系统,相较于RCS、CVS,它采用了分支管理系统,它的设计目标就是取代CVS。说得简单一点SVN就是用于多个人共同开发同一个项目,共用资源的目的。SVN是一个安全虚拟网络系统,它将系统整体的信息安全功能均衡合理地分布在不同的子系统中,使各子系统的功能得到最大限度的发挥,子系统之间互相补充,系统整体性能大于各子系统功能之和,用均衡互补的原则解决了"木桶原理"的问题。使用root帐户登录服务器,安装SVN服务:#yum install subversionk //安装svn#svnserve --version //查看SVN版本#mkdir svn //创建目录#mkdir project #svnadmin create /home/svn/rep/3.cdconf 在passwd文件中添加用户4.修改配置文件修改authz文件,添加用户目录权限。修改文件svnserve.confanon-access = read #匿名用户可读 none 无权限auth-access = write #授权用户可写password-db = /home/svn/rep/conf/passwd #使用哪个文件作为账号文件authz-db = /home/svn/rep/conf/authz #使用哪个文件作为权限文件realm = /home/svn/rep # 认证空间名,版本库所在目录5. 访问svn路径svn://192.168.0.110如果访问不到,可以试试关闭防火墙:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动svnserve -d --listen-port 3690 -r /home/svn/rep原文来自:
㈢ 如何在linux上安装svn1.8.11
1、安装如果有yum,则很简单,安装两个包就可以了yum install subversion.x86_64yum install subversion-devel.x86_64如果是源码包,则需要补全,比较复杂,apr-1.2.8.tar.gz apr-util-1.2.8.tar.gz BerkeleyDB4.0.14
㈣ 如何在CentOS 7中安装Subversion
安装背景 :CPU32 bit,CentOS 6.4版本,openERP7.0,linux shell为bash,PostgreSQL9.2
CentOS 的安装选项有最小化安装、基本服务器安装、虚拟主机安装等等的,这里采用的是基本服务器安装。
2、安装postgresql9.2
如果有其他版本的pgsql的话,可以通过命令卸载 #yum remove postgres
#su root 用root用户来安装, 中间会切换用户!
#mkdir /tmp
#cd /tmp 这是系统的临时目录,里面的文件不重要,即使误删危害也不大,所以推荐在tmp目录下做临时性操作
#rpm -Uvh http://yum.pgrpms.org/9.2/redhat/rhel-6-i386/pgdg-centos92-9.2-6.noarch.rpm
64bit的cpu 请用下面的rpm
#rpm -Uvh http://yum.pgrpms.org/9.2/redhat/rhel-6-x86_64/pgdg-centos92-9.2-6.noarch.rpm
#yum -y install postgresql92 postgresql92-server postgresql92-libs postgresql92-contrib postgresql92-devel //使用yum安装相关依赖包
#service postgresql-9.2 initdb //初始化pg数据库
#service postgresql-9.2 start //启动pg服务
#chkconfig postgresql-9.2 on //将pg启动服务加入CentOS的启动列表,相当于windows里面的启动项
#su – postgres //切换到postgres用户,该用户为安装pg时安装包自动创建的,它是pg默认的超级用户,在该用户环境下有一些管理命令
-bash-4.1(postgres)$createuser –superuser openerp //创建一个叫openerp的超级用户(此时创建的用户只是数据库的用户,openerp在操作系统中并不存在,请注意其中的区别)
3.安装openerp
#rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm //从网络上安装epel包, 32bit的就安装这个
#rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm//,x86_64版本的
请安装后面这个
#su root //切换回root
#yum -y install python-psycopg2 python-lxml PyXML python-setuptools libxslt-python pytz python-matplotlib python-babel python-mako python-dateutil python-psycopg2 pychart pydot python-reportlab python-devel python-imaging python-vobject hippo-canvas-python mx python-gdata python-ldap python-openid python-werkzeug python-vatnumber pygtk2 glade3 pydot python-dateutil python-matplotlib pygtk2 glade3 pydot python-dateutil python-matplotlib python python-devel python-psutil python-docutils makeautomake gcc gcc-c++ kernel-devel byacc flashplugin-nonfree poppler-utils pywebdav //安装OE依赖的库,大部分都是python库,也有一部分其他依赖库
wget http://gdata-python-client.googlecode.com/files/gdata-2.0.17.zip
#unzip gdata-2.0.17.zip
#cd gdata-2.0.17
#python setup.py install
#cd /tmp
#rm -rf openerp* //清理不用的旧的openerp开头的所有文件(慎用)
#wget http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz //下载OE源代码包,准备安装
#tar xvzf openerp-7.0-latest.tar.gz //解压OE源代码包
#mkdir /opt/oe7
#cp -R openerp*/{openerp,install/{openerp-server.init,openerp-server.conf},openerp-server,setup.py} /opt/oe7 //将我们需要的文件拷贝到安装目录
#adser openerp //创建openerp用户,它与postgres创建的openerp是关联的
#chown openerp:openerp /opt/oe7 -R //将OE安装目录下的所有文件所有者设定为openerp用户
#cd /opt/oe7
#chmod u+x openerp-server.init //.init文件是oe的一个启动脚本,需要给它设置可执行权限
#mv openerp-server.init /etc/init.d/oe7server
#chkconfig oe7server on //将oe加入CentOS启动列表
#cp openerp-server.conf /etc //将OE的配置文件拷贝到/etc目录下,如果想自定义配置文件路径可以通过给openerp-server设置选项或者修改openerp-server.init文件里面的路径来实现,这里采用的方法不用做修改,较为简单
//到这里OE基本上安装完成了,但是启动的时候会报错,主要是仍旧缺少一些依赖包
#cd /opt/oe7
#python setup.py install //这个安装程序会自动从网上下载需要的依赖包,并且会创建一些目录,我们只需要保留openerp.egg-info目录,如果删除该目录,OE启动会有警告信息
#adser openerp
#chown openerp:openerp /opt/oe7 -R //将OE安装目录的所有者递归授予openerp
#service oe7server start //启动OE,
报错,原因是执行 /etc/init.d/oe7server的时候,找不到pid文件,用文本编辑器打开/etc/init.d/oe7server
查看下,发现是PIDFILE=/var/run/openerp/openerp-server.pid 这行引起的,
那就 用文本编辑器建立一个空的文件,并命名为openerp-server.pid,
放到指定的目录/var/run/openerp/下面,如果没有相应的目录,手动创建就可以了。
#chmod 755 openerp-server.pid //修改读写权限
#service oe7server restart
浏览器中输入127.0.0.1:8069 试试看是不是可以了看到openerp的登陆画面了。
㈤ 如何在Suse10上安装Subversion步骤详解
以前svn的服务器一直在windows环境下安装,按照官方提供的安装方法,很容易就安装成功。近日,由于开发需要,要求在linux上安装,本以为安装过程会像windows下那么容易,没相当实现过程是相当坎坷。赶紧抽时间将这个过程记录下来,以备日后不时之需,同时也为遇到相同问题的朋友提供一些经验和教训。
软件版本:
subversion-1.4.0
解包
我采用的是源码安装,源文件为subversion-1.4.0.tar.tar和subversion-deps-1.4.0.tar.gz。输入命令:
tar–xvfsubversion-1.4.0.tar.tar
tar–xvfsubversion-deps-1.4.0.tar.gz
其中,subversion-deps-1.4.0.tar.gz解开之后,会在subversion-1.4.0目录下,增加apr、apr-util、neon和zlib几个安装中必须的库文件。
gcc安装
由于安装Suse时并没有安装gcc,所以整个安装过程颇费周折。
在安装gcc-4.1.0-28.4.i586.rpm之前,需要安装cpp-4.1.0-28.4.i586.rpm、binutils-2.16.91.0.5-23.4.i586.rpm和glibc-devel-2.4-31.2.i586.rpm。不过,最好是在安装系统之初就将gcc安装好,避免不必要的麻烦。
zlib问题
在Suse10上安装Subversion时会遇到zlib问题。gcc安装完毕以后,对源码进行configure操作:./configure–prefix=/opt/svn
但是配置并没有成功,在最后提示:
checkingzlib.husability...no
checkingzlib.hpresence...no
checkingzlib.h...no
configure:error:subversionrequireszlib
通过./configure–help查看其用法,使用命令:
./configure–prefix=/opt/svn–with-zlib
但是仍然找不到zlib。千辛万苦goolge来一篇文章,按照提示,终于解决zlib的问题:
1)cdsubversion-1.4.3/zlib
2)./configure--shared
3)make
4)cd..
5)./configureCPPFLAGS="-Izlib/-Lzlib/"
6)make
Make&&makeinstall之后,svn就成功安装到/opt/svn目录下了。
配置路径
在etc/profile中加入:PAHT=$PATH;/opt/svn/bin
创建版本库
在安装Subversion时需要创建版本库。输入命令:
svnadmincreate/home/RepositoryLib
在/home/RepositoryLib目录下成功创建了版本库RepositoryLib。然后就可以对该版本库进行相应的配置了。
启动版本库
输入命令:svnserve-d-r/home/RepositoryLib
最后成功启动版本库。本节讲解Suse10上安装Subversion完毕。
㈥ linux 安装svn 需要jdk么
linux 安装svn不需要jdk。
下面完整介绍linux安装独立的svn服务器
svn存储版本数据有2种方式,因为BDB方式在服务器中断时,有可能锁住数据,所以还是FSFS方式更安全一点。
在linux命令行输入:
wget http://subversion.tigris.org/downloads/subversion-1.6.6.tar.gz
wget http://subversion.tigris.org/downloads/subversion-deps-1.6.6.tar.gz
这是下载svn服务安装需要的文件,下载完即可解压
tar zxvf subversion-1.6.6.tar.gz
tar zxvf subversion-deps-1.6.6.tar.gz
解压后生成 subversion-1.6.6 子目录,两个压缩包解压后都会自动放到此目录下,不用手动更改。
首先检测系统有没有安装SSL:
find / -name opensslv.h
如果找不到,就执行如下命令进行安装:
yum install openssl
yum install openssl-devel
安装之后用find / -name opensslv.h命令找到opensslv.h所在的目录,即下列–with-openssl=后面的路径进入解压子目录cd subversion-1.6.6 进行编译。
./configure --prefix=/usr/local/svn --with-openssl=/usr/include/openssl
--without-berkeley-db
如果编译时报如下错误:
no acceptable C compiler found in $PATH
说明没有gcc库,使用如下命令安装gcc后再编译:
yum -y install gcc输入命令进行安装
make
make install
测试是否安装成功:
/usr/local/svn/bin/svnserve --version
如显示如下,则证明安装成功
svnserve, version 1.6.6 (r40053)
compiled Dec 25 2015, 13:14:38
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This proct includes software developed by CollabNet
(http://www.Collab.Net/).
The following repository back-end (FS) moles are available:
* fs_fs : Mole for working with a plain file (FSFS) repository.
Cyrus SASL authentication is available.
㈦ linux下安装subversion时,svnadmin create出现错误提示:svnadmin: SQLite编译为3.5.9,但运行于3.3.6 这
貌似是你版本不一致导致。请统一编译的环境。你的svnadmin在编译的时候连接的SQLite动态或者静态库应该是3.5.95版本的。但是你目前系统上用的版本是3.3.6的。版本不同,库可能会有所改动。
建议你升级本系统的SQLite到3.5.95
哈哈,去试试吧,好使的话记着回来哈
㈧ linux安装subversion1.8怎么还显示老版本
查看版本:svn --version
查看文件或目录状态:
svn status -v path(显示文件和子目录状态)
第一列保持相同,第二列显示工作版本号,第三和第四列显示最后一次修改的版本号和修改人。
注:svn status、svn diff和 svn revert这三条命令在没有网络的情况下也可以执行的,原因是svn在本地的.svn中保留了本地版本的原始拷贝。
简写:svn st
如果有什么Linux问题的话,建议先网络一下,或者加入一些Linux论坛社区、群等,一般会有很多人帮助你的,建议你去“Linux就该这么学”看看,蛮不错的一个站。
㈨ 如何在CentOS 7中安装Subversion
Apache Subversion(简称SVN,svn),一个开放源代码的版本控制系统,相较于RCS、CVS,它采用了分支管理系统,它的设计目标就是取代CVS。互联网上很多版本控制服务已从CVS转移到Subversion。
下面讲解下如何在CentOS 7中安装Subversion的详细过程。
1、开始在CentOS 7中安装Subversion
yum install mod_dav_svn subversion
示例输出:
=====================================================
Package Arch Version Repository Size
=====================================================
Installing:
mod_dav_svn x86_64 1.7.14-6.el7 base 101 k
subversion x86_64 1.7.14-6.el7 base 1.0 M
Installing for dependencies:
apr x86_64 1.4.8-3.el7 base 103 k
apr-util x86_64 1.5.2-6.el7 base 92 k
httpd x86_64 2.4.6-18.el7.centos updates 2.7 M
httpd-tools x86_64 2.4.6-18.el7.centos updates 77 k
mailcap noarch 2.1.41-2.el7 base 31 k
neon x86_64 0.30.0-3.el7 base 165 k
pakchois x86_64 0.4-10.el7 base 14 k
subversion-libs x86_64 1.7.14-6.el7 base 921 k
Transaction Summary
=====================================================
2、加配置文件到Apache
LoadMole dav_svn_mole moles/mod_dav_svn.so
LoadMole authz_svn_mole moles/mod_authz_svn.so
<Location /svn>
DAV svn
SVNParentPath /var/www/linuxidcsvn
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile /etc/svn-auth-users
Require valid-user
</Location>
3、创建SVN用户
[root@linuxidc-centos7 ~]# htpasswd -cm /etc/svn-auth-users testuser1
New password:
Re-type new password:
Adding password for user testuser1
[root@linuxidc-centos7 ~]#
4、创建和配置SVN仓库
mkdir /var/www/linuxidcsvn
cd /var/www/linuxidcsvn
svnadmin create repo
chown -R apache.apache repo
# If you still have issues with SELinux Security please apply this:
chcon -R -t httpd_sys_content_t /var/www/linuxidcsvn/repo
chcon -R -t httpd_sys_rw_content_t /var/www/linuxidcsvn/repo
5、你可以用这种方式–HTTP和HTTPS
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload
6、启用并启动HTTP服务
systemctl enable httpd.service
systemctl restart httpd.service
启动时候失败,
#journalctl -xn
Jun 01 10:41:57 iZ9 httpd[26217]: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib64/httpd/moles/mod_dav_svn.so into server: /usr/lib64/httpd/moles/mod_dav_svn.so: undefined symbol: dav_do_find_liveprop
Jun 01 10:41:57 iZ9 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jun 01 10:41:57 iZ9 kill[26218]: kill: cannot find process ""
Jun 01 10:41:57 iZ9 systemd[1]: httpd.service: control process exited, code=exited status=1
Jun 01 10:41:57 iZ9 systemd[1]: Failed to start The Apache HTTP Server.
是由于缺少apache的 mod_dav.so
添加:LoadMole dav_mole moles/mod_dav.so
重启后,http://****/svn/repo/为svn根目录地址
如何在CentOS 7中安装Subversion
7、加入下面这个到conf/svnserve.conf
anon-access = none
auth-access = authz
8、branches&tags&trunk模式下建svn库
mkdir -p /tmp/svn-structure-template/{trunk,branches,tags}
svn import -m "Initial repository" /tmp/svn-structure-template file:///var/www/linuxidcsvn/repo/
Adding /tmp/svn-structure-template/branches
Adding /tmp/svn-structure-template/tags
Adding /tmp/svn-structure-template/trunk
Committed revision 1.
如何在CentOS 7中安装Subversion
OK。
CentOS 6 编译安装Subversion-1.8.10+Apache2.4 http://www.linuxidc.com/Linux/2015-02/113177.htm
Linux中Subversion配置实例 http://www.linuxidc.com/Linux/2012-02/53109.htm
CentOS 6.2 SVN搭建 (YUM安装) http://www.linuxidc.com/Linux/2013-10/91903.htm
Apache+SVN搭建SVN服务器 http://www.linuxidc.com/Linux/2013-03/81379.htm
Windows下SVN服务器搭建和使用 + 客户端重新设置密码 http://www.linuxidc.com/Linux/2013-05/85189p5.htm
Ubuntu Server 12.04 安装 SVN 并迁移 Virtual SVN数据 http://www.linuxidc.com/Linux/2013-05/84695.htm
Ubuntu Server搭建svn服务以及迁移方法 http://www.linuxidc.com/Linux/2013-05/84693.htm
㈩ 怎么在linux服务器上部署svn
1. 安装SVN服务器:
检查是否已安装
# rpm -qa subversion
安装SVN服务器
# yum install httpd httpd-devel subversion mod_dav_svn mod_auth_mysql
验证安装
# cd /etc/httpd/moles
# ls | grep svn
mod_authz_svn.so
mod_dav_svn.so
查看版本
# svnserve --version
2. 代码库创建:
安装完成后要建立SVN库
# mkdir -p /opt/svn/repositories
# svnadmin create /opt/svn/repositories
执行后,自动建立repositories库,查看/opt/svn/repositories文件夹包含了conf,db,format,hooks,locks,README.txt等文件,说明一个SVN库已经建立。
3. 配置版本库:
进入上面conf文件夹下,进行配置:
a. 用户密码passwd配置:
# vi + passwd //+表示光标放在文件最低端
修改passwd为一下内容:
[users]
# harry = harryssecret
# sally = sallyssecret
zhoulf=123456
b. 权限控制authz配置:
# vi + authz
设置哪些用户可以访问哪些目录,向authz文件追加以下内容:
[/]
zhoulf=rw //给该用户访问所有库的权限
或
[repositories:/project] //repository库的根目录权限
zhoulf=rw
/ 表示根目录及以下,根目录是svnserve启动时指定的,我们指定的是/opt/svn;/ 就是指对全部版本库都具有权限
repositories:/ 表示对库repositories的根目录设置权限
PS:
* 权限配置文件中出现的用户名必须已在用户配置文件中定义。
* 对权限配置文件的修改立即生效,不必重启svn。
c. 服务svnserve.con配置:
# vi + svnserve.conf
添加一下内容:
[general]
#匿名访问的权限,可以是read,write,none,默认为read
anon-access=none
#使授权用户有写权限
auth-access=write
#密码数据库的路径
password-db=passwd
#访问控制文件
authz-db=authz
#认证命名空间,subversion会在认证提示里显示,并且作为凭证缓存的关键字
realm=/opt/svn/repositories
这里注意各标签不能错,也不能有重复,不然无法连接。
d. 配置防火墙端口(如果需要):
不一定每个人都需要设置,可以先测试后再看是否需要打开端口
# vi /etc/sysconfig/iptables
添加一下内容:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 3690 -j ACCEPT
保存后重启防火墙
# service iptables restart
4. 查看:
a. 启动SVN
# svnserve -d -r /opt/svn/repositories
b. 查看SVN进程
# ps -ef|grep svn|grep -v grep
root 12538 1 0 14:40 ? 00:00:00 svnserve -d -r /opt/svn/repositories
c. 检测SVN端口
# netstat -ln |grep 3690
tcp 0 0 0.0.0.0:3690 0.0.0.0:* LISTEN
5. 停止重启SVN:
# killall svnserve //停止
# svnserve -d -r /opt/svn/repositories // 启动
6. 测试连接:
使用TortoiseSVN进行测试:
1. SVN服务启动后,需要使用客户端测试连接:
客户端连接地址:svn://192.168.15.231;然后,输入用户名密码;
2. 新建一个文件夹,即本地的库文件夹,右键checkout,将会得到一个隐藏文件夹.svn;
3. 在此文件夹中放入项目内容,然后右键点击commit,就可以上传本地项目了。