Red Hat 6.2 64bit Build SUBVERSION+USVN

Source: Internet
Author: User
Tags version control system tortoisesvn

Red Hat 6.2 64bit Build SUBVERSION+USVN

First, Subversion Introduction  

Subversion is a free, open source version control system. under Subversion Management, files and directories can transcend time and space. Subversion stores files in the central repository. This repository is much like an ordinary file server, but it can record every file and directory modification. This allows you to restore the data to a previous version and to see the details of the changes to the data. Because of this, many people use the version control system as a magical "time Machine".

Second, Environment Preparation

[Email protected] ~]# uname-alinux test 2.6.32-220.el6.x86_64 #1 SMP Wednov 9 08:03:13 EST. x86_64 x86_64 x86_64 GNU /linux

Set selinux=disabled turn off selinux after reboot

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/4B/wKiom1St486zFS56AAJbNjWnl6g468.jpg "title=" 1.png " alt= "Wkiom1st486zfs56aajbnjwnl6g468.jpg"/>

Third, installation

1 , install the required software

[email protected] ~]# yum install-y subversionhttpd httpd-devel mysql mysql-server mysql-devel mod_auth_mysql Php-common php-cli php php-mysql mod_ssl mod_dav_svn mod_perl sendmail wget gcc-c++ makeunzip perl* ntsysv vim-enhanced

Description

Subversion (SVN server )

Mysql-server ( for Codestriker)

httpd mod_dav_svn mod_perl ( for WEB-enabled management of SVN servers )

SendMail ( used to configure user-submitted code to send email reminders )

wget gcc-c++ make unzip perl* ( prerequisite Package )

Ntsysv vim-enhanced ( optional )

Mod_auth_mysql Save the user name and password to the MySQL database and use them directly for authentication.

MOD_DAV_SVN Apache to maintain Subversion repository configuration instructions via Apache HTTP server

See If Subversion is installed successfully, such as:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/4B/wKiom1St5ALx7egKAAG1oonfksI538.jpg "title=" 2.png " alt= "Wkiom1st5alx7egkaag1oonfksi538.jpg"/>

2 , start httpd , mysqld Service

Start httpd

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/4B/wKiom1St5TOyaGeLAAFHXKfvqXg566.jpg "style=" float: none; "title=" 3.png "alt=" Wkiom1st5toyagelaafhxkfvqxg566.jpg "/>

Start mysqld

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/47/wKioL1St5fWxGSWqAARws6sSXEc344.jpg "style=" float: none; "title=" 4.png "alt=" Wkiol1st5fwxgswqaarws6ssxec344.jpg "/>

set mysqld password after startup , need to install USVN later

[Email protected] ~]# mysqladmin-u root password 123456

3. Configure Boot-up

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/4B/wKiom1St5XeRbmI6AAIMuKKlqFA528.jpg "title=" 5.png " alt= "Wkiom1st5xerbmi6aaimukklqfa528.jpg"/>

[Email protected] ~]# TAR-XZVF usvn-1.0.7.tar.gz-c/var/www/[[email protected] ~]# mv/var/www/usvn-1.0.7//VAR/WWW/USV N

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/47/wKioL1St5omTuWHTAACYcp4GUaE287.jpg "title=" 6.png " alt= "Wkiol1st5omtuwhtaacycp4guae287.jpg"/>

[Email protected] ~]# chown-r apache.apache/var/www/usvn/[[email protected] ~]# vi/etc/httpd/conf/httpd.confalias/us VN "/var/www/usvn/public" <directory "/var/www/usvn/public" > Options +symlinksifownermatch allowoverride all O Rder Allow,deny allow from all</directory>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/4B/wKiom1St5eGgeOD-AAEm6lGZU6o998.jpg "title=" 7.png " alt= "Wkiom1st5eggeod-aaem6lgzu6o998.jpg"/>

Configuration Complete Restart httpd

[Email protected] ~]# service httpd restart

through IE Open http://192.168.2.15/usvn/install.php can be completed step by step, at this time if not open, please check your iptables,SELinux whether there are restrictions or directly turn off iptables,selinux services.

The following interface will appear when the access is normal:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/4B/wKiom1St6IWhDa01AAJJVzaWGd8913.jpg "title=" 8.png " alt= "Wkiom1st6iwhda01aajjvzawgd8913.jpg"/>

Point Next step

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/48/wKioL1St7JOzGHpTAALLyidvM2A941.jpg "style=" float: none; "title=" 9.png "alt=" Wkiol1st7jozghptaallyidvm2a941.jpg "/>

Step 2 language default is English, here I choose Chinese

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/4B/wKiom1St69Lg17BMAAMWH9Yuh3c813.jpg "style=" float: none; "title=" 10.png "alt=" Wkiom1st69lg17bmaamwh9yuh3c813.jpg "/>

Step three agree to the agreement

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/48/wKioL1St7JSTuo0uAAS8XVvca14965.jpg "style=" float: none; "title=" 11.png "alt=" Wkiol1st7jstuo0uaas8xvvca14965.jpg "/>



