您的位置:首页 > 运维架构 > Linux

Set up SVN server on CentOS

2009-07-03 09:08 344 查看
1. Download svn source code and do config

./configure --with-apxs=/usr/local/apache2/bin/apxs --prefix=/usr/local/subversion --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2 --with-ssl --with-zlib --enable-maintainer-mode --with-sqlite=/usr/local/sqlite

./configure --with-apxs=/usr/local/apache2/bin/apxs --prefix=/usr/local/subversion --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2 --with-ssl --enable-maintainer-mode --with-sqlite=/usr/local/sqlite

2. Login as SVNROOT (create the user if not exist) and create repository

3. Change the folder that contain repository

chcon -R -h -u system_u -t httpd_sys_content_t /home/svnroot/repository

4. Export project
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: