_ Prerequisite
_ Install&Setup
_ Install Subversion
Step.1) Install subversion.
# yum install subversion
Step.2) Install TortoiseSVN.
_ Setup Subversion
- Step.1
- Install mod_dav_svn.
# yum install mod_dav_svn
- Step.2
- Create directory for subversion.
# mkdir -p /var/lib/svn
- Step.3
- Create repository.
# svnadmin create /var/lib/svn/repo
- Step.4
- Change permission so that apache web server can access repository.
# chown -R apache:apache /var/lib/svn/repo
- Step.5
- Change the setting for SELinux
# setenforce Permissive
# vi /etc/selinux/config
SELINUXTYPE=permissive
- Step.6
- Launch httpd and check if you can access svn repository from http://<host name>/svn.
# /etc/rd.d/init.d/httpd start
_ How To Use
_ Prepare Workspace
- Step.1
- Launch Cygwin and execute the following command. Then you have "svn" directory in the current directory.
# svn checkout http://192.168.56.101/svn
- Step.2
- Move into "svn" directory and create new directory.
# cd svn
# mkdir test
- Step.3
- Add the created directory and commit.
# svn add test
# svn commit -m "create new directory"
- Step.4
- You can check the new "test" directory is registered in repository from http://<host name>/svn/.
_ Author
S.Yatsuzuka