Install SVN in CentOS


1) Install the SVN server

yum install -y subversion mod_dav_svn

Modify /etc/httpd/conf.d/subversion.conf

mkdir /etc/svn/
htpasswd -cm /etc/svn/users jchen
htpasswd -m /etc/svn/users test

mkdir /var/www/svn
cd /var/www/svn
svnadmin create mylab
chown -R apache.apache mylab
chcon -R -t httpd_sys_content_t mylab

service httpd restart
chkconfig httpd on

2) Intall the SVN client

yum install -y subversion

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s