Installing SVN on windows is quite strainght forward. I found VisualSVN quite interesting on Windows as it will complicate your life much. VisualSVN will help you certainly in managing repository on Windows box very easily. But the most scaring part is configuring the SVN server on AIX box.
Installing SVN client on AIX box (SVN 1.4.5)
If you're just installing a Subversion client, the Subversion team has created a package containing the minimal prerequisite libraries (Apache Portable Runtime, Neon, and Zlib) called the "dependency package" tarball or zipfile. You should be able to find it at the same place that you downloaded the Subversion tarball itself from. If you don't have these libraries installed already, you can simply unpack the dependency package "on top of" the Subversion package; for example, if you are using a .tar.gz bundle on AIX/Unix, you could type:
- $ tar xzvf subversion-1.x.x.tar.gz
- $ tar xzvf subversion-deps-1.x.x.tar.gz
- $ cd subversion-1.x.x
Installing SVN server on AIX box (SVN 1.4.5)
Subversion has two servers you can choose from: svnserve and Apache. svnserve is a small, lightweight server program that is automatically compiled when you build Subversion's source. Apache is a more heavyweight HTTP server, but tends to have more features.
'svnserve' has built-in CRAM-MD5 authentication (so you can use non-system accounts), and can also be tunneled over SSH (so you can use existing system accounts). It's also capable of using Cyrus SASL if libsasl2 is detected at ./configure time.
Before I start any further. Let me tell you what all you will need to install SVN on AIX. The required files are listed below. You will find all those files on internet.
- subversion-1.4.5.tar.gz
- subversion-deps-1.4.5.tar.gz
- rpm.rte
- libgcc-4.2.0-3.aix5.3.ppc.rpm
- libstdcplusplus--4.2.0-3.aix5.3.ppc.rpm
- gcc-cplusplus-4.2.0-3.aix5.3.ppc.rpm
- libstdcplusplus-devel-4.2.0-3.aix5.3.ppc.rpm
- gcc-4.2.0-3.aix5.3.ppc.rpm
The client speaks to the repository through SVN protocol. The default SVN port is 3690.
Now you need to follow these steps to install SVN (svnserve) on AIX.
Note! you will require root privileges to install SVN on AIX.
- mkdir /usr/svn
- cd /usr/svn
- Make sure you have above mentioned files (1.. 8) files under /usr/svn
- gunzip subversion-deps-1.4.5.tar.gz
- gunzip subversion-1.4.5.tar.gz
- tar -xvf subversion-1.4.5.tar
- tar -xvf subversion-deps-1.4.5.tar
- chown -R root:system /usr/svn/subversion-1.4.5
- installp -qacXgd rpm.rte rpm.rte
- rpm –i gcc-4.2.0-3.aix5.3.ppc.rpm
- rpm –i libgcc-4.2.0-3.aix5.3.ppc.rpm
- rpm –i libstdcplusplus-4.2.0-3.aix5.3.ppc.rpm
- rpm –i libstdcplusplus-devel-4.0.0-1.aix5.3.ppc.rpm
- rpm -i gcc-cplusplus-4.2.0-3.aix5.3.ppc.rpm
- mkdir /usr/svn/custom
- cd /usr/svn/subversion-1.4.5/zlib
- ./configure --prefix /usr/svn/custom
- ./configure –s --prefix /usr/svn/custom
- make
- make install
- cd ..
- ./configure --prefix /usr/svn/custom CPPFLAGS="-Izlib/ -Lzlib/"
- make
- make install
To test whether its successful or not
- PATH=/usr/svn/custom/bin:$PATH
- ./svn --version
No comments:
Post a Comment