Fourth step if you do not use the default values, make adjustments

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/4B/wKiom1St69OS6NdxAARt3cvBUhA806.jpg "style=" float: none; "title=" 12.png "alt=" Wkiom1st69os6ndxaart3cvbuha806.jpg "/>


Change to the following path to the next step (note: Here passwd and authz two files default in the/VAR/WWW/USVN directory is not, the path is set here will automatically create these two files. )

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/4B/wKiom1St69PCF-KlAANDPZ9zagE480.jpg "style=" float: none; "title=" 13.png "alt=" Wkiom1st69pcf-klaandpz9zage480.jpg "/>


fill in the mysqld user name and password created above, tick " CREATE Database ", here if you do not install php-pdo will be error

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/48/wKioL1St7cijnBJKAAKo1KcCEkw941.jpg "title=" 14.png "alt=" Wkiol1st7cijnbjkaako1kccekw941.jpg "/>

Create an account for login management USVN

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/48/wKioL1St7e-Toi_rAAMBv3k1364924.jpg "title=" 15.png "alt=" Wkiol1st7e-toi_raambv3k1364924.jpg "/>

You will see the admin user in the usvn/passwd file when you create it.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/48/wKioL1St7g_SBGrvAACNor-pIfM234.jpg "title=" 16.png "alt=" Wkiol1st7g_sbgrvaacnor-pifm234.jpg "/>

Choose not to check for updates

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/48/wKioL1St7jaB9GB0AAKT45zmzs0352.jpg "style=" float: none; "title=" 17.png "alt=" Wkiol1st7jab9gb0aakt45zmzs0352.jpg "/>

Copy the following code into /etc/httpd/conf/httpd.conf .

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/4C/wKiom1St7XXClXqKAAMdNKjY57M018.jpg "style=" float: none; "title=" 18.png "alt=" Wkiom1st7xxclxqkaamdnkjy57m018.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/48/wKioL1St7mngEiGeAAJhZTVrq5s791.jpg "title=" 19.png "alt=" Wkiol1st7mngeigeaajhztvrq5s791.jpg "/>


" Connect to usvn login " above the point

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/4C/wKiom1St7cbwnJynAANLOOdho2o980.jpg "title=" 20.png "alt=" Wkiom1st7cbwnjynaanloodho2o980.jpg "/>

At this point the entire Subversion and usvn construction completed. You need to use the USVN test to create a user, user group, project is normal.


Create a user group testdata

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/4C/wKiom1St7f-R38mMAAKO6TCUTzc004.jpg "title=" 23.png "alt=" Wkiom1st7f-r38mmaako6tcutzc004.jpg "/>


Create user test belongs to testdata user Group

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/50/wKiom1SuJbWzxqVvAAEFWTCUdbQ023.jpg "title=" 2.png " alt= "Wkiom1sujbwzxqvvaaefwtcudbq023.jpg"/>


Create Project data

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/4C/wKioL1SuJqqDqdl7AAGJ0sWzc1I145.jpg "title=" 1.png " alt= "Wkiol1sujqqdqdl7aagj0swzc1i145.jpg"/>

allow the testdata user group to manage this project

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/48/wKioL1St73DT47HzAANjJVz9gMs599.jpg "title=" 25.png "alt=" Wkiol1st73dt47hzaanjjvz9gms599.jpg "/>


Five, TortoiseSVN Installation Use

Download Installation TortoiseSVN

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/4C/wKiom1St7uHC7l99AADeTEvJyRY367.jpg "style=" float: none; "title=" 21.png "alt=" Wkiom1st7uhc7l99aadetevjyry367.jpg "/>


Test Check out http://192.168.2.15/usvn/svn/data

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/4C/wKiom1St7uHyiP4FAAB1hKiz6Ko803.jpg "style=" float: none; "title=" 26.png "alt=" Wkiom1st7uhyip4faab1hkiz6ko803.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/48/wKioL1St796Slx2bAAGAgN5w02w308.jpg "style=" float: none; "title=" 27.png "alt=" Wkiol1st796slx2baagagn5w02w308.jpg "/>


The following error is prompted because the svnserve service is not started

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/48/wKioL1St79_R-iE4AAEqTPuours785.jpg "style=" float: none; "title=" 30.png "alt=" Wkiol1st79_r-ie4aaeqtpuours785.jpg "/>

start the Svnserve service

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/4C/wKiom1St70jwU4x9AAOQiMbDDy4453.jpg "title=" 29.png "alt=" Wkiom1st70jwu4x9aaoqimbddy4453.jpg "/>

Try again to detect success

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/4C/wKiom1St72DyzDhzAAGaBWk987Q793.jpg "title=" 28.png "alt=" Wkiom1st72dyzdhzaagabwk987q793.jpg "/>


This article is from "Operation and maintenance record Mei Ling" blog, please be sure to keep this source http://meiling.blog.51cto.com/6220221/1600565

Red Hat 6.2 64bit Build SUBVERSION+USVN

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.