1Download and subversion edge
: Http://www.collab.net/svnedge
2. Subversion edge installation 2.1 Windows Installation
1. Install subversion edge
Run the executable file subversion edge 3.2.1 (Windows 32-bit) and install it on drive C by default.
2. Configure the Java environment variables (if Java and Python are not installed before subversion edge is installed, Java and python will be automatically installed during the installation of subversion edge .)
Java_home = c: \ ProgramFiles \ Java \ jdk1.7.0 _ 10
Class_home =.; % java_home % \ Lib \ tools. jar; % java_home % \ Lib \ DT. Jar
Add % java_home % \ bin in path;
2.2 Linux installation (centos5.8) 2.2.1 install Java and Python and set Environment Variables
Java installation (Root User ):
Step 1: Download the Java installation package jdk-6u38-linux-i586-rpm.bin
Step 2: Go to the Java package directory/usr/Java
Step 3:./jre-6u5-linux-i586.bin (Java installation)
Step 4: Set environment variables (environment variable setting path:/etc/profile)
Export java_home =/usr/Java/jdk1.6.0 _ 38/
Export class_home =.: $ java_home/lib/dt. jar: $ java_home/lib/tools. Jar
Export Path = $ java_home/bin: $ path
Step 5: restart the environment variable
Method 1: Execute the command:./etc/profile (Space Point file name)
Method 2: restart the Linux System
Python installation: (by default, the centos system comes with Python installation. This step can be omitted)
Decompress:
Bzip2 -dpython-2.6.4.tar.bz2
Tar xvf Python-2.6.4.tar
Configure./configure-Prefix =/opt/python3 (prefix sets the installation path)
Install make
Make install
2.2.2 install subversion edge
Avel downloads collabnetsubversionedge-3.2.20.linux-x86.tar.gz, decompress the compressed package to/opt/csvn (custom directory)
B.Normal userDecompress tar-zxf CollabNetSubversionEdge-3.2.1_linux-x86.tar.gz to the csvn directory
C.Normal userStart the service
Go to the csvn Directory: CD csvn
Start csvn service: Bin/csvn start
2.2.3 Create Symbolic Links and network links
Create a symbolic link:
After csvn is started, when you run the Subversion status, the Subversion service cannot run.
Solution:
1. Create a symbolic link
Ln-S/opt/csvn/data (in the root directory, the root user establishes a data connection to the root directory)
2. Restart the csvn service.
Establish network bridging:
1. Change the network connection mode to the Bridge Mode ()
2. Set IP addresses
After the IP address is set in system à administrator à Network à edit, active activation is required.
2.2.4 disable Firewall
Mutual access between the Intranet, firewall needs to be disabled
System-> administrator-> Security Level and firewall-> disabled-> OK
Installation configuration Manual: http://download.csdn.net/detail/nancy198696/4906796
How can I reset my admin password? #
Presumably your admin password has been changed to something else and you have forgotten it. The only way to reset this without deleting the database is to edit it directly (it's pretty easy ).
- Stop the Subversion edge service on Windows or run the $ bin/csvn Stop command on Linux/Solaris
- Find your install directory (eg, c: \ csvn). This will contain in a folder named data which contains a file named "csvn-production-hsqldb.script". Open this file in a text editor.
- Search for "'admin'" (with the single quotes) -- You shocould find a row that looks like this:
INSERT INTO USER VALUES(1,2,'admin user','admin@example.com',TRUE, '78989asdef7898abde4252aedcb4352','Super Administrator','admin')
- Replace the long encrypted password field ("789...") with this: 21232f297a57a5a743894a0e4a801fc3
- Save, and restart the Subversion edge service.
Admin/admin shoshould work after that.