Deploy CSVN server in CentOS6.7

Source: Internet
Author: User

Deploy CSVN server in CentOS6.7

Requirement: Build an intranet svn server with a web management interface.

I read some blogs on the Internet and found the csvn version control tool, which I personally feel very useful. So I sorted out the setup steps for your reference.

Components required by the server: installation can be minimized (for test), and components must be: Installation

(Click here to download the two software packages above)

Step 1: Upload the two software packages to the/opt directory of the server. Step 2: export mvjdk1.8.0 _ 91 // usr/local/vi/etc/profile #### Add the following three lines: exportJAVA_HOME =/usr/local/jdk1.8.0 _ 91 exportPATH = $ JAVA_HOME/bin: $ PATHexportCLASSPATH =.: $ JAVA_HOME/lib/dt. jar: $ JAVA_HOME/lib/tools. jarsource/etc/profilejava-version # check that the java version is 1.8step3: javasmkdir/applicationmvcsvn // application/useraddcsvnpasswd csvnchown-Rcsvn: csvn/application/vim/etc/sudoers #### Add the following line so that csvn can use sudocsvnALL = (ALL) ALLln-s/application/csvn/bin/csvn/etc/csvnln-s/application/csvn-httpd/etc/csvn-httpd start the service: csvn-httpdservice csvn startservice csvn-httpd start http://ip:3343/csvn By default, the user name and password are admin. Appendix 1: http://www.collab.net/downloads/subversion Csvn official Appendix 2: svn common operation commands svn co http://192.168.188.216:18080/svn/scripts Scripts -- username = admin # example of checkout code from svn: execute this command cd/svntestsvn co on a server http://192.168.188.216:18080/svn/scripts Scripts -- username = admin # The first time you need to enter the password, generate the/scripts directory cd/scriptstouch a ### create a file asvn add a ### add asvn to svn ci-m "add a" ### submit to svnsvn del a ### Delete asvn ci-m "del a" ### submit to svn

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.