To make my spare time professional, I used the PS3 in my house as the svn server for a long time. Article It has been misleading for a long time, and a deposit is kept.
If ora core 6 is installed with the server components, SVN should be available. If you are not sure:
$ Rpm-Q Subversion
In this case, you 'd better add a svn-specific user first:
$ Useradd svnroot
$ Passwd svnroot
Switch to the svnroot user, under the user directory
$ Svnadmin create./Repo
Switch to root and change the directory access permission
$ Chown-r svnroot: Daemon/Your/repo/path
This will create a database with a lot more files, ls to confirm:
$ Ls Repo
Conf/Dav/DB/format hooks/Locks/readme.txt
We don't need Apache, so we need to further configure the conf/svnserve. conf file. We need to set the permission and permission file. This can be referred to here in detail.
Then you need to compile the authz permission file and passwd password file, which is also a reference manual. Never trust some online documents, but it will make you more complicated.
Of course, your service will not be enabled by default. The official document says that it can be enabled in inetd mode, but I didn't succeed, so it was started in daemon mode used by people on earth.
Svnserve-d-r/home/svnroot/Repo
To confirm whether the operation is successful, Telnet yourserverip 3690 on your client.
(Success (1 2 (anonymous) (edit-pipeline )))
The SVN service is successfully started.
At this time, you can install the tortoisesvn Client for Windows. After the client is installed and restarted, directly press SVN: // yourserverip in the browser and enter the user name and password, you can see the svn directory structure. Import your items first and then checkout them out.
If you want to automatically start the svn service at each startup, edit/etc/init. d/SVN
#! /Bin/sh
# Subversion initialization routine
Svnserve-d-r/Your/repo/path
Then
$ Chmod 755/etc/init. d/SVN
$ Ln-S/etc/init. d/SVN/etc/RC.3/s60svn
$ Ln-S/etc/init. d/SVN/etc/rc.5/s60svn
Restart the instance.