() 2) Berkeley DB 4.4.20
()3) Apache 2.0.54
( )以root用户登陆系统。安装Apache#tar -zxvf httpd-2.0.54.tar.gz#cd httpd-2.0.54#./configure --enable-dav --enable-so --enable-maintainer-mode#make#make install 安装 Berkeley DB#tar -zxvf db-4.4.20.NC.tar.gz#cd db-4.4.20.NC/build_unix/#../dist/configure --prefix=/usr/local/bdb#make#make install安装Subversion#tar -zxvf subversion-1.2.3.tar.gz#cd subversion-1.2.3#./configure --with-berkeley-db=/usr/local/bdb --with-apxs=/usr/local/apache2/bin/apxs#make#make install/* 你可以用以下命令检验subversion是否安装成功 */#svnadmin --version创建repository#mkdir -p /home/svn/yourproject#svnadmin create /home/svn/yourproject/* 建议使用如下目录结构 */ /home/yourprojectname/trunk/home/ yourprojectname /tags/home/ yourprojectname /branches/* 如果你是从CVS转移过来的项目,可以用下面命令清理你的目录 */#find projectname/ -name CVS -exec rm -rf {} \;导入source#svn import -m "initial import" /home/yourprojectname file:///home/svn/yourprojectname 启动svn服务#svnserve -d检查服务#lsof -i :3690创建用户#groupadd yourproject#useradd -G yourprojectname -m "it's project admin." yourprojectname#useradd -G yourprojectname -m "it's andy." alu#useradd -G yourprojectname -m "it's jon." jshen#chown -R yourprojectname . yourprojectname /home/svn/yourprojectname#chmod 770 /home/svn/ yourprojectname #chmod -R g+w /home/svn/ yourprojectname 修改svn配置vi /home/svn/ yourprojectname /conf/svnserve.confanon-access = readauth-access = write参考文章: