How to setup Subversion Edge on Centos 6
- Create a non-root user account, for example, svnuser
groupadd svn
useradd -g svn svnuser
passwd svnuser
su svnuser
- Download Subversion Edge Linux version from CollabNet. Choose 32-bit or 64-bit version according to your java version used.
- Create subversion folder under /opt to hold the Subversion Edge package
mkdir /opt/subversion
chown -R svnuser:svn /opt/subversion
sudo chmod o+wx /opt/subversion
- Extract the downloaded package and move it under /opt/subversion folder
mkdir /opt/subversion
tar zxf CollabNetSubversionEdge-5.1.1_linux-x86.tar.gz
mv csvn /opt/subversion
- Export JAVA_HOME in /etc/profile
export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk
- Add svnuser to /etc/sudoers to disable password asked for sudo command
svnuser ALL=(ALL) NOPASSWD: /opt/subversion/csvn/bin/httpd
- Comment out requiretty in /etc/sudoers
#Defaults requiretty
- Copy csvn.conf from csvn.conf.dist
cd /opt/subversion/csvn/data/conf/
cp csvn.conf.dist csvn.conf
- Install Subversion Edge service
cd /opt/subversion/csvn
sudo –E bin/csvn install
- Edit /opt/subversion/csvn/data/conf/csvn.conf and set the user id to run Subversion Edge service
RUN_AS_USER=svnuser
- Start Subversion Edge service
bin/csvn start
- Browse http://localhost:3343/csvn with admin/admin
- To enable the subversion server start automatically, run below command
bin/csvn-httpd install
Working well.
ReplyDeleteHarrah's Cherokee Casino & Hotel - MapYRO
ReplyDeleteThe following 청주 출장마사지 four hotel towers are 1, Harrah's Cherokee Casino & Hotel, 1, 경기도 출장샵 Harrah's 광주광역 출장마사지 Cherokee Casino & 삼척 출장마사지 Hotel, 2, 경상남도 출장안마 Harrah's Cherokee Casino & Hotel, 3,
Great Post. Thanks for sharing.
ReplyDeleteDevOps Training in Pune