Establish svn in ubuntu and remotely access tortise

Source: Internet
Author: User

To set up svn in ubuntu and use tortise for remote access, first prepare the software tools. Installing the software in Ubuntu is quite convenient. A sudo apt-get install subversion OK creates the repository folder: cd/home sudo mkdir svn sudo chown-R 777 svn sudo chmod-R 777 svnsudo chown-R 777 db (modify the database directory permission under svn) the last command of sudo chmod-R 777 db (modify the database directory permission under svn) grants the group members the corresponding permissions to all files added to the file warehouse. The permission should have been added to the corresponding group, but since it is the simplest method, it is omitted, create a repository sudo svnadmin create/home/svn and modify conf/svnserve under svn. remove the conf file # [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 = passwd and modify the configuration file passwd. Change it to [users] flyli = 123456, then start the svn service svnserve-d-r/home/svn, and finally import the svn project svn. import-m "New import"/home/test svn: // lo Calhost/svn: the projects in the/home/test folder are imported to svn, the-m parameter indicates that the message is the stuff that we can see when checking the svn log in the future. Then we can test sudo mkdir/home/svn_down cd/home/svn_down sudo svn co svn: // localhost/svn: Check whether the svn files have been downloaded? In windows, tortiseSVN is installed, and the checkout Code address is svn: // ip/svn (repository name). I wish you a successful configuration.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.