1. Basic information
Subversion Edge is an integrated package of version control software that integrates three software including Subversion, Apache and ViewVC. Simple installation and convenient management.
Svn is a code version manager, which is intuitive and simple, and can also be used as a file server to store shared files.
Official website: http://subversion.apache.org/
Download link: http://pkg.collab.net/release/linux64/en/catalog.shtml
Two, installation and deployment
1. Install and configure JDK
reference:
https://blog.csdn.net/llwy1428/article/details/85232267
2. Create a directory
[root@localhost ~]# mkdir /opt/svn
[root@localhost ~]# cd /opt/svn
3. Download files
[root@localhost svn]# wget https://downloads-guests.open.collab.net/files/documents/61/17071/CollabNetSubversionEdge-5.2.0_linux-x86_64.tar.gz
4. Unzip the file
[root@localhost svn]# tar zxvf CollabNetSubversionEdge-5.2.0_linux-x86_64.tar.gz
5. Create new users and empower
[root@localhost ~]# useradd svn
[root@localhost ~]# chown svn:svn -R /opt/svn/*
6. Check the basic usage
[root@localhost ~]# /opt/svn/csvn/bin/csvn
Usage: bin/csvn [ console | start | stop | restart | condrestart | status | install | remove | dump ]
7. Switch users
[root@localhost ~]# su - svn
8. Start the service
[svn@localhost ~]$ /opt/svn/csvn/bin/csvn start
9. View the startup port
[svn@localhost ~]$ netstat -lntp
10. Browser view
Enter http://192.168.11.16:3343/ in the browser address bar ( 192.168.11.16 is the IP of my virtual machine)
Initial user password: admin/admin
11. System settings, password reset, user management, etc. can be set on the page
12. Repository creation and configuration, creating a repository "mysvn"
13. Perform basic settings for the service and reset the password
14. Start the repository service
15. View the repository
16. svn warehouse address
http://192.168.11.16:18080/svn/mysvn
So far, Centos7 Subversion Edge builds SVN and Web services, and the operation is complete!