Install Ubuntu eclipse SVN 1.6.x

Source: Internet
Author: User
Tags svn update
Install Ubuntu eclipse SVN 1.6.x


Environment: Ubuntu 9.04 eclipse Galileo
I. Install the svn Server
This is simple. Just run sudo apt-Get install subversion.

Ii. Install the svn plug-in Eclipse:

The best way to install subclipse is to use eclipse update manager. In eclipse Galileo, It is located under the help-> install new software menu.

Select search for the new
Function
Widget, click New remote site, enter http://subclipse.tigris.org in URL input box


/Update_1.6.x



Add a new remote site as a URL.

Select the correct one and install it. Then restart eclipse and you will see Svn in the menu bar.

This cannot be used at this time, because the server has not been configured

Iii. SVN Server Configuration

1. Enable the svn service: svnserve-d
Check whether the service is enabled: netstat-ntlp. If the port 3690 is enabled, it indicates that SVN is enabled.

2. Create a warehouse

Svnadmin create/var/svnrepos/
Theoretically, a repository can be created in any directory.

3. modify the configuration file/var/svnrepos/CONF/svnserve. conf.

Edit svnserve. conf to set anon-access = read, auth_access = write
Also, remove the comments of password-DB = passwd, and [general] (no comments by default ).
Note: When you remove comments, do not simply remove the previous #, and remove the leading space, otherwise, the format of the configuration file is incorrect in eclipse.

4. Modify the account file/var/svnrepos/CONF/passwd

[User]
Your_name = your_password the password is obviously not encrypted

5. An important step is to modify the permissions of the repository folder:

Sudo chmod-r o + RW/var/svnrepos/if this step is not performed, permission issues will occur in eclipse


6. Add the svn repository in the address format: SVN: // 127.0.0.1/var/snvrepos/
Note: This is a local test, but it cannot be written as localhost in 127.0.0.1. I used localhost in the first place. I have never been able to connect to it. I don't know if it is a bug in SVN. If it is remote, change 127.0.0.1 to the IP address of the server.

7. If you want to import the project to the warehouse, select a project in the directory, team --> share, and keep going.

If it is not a working copy, it does not matter, because you want to create it.
If you have encountered a permission problem here, please refer to the previous steps to modify the permission!

At this point, the installation is complete.

If you want to add a user when the svn service has been started, you need to update the user:

SVN update

You can use SVN help to find other commands.

Related Article

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.