Install and configure the SVN server under CentOS5.2
Source: Internet
Author: User
In CentOS5.2, the SVN server is installed and configured. This article is not integrated with Apache. The process is as follows: 1. download the relevant software: [root @ youxia201test] # wgethttp: // subversion.tigris.org/downloads/subversion-1.6.1.tar ....
The SVN server is installed and configured on the SVN server in CentOS 5.2. This article is not integrated with Apache. The process is as follows: 1. download the relevant software: [root @ youxia201 test] # wget http://subversion.tigris.org/downloads/subversion-1.6.1.tar.gz [Root @ youxia201 test] # wget http://subversion.tigris.org/downloads/subversion-deps-1.6.1.tar.gz Www.2cto.com 2. installation and configuration: 1. unzip the package. the package must be in the same directory: [root @ youxia201 opt] # tar-zxvf subversion-1.6.1.tar.gz [root @ youxia201 opt] # tar-zxvf subversion-deps-1.6.1.tar.gz 2, compilation and installation: [root @ youxia201 subversion-1.6.1] #. /configure -- prefix =/usr/local/svn/[root @ youxia201 subversion-1.6.1] # make & make install 3: Add svn-related commands to environment variables: [root @ youxia201 subversion-1.6.1] # echo "export PATH = $ PATH:/usr/local/svn/bin/">/etc/profile [Root @ youxia201 subversion-1.6.1] # source/etc/profile [root @ youxia201 subversion-1.6.1] # svnsvn svnadmin svndumpfilter svnlook svnserve svnsync svnversion 3. create a test repository: 1, create the SVN root directory. the R & D center has multiple project departments: [root @ youxia201 subversion-1.6.1] # mkdir-p/opt/svn/www.2cto.com 2. create a test warehouse: [root @ youxia201 subversion-1.6.1] # mkdir-p/opt/svn/svntest/[root @ youxia201 subversion-1.6.1] # svnadmin create/opt/svn/svntest/3, repair Modify the configuration file: [root @ youxia201 svntest] # cd/opt/svn/svntest/conf/[root @ youxia201 conf] # ll total 24-rw-r -- r -- 1 root 710 08-25 authz- rw-r -- 1 root 325 08-25 passwd-rw-r -- 1 root 1449 08-25 svnserve. conf [root @ youxia201 conf] # vi svnserve. conf [general] anon-access = noneauth-access = writepassword-db = passwdauthz-db = authz [root @ youxia201 conf] # vi authz [svntest:/] lipeng = Rw # Add a user named Li Peng to the svntest warehouse with the write permission. Www.2cto.com [root @ youxia201 conf] # vi passwdlipeng = 123456 # because the password is tested and set to 123456, install the svn client on Windows XP: 1 ,: http://code.google.com/p/rails4scm/downloads/detail?name=tortoisewin32svn.msi 2. after the download is complete, directly install the tool next. after the installation is complete, restart the tool to take effect. V. start the server and test: 1. start the SVN service and specify the SVN root directory: [root @ youxia201 test] # svnserve-d-r/opt/svn/2, the service is working properly: [root @ youxia201 test] # netstat-tunlp | grep svntcp 0 0 0.0.0.0: 3690 0.0.0.0: * LISTEN 8646/svnserve 3, test: create a directory named svntest on the desktop, right-click the directory, and select Checkout, enter the svn server IP address and repository name www.2cto.com in the first line and enter the user name and password.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service