Server required components: Minimum installation is acceptable (personal test), additional required components: jdk-8u91-linux-x64.gz, CollabNetSubversionEdge-5.1.4_linux-x86_64.tar.gzCollabNetSubversionEdge-5.1.4_linux-x86_64.tar .gzCollabNetSubversionEdge-5.1.4_linux-x86_64.tar.gz
tar zxvf jdk-8u91-linux-x64.gz mv jdk1.8.0_91/ /usr/local/ vi /etc/profile ####添加如下三行 export JAVA_HOME=/usr/local/jdk1.8.0_91 export PATH=$JAVA_HOME/bin:$PATH export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar source /etc/profile java -version ##查看java版本已经是1.8
tar xvf CollabNetSubversionEdge-5.1.4_linux-x86_64.tar.gz mkdir /application mv csvn/ /application/ useradd csvn passwd csvn chown -R csvn:csvn /application/ vim /etc/sudoers ####添加下面一行使csvn可以使用sudo csvn ALL=(ALL) ALL ln -s /application/csvn/bin/csvn /etc/csvn ln -s /application/csvn-httpd /etc/csvn-httpd
service csvn start service csvn-httpd start
The above is the detailed content of How to deploy CSVN server on CentOS6.7. For more information, please follow other related articles on the PHP Chinese website!