1. Download the Subversion http://subversion.apache.org/download/
2. Decompress tar-xvf./subversion-1.7.2.tar.bz2
3. Download SQLite-amalgamation, decompress the package, and put sqlite3.c to the directory created below.
Mkdir SQLite-Amalgamation
Chmod 777./SQLite-amalgamation/
4. Compile and install
/Configure;
Make clean;
Make;
Make install;
5. Add the path to save the version Library
Svnadmin create/path_you_want_to_save
6. Modify version library Configuration
Vim/path_you_want_to_save/CONF/passwd
Add username and password xxx_user = xxx_passwd
Vim/path_you_want_to_save/CONF/svnserve. conf
Open password-DB = passwd
Delete leading space. Otherwise, the system prompts when uploading SVN.
Svnserve. conf: 27: Option expected
This is because when the Subversion reads the configuration file svnserve. conf, it cannot identify the configuration file with leading spaces. You need to delete spaces.
7. Start SVN
Svnserve-d-r/path_you_want_to_save/
PS-Ef | grep svnserve
Netstat-nalpt | grep svnserve
Install tortoisesvn
Right-click any empty directory and choose checkout. In the URL of repository, enter SVN: // xx. xx/trunk.
Are you sure you want to right-click Import?