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 rulesExample 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...