Ubuntu Subversion Edge 5.0 installation process
Introduction: Linux has a certain basis, this installation process I looked at the N-multi-tutorial after the synthesis, will be some tutorials not mentioned as far as possible to make up, to avoid some common mistakes, in this thank you for your predecessors to share, forgive me did not post your blog address, also here to do a record refers to the future will be used.
General installation after the failure may be encountered:
1: Use the root user to install, configure, cause the service does not come, or stop coming.
2:SVN-HTTPD can't get up.
3: After landing the webpage, the running status is stop, point starts, server error.
This tutorial has solved the above three scenarios, the actual test two times no problem, a success. Ubuntu system installation, software package download does not introduce.
Install three major processes:
(i) System environment settings
(ii) Pre-installation preparations
(iii) Formal installation
///////////////////////////////////////////////////////////////////////////////////////////
(i) System environment settings
#切换到root用户
1.1 Installing SSH Apt-get install-y openssh-server
1.2 Allow root Telnet
Vim/etc/ssh/sshd_config
Permitrootlogin Yes
1.3 Shutting down the system firewall
sudo ufw disable
1.4 Configuring IP
Vi/etc/network/interfaces
Ifaceeth0 inet Static
Address 192.168.xx.xx
netmask255.x.x.x
gateway192.x.x.x
1.5 Configure DNS
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/A4/wKiom1WjihbRuBHLAABF-526qew741.jpg "style=" float: none; "title=" Xx1.png "alt=" Wkiom1wjihbrubhlaabf-526qew741.jpg "/>
Add DNS servers to each of the two files
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6F/A1/wKioL1Wji-3jSCZfAAAhKwqoAlE967.jpg "title=" Xx2.png "style=" Float:none; "alt=" wkiol1wji-3jsczfaaahkwqoale967.jpg "/>
(ii) Pre-installation preparations
Tools: System Version Ubuntu14.04
JAVA version JDK 1.8
Python version system comes with 2.7.6
Packages used for installation:
SVN installation package: collabnetsubversionedge-5.0.1_linux-x86_64.tar.gz
:http://www.collab.net/downloads/subversion
Java installation package: jdk-8u45-linux-x64.tar.gz
#以下所有操作都是在root用户下执行 #
1 Creating SVN users, groups, directories
1.1 Creating a group//group name: SVN
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/9E/wKioL1WjbDrCHTFgAAAZN8zOlMM884.jpg "title=" 1.png " alt= "Wkiol1wjbdrchtfgaaazn8zolmm884.jpg"/>
1.2 Create a user and join the SVN group, no host directory is required. User name Svnroot running SVN
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/A1/wKiom1WjanPhF2qfAAAWT7jEo5s243.jpg "title=" 2.png " alt= "Wkiom1wjanphf2qfaaawt7jeo5s243.jpg"/>
1.3 Set User password passwd svnroot
2 giving sudo permissions to svnroot users
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/A1/wKiom1Wja47T9CwRAAAZod_o3Ek376.jpg "title=" 3.png " alt= "Wkiom1wja47t9cwraaazod_o3ek376.jpg"/>
Join the Svnroot user below to force the save exit.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/9E/wKioL1WjbkKBx2cCAAAsMzsId88257.jpg "title=" 4.png " alt= "Wkiol1wjbkkbx2ccaaasmzsid88257.jpg"/>
3 Create the installation, run the directory and copy the installation package you want to here.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/A1/wKiom1WjbHewpwa-AAAYdbJaPo4870.jpg "title=" 5.png " alt= "Wkiom1wjbhewpwa-aaaydbjapo4870.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/9E/wKioL1WjbluhI4aHAABjuxRp8-g154.jpg "title=" 6.png " alt= "Wkiol1wjbluhi4ahaabjuxrp8-g154.jpg"/>
4 Check whether Java, Python is installed.
4.1 Python, System comes with 2.7.6 version
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/A1/wKiom1WjbI3wKqBJAAAhPBoALX4358.jpg "title=" 7.png " alt= "Wkiom1wjbi3wkqbjaaahpboalx4358.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/9E/wKioL1WjbmzS5iMaAACRx8Nyseg818.jpg "title=" 8.png " alt= "Wkiol1wjbmzs5imaaacrx8nyseg818.jpg"/>
4.2 You can see that Java is not installed, install it now
Unzip, and rename. Renaming is easy to configure later
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/9E/wKioL1Wjbnyz874-AAAsR_golSE792.jpg "title=" 9.png " alt= "Wkiol1wjbnyz874-aaasr_golse792.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/A1/wKiom1WjbMWCFGg6AAAOc1PvJSc749.jpg "title=" 10.png "alt=" Wkiom1wjbmwcfgg6aaaoc1pvjsc749.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/9E/wKioL1WjbqbC8ax7AABQ2kO9JMw410.jpg "title=" 11.png "alt=" Wkiol1wjbqbc8ax7aabq2ko9jmw410.jpg "/>
4.3 Configuring the Java environment variable Vi/etc/profile
Add the last line, save exit.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/A1/wKioL1WjjCKSpVYXAAB0AVl7jP4144.jpg "title=" x1.png "alt=" Wkiol1wjjckspvyxaab0avl7jp4144.jpg "/>
4.4 Let the configuration just take effect source/etc/profile
4.5 The view is successful and can be displayed correctly.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/A1/wKiom1WjbTHC_NO7AABtsbibRpc093.jpg "title=" 13.png "alt=" Wkiom1wjbthc_no7aabtsbibrpc093.jpg "/>
4.6 Here, all the preparatory work has been done.
(iii) Formal installation
5.0 switch to an account running SVN
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/9E/wKioL1WjbxuDxJ6nAAApxjkYeOE849.jpg "title=" 14.png "alt=" Wkiol1wjbxudxj6naaapxjkyeoe849.jpg "/>
5.1 Unzip the SVN master installation package and enter the installation directory
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/A1/wKiom1WjbVqTiq-PAADeNTgnris970.jpg "style=" float: none; "title=" 15.png "alt=" Wkiom1wjbvqtiq-paadentgnris970.jpg "/>
5.2 Take a look at the permissions first, whether the owner and the group are correct.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/9E/wKioL1WjbzDxxhTUAAFAhU6e0jA463.jpg "title=" 16.png "Style=" Float:none; "alt=" wkiol1wjbzdxxhtuaafahu6e0ja463.jpg "/>
5.3 obviously has a problem, 498 is what ghost. (say more is the tears)
5.4 Adjustment of the owner, group permissions
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/A4/wKiom1WjinyiwOKVAAAwa6LKoIw432.jpg "style=" float: none; "title=" X2.png "alt=" Wkiom1wjinyiwokvaaawa6lkoiw432.jpg "/>
(belongs to the main svnroot/group SVN)
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/A1/wKioL1WjjFPzcj37AAApOLbpUno442.jpg "title=" x3.png "Style=" Float:none; "alt=" wkiol1wjjfpzcj37aaapolbpuno442.jpg "/>
(Permission is so big, convenient.) )
5.5 Viewing permissions
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/A1/wKioL1WjjI6xxrqRAAEtlG5v5-U543.jpg "title=" x4.png "alt=" Wkiol1wjji6xxrqraaetlg5v5-u543.jpg "/>
6 then continue.
6.1 Entering the installation directory
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/9E/wKioL1Wjb1WRtw2VAAAffs3sMVI905.jpg "title=" 24.png "alt=" wkiol1wjb1wrtw2vaaaffs3smvi905.jpg "style=" Float:none;/>
6.2 Seemingly svnroot user's environment variable also to be manually updated under
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/9F/wKioL1Wjb8qAi23jAAAZ8Q7I-LU502.jpg "title=" 25.png "alt=" wkiol1wjb8qai23jaaaz8q7i-lu502.jpg "style=" Float:none;/>
Confirm Availability
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/A2/wKiom1WjbfTgct5_AAB1bOwd79E869.jpg "title=" 26.png "alt=" wkiom1wjbftgct5_aab1bowd79e869.jpg "style=" Float:none;/>
6.3 Boot-Boot installation
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/A2/wKiom1WjbfSRd3vjAAAoLCItc9k937.jpg "title=" 27.png "alt=" wkiom1wjbfsrd3vjaaaolcitc9k937.jpg "style=" Float:none;/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/9F/wKioL1Wjb8vgDFThAAA4DJ-PXtg598.jpg "title=" 28.png "alt=" wkiol1wjb8vgdfthaaa4dj-pxtg598.jpg "style=" Float:none;/>
6.4 Add parameters to the configuration file to ensure that the following items are turned on.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/A1/wKiom1WjbX-hrkTnAAAkDA5UQXI396.jpg "title=" 21.png "Style=" Float:none; "alt=" wkiom1wjbx-hrktnaaakda5uqxi396.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/9E/wKioL1Wjb1WBd9AoAAANMzI87pI280.jpg "title=" 22.png "Style=" Float:none; "alt=" wkiol1wjb1wbd9aoaaanmzi87pi280.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/A1/wKiom1WjbX-j5LuQAAAmGn8TPnk733.jpg "title=" 23.png "Style=" Float:none; "alt=" wkiom1wjbx-j5luqaaamgn8tpnk733.jpg "/>
6.5 Starting the Web console
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/9F/wKioL1Wjb8uyDRmvAACMpjg7fqA296.jpg "title=" 29.png "Style=" Float:none; "alt=" wkiol1wjb8uydrmvaacmpjg7fqa296.jpg "/>
Start the server side
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/9F/wKioL1WjcF-ySNyZAAAvNqANZlE402.jpg "style=" float: none; "title=" 30.png "alt=" Wkiol1wjcf-ysnyzaaavnqanzle402.jpg "/>
6.6 Access in the browser, username and password default Admin admin
http://xxx.xxx.xxx.xxx:3343650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M01/6F/A2/ Wkiom1wjbonac6hzaabpxduis0y098.jpg "title=" 31.png "style=" Float:none; "alt=" wkiom1wjbonac6hzaabpxduis0y098.jpg "/ >
This article is from the "Some Insights" blog, be sure to keep this source http://7677973.blog.51cto.com/7667973/1673818
Ubuntu Install CollabNet Subversion Edge 5.0 (SVN)