Install and configure collabnetsubversion in Linux

Source: Internet
Author: User
Tags svn client

1. Install and modify Java JDK 1.6.0 _ 20 in Linux
Environment variable.

(Global variable: Add export java_home = To the end of VI etc/profile
/Home/Robert tkun/svnserver/jdk1.6.0 _ 21, and then run ". etc/profile"
Run the current script ..

Finally SHIFT +:, WQ exit VI (Q! Do not save and Exit)

Current User: VI. bashrc ))

After the installation and modification are completed, test:

$JAVA_HOME/bin/java -version
ok!
 
2. Unzip the CollabNetSubversionEdge-x.y.z_linux-x86.tar.gz
tar zxf CollabNetSubversionEdge-x.y.z_linux-x86.tar.gz 
Z is to compress X and decompress the f file. Zong Feng said, let's use it together .. Ga ga ..
A folder named "csvn" is created ..
The directory to which the package is extracted will be processed by yourself ..
 
3. Install csvn ..
$ cd csvn
$ sudo -E bin/csvn intall
ok!
 
4. Start csvn ..
$ Bin/csvn start .... After a cigarette .. OK!

After time-out is started, you can see that the user settings are incorrect .. Alas .. Ubuntu .. I really want to kill you ..
 
 
Robert tkun @ Robert tkun-Virtual-machine:/$ chown-r Robert tkun: Robert tkun/collbnet
 
5. Connect csvn ..
Address: http: // localhost: 3343/csvn (Change localhost to the IP address of the server)
Username: Admin
Password: Admin
The connection is successful, and the status of subversion satus is down. start it again ..
Two new links will appear below ..Repository parent:Http://robertkun-desktop.local: 18080/SVN/Browse repositories:Http://robertkun-desktop.local: 18080/viewvc/these two things are mainly used to view .. 6. Client connection... Download and install .. The CollabNetSubversion-client-1.6.13-1.win32.exe is run in command line mode .. It's awkward .. Do not understand .. Fainted. .. July October 13 was clear, and the original client was so easy to use... Directly connect to the svn client .. Another interesting thing is: permission settings for multiple users... Define repository access rules

Example 1:

[dev:/branches/components/xxx]
user1 = rw                                
user2 = r
user3 =    
 
Group

Example:

[groups]                                    
mgrs = user1, user2
                              
[dev:/tags]
* = r
@mgrs = rw
In Linux, SVN configuration is relatively simple... No challenge .. Sleep...

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.