2007年4月23日 星期一

simple svn server setup

1.configure file of svn server is in /etc/conf.d
a. SVNSERVE_OPTS="--root=repository_path" set ur repository path here
b. SVNSERVE_USER SVNSERVE_GROUP set server's user and group, special user and group is good for safety
2."svnadmin create repository_dir" can create repository
3.there are other configure files in repository_dir/conf
a. u can just use a passwd-db and not to specify an authz-db for no path-base access
b. edit username and password in passwd-db file
4.remember to change owner of repository_dir and start svnserve in /etc/init.d
5.u can initiate ur repository with "svn import"
6.then use "svn checkout" and "svn commit" to sent ur modified file