I. Introduction to the environment
Operating system version: CentOS Linux release 7.2.1511 (Core)
Eclipse version:eclipse-cpp-oxygen-m2-linux-gtk-x86_64
Subclipse version:4.2.0
SVN version:subversion-1.9.4-3
second, eclipse installation
To the official website to download, decompression can be used.
third, SVN installation
SVN Download
:http://opensource.wandisco.com/centos/7/svn-1.9/RPMS/x86_64/
Download the following three files:
subversion-1.9.4-3.x86_64.rpm
subversion-devel-1.9.4-3.x86_64.rpm
subversion-javahl-1.9.4-3.x86_64.rpm
SVN Installation
12345 |
yum
install
apr apr-util
yum
install
serf-1.3.8-1.x86_64.rpm serf-devel-1.3.8-1.x86_64.rpm
rpm -ivf subversion-1.9.4-3.x86_64.rpm
rpm -ivf subversion-devel-1.9.4-3.x86_64.rpm
rpm -ivf subversion-javahl-1.9.4-3.x86_64.rpm
|
iv. installation of Subclipse
:https://dl.bintray.com/subclipse/releases/subclipse/
Unzip the Subclipse-4.2.0.zip,
(1) Copy the contents of the features to the features under the Eclipse directory;
(2) Copy the contents of the plugins to the plugins under the Eclipse directory;
Five, svn simple use
in the the Window menu executes:Show view–> other.
in the pop-up Retrieve the SVN keyword in the Show View dialog box to quickly find the SVN repository , select, OK.
The SVN repository appears in the Problem view window. Note: The problem view is what we often call "backstage," which is used to display code or project configuration errors, and double-click the error entry to quickly locate the code.
in the Right-click on the left side of the SVN repository window, "new" a repository location to add a new SVN repository, enter thecorrect server address in location "locations" and Finish . Enter your username and password and click "Save Password" to log in more quickly next time.
Six, svn password save related issues
Issue: When using certificate authentication, you will not be required to enter a certificate location every time you log in once you have entered certificate authentication
you need to include the certificate path and certificate password configuration after the [global] segment of the servers configuration file
For example :
123 |
vim ~/.subversion
/servers
//
以root用户安装执行这个,vim
/root/
.subversion
/servers ssl-client-cert-
file
=
/path/test
.pfx
// /path/test
.pfx表示证书所在位置
ssl-client-cert-password = password
|
This article is from the "MySQL" blog, be sure to keep this source http://wenjing.blog.51cto.com/5908329/1906156
Eclipse SVN version control and use under Linux