柔中带刚,刚中带柔,淫荡中富含柔和,刚猛中荡漾风骚,无坚不摧,无孔不入!
全部博文(1669)
分类:
2012-10-29 12:40:30
2012-10-26 16:43:09| 分类: CVS | 标签: |字号大中小
# ./configure --prefix=/opt/apache --enable-so --enable-dav --enable-dav-fs --enable-ldap --enable-authnz-ldap --with-included-apr --with-ldap --with-ldap-include=/usr/lib64/evolution-openldap/include --with-ldap-lib=/usr/lib64 --with-apr=/opt/software_install/httpd-2.2.17/srclib/apr/apr-1-config --with-apr-util=/opt/software_install/httpd-2.2.17/srclib/apr-util/apu-1-config
# ./apachectl start (该命令可能会出现类似 Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName的错误,不用管它,服务实际上已经启动了 停止和重启也一样)
# ./configure --with-apxs=/opt/apache/bin/apxs --with-apr=/opt/apache/ --with-apr-util=/opt/apache/ --prefix=/opt /subversion --with-ssl --with-zlib=/opt/subversion-1.6.15/zlib --enable-maintianer-mode
( 如果出现错误:make: *** [subversion/libsvn_ra_dav/libsvn_ra_dav-1.la] Error 1
五:建立和导入版本库
# cd /opt/subversion/bin/
//如果ls /opt/ccxesvn /test/ 出现了下面的内容,就说明subversion安装成功了.
conf dav db format hooks locks README.txt
# mkdir /opt/project /opt/project/server /opt/project/client /opt/project/test
新增 /opt/project/server
SVNParentPath /opt/ccxesvn/
# authentication
AuthType Basic
AuthName "ccxe.svn"
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPBindDN "uid=zmpostfix,cn=appaccts,cn=zimbra"
AuthLDAPBindPassword 3skemZGlp0
AuthLDAPURL "ldap://119.254.64.5:389/dc=ccxe,dc=com,dc=cn?uid?sub?(objectClass=*)"
require valid-user
# authorization
#AuthLDAPGroupAttributeIsDN on
#Require ldap-group cn=SVNUsersou=Groupdc=xliu-homedc=org
#AuthLDAPGroupAttribute memberUid