How to Install Subversion on a Linux Server via an SSH (Secure Shell)
Posted By: IGentry; Category: Computer, Internet & Information Technology; March 18, 2009
Author Isaac Gentry;

Rate

(0 Ratings)
Note: There are several ways to setup Subversion such as using xinetd, running as a daemon, ssh, ssl, etc. We will be using PuTTY, which is a program that allows Windows users to establish a secure connection to UNIX and Linux terminals via the SSH (Secure Shell) method.
Click Image To Enlarge
1
Ensure the PuTTY program is installed on your computer.

START YOUR PROCESS BY DOING THE FOLLOWING:

a. If necessary, you can access a free download of the program at:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
b. Follow all prompts to install the program.
c. Skip this step if PuTTY is already installed on your computer.
2
Locate your Host Name or the IP Address of your Linux server and record it here: _________________________.
Click Image To Enlarge
3
Open the PuTTY program by double-clicking the icon from your desktop:
Click Image To Enlarge
4
PuTTY Configuration window displays. Type the recorded Host Name or IP Address of your Linux server from Step 2 in the Host Name field
Click Image To Enlarge
5
• Press the Open button.
• The PuTTY Security Alert pop-up message window displays, giving you the option to add the host key to the cache.
6
Press the Yes button. The server's host key has now been accepted and added to the PuTTY cache.
Click Image To Enlarge
7
Login by entering your ‘root’ user and password. The PuTTY session terminal window is now ready.
8
Change your Directory by doing the following:

• From the PuTTY session terminal window, type the following text 'cd /usr/local/src/'
• Press the <ENTER> key
• The directory path is changed.
9
Locate the latest version of Subversion by doing the following:
• Access and install a free download of the latest version of the Subversion application at: http://subversion.tigris.org/
• Record the latest version of Subversion here: _____________
(AS OF THIS WRITING, VERSION 1.5.6 WAS THE LASTEST VERSION)
• The latest version of Subversion is identified.
10
Download ALL Subversion & SQLite files to your Linux server by doing the following:

From the PuTTY session terminal window, type the following text commands:
cd /usr/local/src/

wget http://subversion.tigris.org/downloads/subversion-1.5.6.tar.gz
wget http://subversion.tigris.org/ downloads/subversion-deps-1.5.6.tar.gz
wget http://www.sqlite.org/sqlite-3.6.11.tar.gz

tar xzf subversion-1.5.6.tar.gz
tar xzf subversion-deps-1.5.6.tar.gz
tar xzf sqlite-3.6.11.tar.gz
11
Press the <ENTER> key and follow all prompts while the program runs. The Subversion and SQL program application files have been downloaded to the server, complete with corresponding backup files.
12
Perform the installation of the downloaded Subversion application by doing the following:
From the PuTTY session terminal window, type the following commands:

cd sqlite-3.6.11
./configure
make
make install
./sqlite3.6.11
.help
.exit
cd ..

Note: This part of the code will instruct the program to actually perform the INSTALLATION of the latest SQL program files on the computer.
13
Press the <ENTER> key and follow all prompts while the program runs. The latest SQL program files have now been downloaded to the server.
14
Continue the installation of the downloaded Subversion application by doing the following:

From the PuTTY session terminal window, type the following commands:

cd subversion-1.5.6
./configure
make
make install
svn -1.5.6

Note: This part of the code will instruct the program to actually perform the INSTALLATION of the latest Subversion files on the computer.
15
Press the <ENTER> key and follow all prompts while the program runs. The SQL program files have been downloaded to the server, ready for use.

The Subversion (SVN) installation on the Linux server is complete.
Only registered users can add comments