Subversion installation note-Linux Enterprise Application-Linux server application information. For details, refer to the following section. To make my spare time professional, I used the PS3 in my house as the svn server for a long time. It was a very simple thing that had been misled by online articles for a long time, now you have a deposit card.
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
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service