During the summer vacation, I changed a 40 gb ssd, ran two systems, and ran out of service. I mainly used some code resources and books to occupy the hard disk. So I configured SVN on the school server, in the future, the code will be passed on to cultivate your own version management habits. The following is the installation and configuration: refer to: Verify install subversion to test whether the installation is successful # svnserve -- version if the version information is displayed, it indicates that the installation is successful. If you want to configure it automatically, you can use composer. /Root/svn/repo is the path of the created warehouse, theoretically, it can be any directory 1. create a repository svnadmin create/home/svn/repo2 and modify the configuration file/home/svn/repo/conf/svnserve. conf # Remove # [general] # [general] # anonymous access permission, which can be read, write, none, the default value is readanon-access = none # authenticate the user's permissions, which can be read, write, or none. The default value is writeauth-access = write # Password Database path, remove the previous # password-db = passwd3 and modify the configuration file passwd. [Users] name = password4. Start the SVN server and run the svnserve-d-r/home/svn -- listen-host 192.168.1.16 command for a single code repository.-d indicates running in the background, -r specifies the root directory of the server, so that you can directly access the server using svn: // server ip address. If the server has multiple ip addresses, use listen-host to specify the ip address of the listener. we can access the svn server through svn: // 192.168.1.16 on the svn client. For Multiple code repositories, we can also use the-r option to specify the server root directory at startup, however, you need to write the relative path of Each repository relative to the svn root directory during access. for example, we have two code repositories:/home/repo1 and/home/repo2. We use svnserve-d-r/home -- listen-host 192.168.1.16 to start them, when accessing the client, you can use svn: // 192.168.1.16/repo1 and svn: // 192.168.1.16/repo2 to access two projects respectively. 5. Stop the SVN server. The default port killall svnservesvn is 3690, open this port on the firewall. /Sbin/iptables-a input-I eth0-p tcp -- dport 3690-j ACCEPT/sbin/service iptables save6, use the svn client to import the tortoisesvnlinux command of the windows Client