- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
#contents
*Prerequisite [#y9e8bc9b]
-Apache Web Server
-Cent OS (You can refer [[HowToUse/CentOS/6.5]])
-Cygwin (You can refer [[HowToUse/Cygwin/2.850]])
*Install&Setup [#ea8c66cd]
**Install Subversion [#nda81d11]
Step.1) Install subversion.
# yum install subversion
Step.2) Install TortoiseSVN.
**Setup Subversion [#w2562730]
: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
:Step.5|
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
#ref(Setup_fig1.png,,500x266,)
*How To Use [#hb213daa]
**Prepare Workspace [#u8934e51]
: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 [#cc3b3ace]
S.Yatsuzuka