STEP by STEP Installing Collabnet 4.0.12-3944.141 with Subversion version 1.8.11-3944.141 on UBUNTU 14.04.1 LTS
Basically I just did the exact steps below to get the SVN repo up and running to a point where i can log into it. I handed it off to other people to actually use, so thats as far as I took it.
- Installed a "next-next-next" implementation of Ubuntu 14.04 server. I didn't install any special packages. Just the default install. You could probably customize.
- Logged in as root on the console, then ran the following command to install SSH:
sudo apt-get install openssh-server
- Create a non-root user. In this example I am using svnadministrator . (couple of prompts for this procedure, password/user, detail, etc.)
sudo adduser svnadministrator
- Edit permissions
sudo visudo
- Look for--->
root ALL=(ALL:ALL) ALL
and then below that put in the entry below:svnadministrator ALL=(ALL:ALL) ALL
- Save your changes.
- LOGGED OUT OF ROOT and then log in as the non-root user you created (svnadministrator in this example).!!!The notes for subversion says to try and do it as a non-root user, so I did.!!!
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update
- (You can change the "6" to "7" or "8" in the next command, depending on the Java version you want. SVN seemed to want 6)
sudo apt-get install oracle-java6-installer
- (Agree to terms.)
sudo apt-get install oracle-java6-set-default
- Set the home variable.
export JAVA_HOME=/usr/lib/jvm/java-6-oracle/
- Get the installer from http://www.collab.net/svnedge. You'll need to login in and/or create an account.(I downloaded it to my Windows box then SCP'd it over to my Linux box)
tar -zxf CollabNetSubversionEdge-1.1.0_linux-x86.tar.gz
- The tar.gz file is unpacked to the csvn directory.
cd csvn bin/csvn start
- (Wait a minute or so...)
14. Once I authenticate to the default logon for it, (i can't rember what it is) I "START' the SVN service in the GUI Main page and people start using it.http://192.168.x.x:3343/csvn/login/auth
==================
MOVING SVN repository.
We ran out of HD space and had to move the repo to a new HD in the same server (we couldn't expand successfully due to a LVM format volume that just wouldn't work for us.
So we added a second HD
I put it in the Machine (virutal) then booted gpart and formated it as a EXT4 format
then I booted into ubuntu and did mounted the drive.
Then logged into the repo
stop the repo
changed the file location of the repos under ADMINISTRATION-> SERVER SETTINGS -> Repository Directory
Changed that location and then saved it.
Go to repositories -> repository list, they'll probably not be there. Move the folders from the old location to the new location...then use the "DISCOVER" button and they'll show back up.
thats its.
No comments:
Post a Comment
Feel free to leave a comment! If you have any information that you think should be included, please do so here and I'll get it added in.