svn配置linux.docx
- 文档编号:25414747
- 上传时间:2023-06-08
- 格式:DOCX
- 页数:26
- 大小:23.77KB
svn配置linux.docx
《svn配置linux.docx》由会员分享,可在线阅读,更多相关《svn配置linux.docx(26页珍藏版)》请在冰豆网上搜索。
svn配置linux
SVNDeploymentONLINUX
Preparedby:
ArainDate:
17/08/2009
TABLEOFCONTENTS
1Introduction2
2ApacheInstallation2
3SubversionInstallation4
4SVNandLDAPcombination6
5Dailyactivitiesonserverside10
5.1SubversionRepositoryCreation10
5.2SubversionAuthorizationfile10
5.3SubversionBackup11
5.3.1AllBackup11
5.3.2IcrementalBackup11
5.3.3SVNBackupStrategyinSVNCLUB12
6Troubleshooting12
DocumentChangeControl
Date
Page
Changes
20090817
3
Prepare
1
Introduction
ThepurposeofthedocumentisintroducehowtodoSVNdeploymentonLinux.Itmainlyincludesfollowingcontents:
howtoinstallapache&Subversion,howtocombineSVNandopenldap,howtocreateaSVNrepository,howtoconfiguretheauthorizationfile,howtobackup&restoreSVNrepository,andetc.
2ApacheInstallation
Downloadapacheinstallationsourcefilefromapacheofficialwebsite:
http:
//archive.apache.org/dist/httpd/.HereIdownload:
httpd-2.0.59tar.gz.
Copytheapacheinstallationsourcefiletothelinuxwhichyouwanttoinstallapacheonandreleasethecompressfile.
[root@svnclub03svnclub]#tar-xzvfhttpd-2.0.59tar.gz
[root@svnclub03svnclub]#cdhttpd-2.0.59
Enabletheldapmoduleswhileinstallingapache.
[root@svnclub03httpd-2.0.59]#./configure--prefix=/usr/local/apache2--enable-dav--enable-so--with-ldap--enable-ldap--enable-auth-ldap
…
creatingconfig_vars.mk
configure:
creating./config.status
creatingmodules/aaa/Makefile
creatingmodules/arch/win32/Makefile
creatingmodules/cache/Makefile
creatingmodules/echo/Makefile
creatingmodules/experimental/Makefile
creatingmodules/filters/Makefile
creatingmodules/loggers/Makefile
creatingmodules/metadata/Makefile
creatingmodules/proxy/Makefile
creatingmodules/ssl/Makefile
creatingmodules/test/Makefile
creatingos/unix/Makefile
creatingserver/mpm/Makefile
creatingserver/mpm/prefork/Makefile
creatingmodules/http/Makefile
creatingmodules/dav/main/Makefile
creatingmodules/generators/Makefile
creatingmodules/dav/fs/Makefile
creatingmodules/mappers/Makefile
creatingMakefile
creatingmodules/Makefile
creatingsrclib/Makefile
creatingos/beos/Makefile
creatingos/os2/Makefile
creatingos/Makefile
creatingos/unix/Makefile
creatingserver/Makefile
creatingsupport/Makefile
creatingsrclib/pcre/Makefile
creatingtest/Makefile
config.status:
creatingdocs/conf/httpd-std.conf
config.status:
creatingdocs/conf/ssl-std.conf
config.status:
creatinginclude/ap_config_layout.h
config.status:
creatingsupport/apxs
config.status:
creatingsupport/apachectl
config.status:
creatingsupport/dbmmanage
config.status:
creatingsupport/envvars-std
config.status:
creatingsupport/log_server_status
config.status:
creatingsupport/logresolve.pl
config.status:
creatingsupport/phf_abuse_log.cgi
config.status:
creatingsupport/split-logfile
config.status:
creatingbuild/rules.mk
config.status:
creatingbuild/pkg/pkginfo
config.status:
creatinginclude/ap_config_auto.h
config.status:
executingdefaultcommands
[root@svnclub03httpd-2.0.59]#make
…
/svnclub/httpd-2.0.59/srclib/apr/libtool--silent--mode=compilegcc-g-O2-pthread-DLINUX=2-D_REENTRANT-D_GNU_SOURCE-DAP_HAVE_DESIGNATED_INITIALIZER-I/svnclub/httpd-2.0.59/srclib/apr/include-I/svnclub/httpd-2.0.59/srclib/apr-util/include-I.-I/svnclub/httpd-2.0.59/os/unix-I/svnclub/httpd-2.0.59/server/mpm/prefork-I/svnclub/httpd-2.0.59/modules/http-I/svnclub/httpd-2.0.59/modules/filters-I/svnclub/httpd-2.0.59/modules/proxy-I/svnclub/httpd-2.0.59/include-I/svnclub/httpd-2.0.59/modules/generators-I/svnclub/httpd-2.0.59/modules/dav/main-prefer-non-pic-static-cmodules.c&&touchmodules.lo
/svnclub/httpd-2.0.59/srclib/apr/libtool--silent--mode=linkgcc-g-O2-pthread-DLINUX=2-D_REENTRANT-D_GNU_SOURCE-DAP_HAVE_DESIGNATED_INITIALIZER-I/svnclub/httpd-2.0.59/srclib/apr/include-I/svnclub/httpd-2.0.59/srclib/apr-util/include-I.-I/svnclub/httpd-2.0.59/os/unix-I/svnclub/httpd-2.0.59/server/mpm/prefork-I/svnclub/httpd-2.0.59/modules/http-I/svnclub/httpd-2.0.59/modules/filters-I/svnclub/httpd-2.0.59/modules/proxy-I/svnclub/httpd-2.0.59/include-I/svnclub/httpd-2.0.59/modules/generators-I/svnclub/httpd-2.0.59/modules/dav/main-export-dynamic-ohttpdmodules.lomodules/aaa/mod_access.lamodules/aaa/mod_auth.lamodules/experimental/mod_ldap.lamodules/experimental/mod_auth_ldap.lamodules/filters/mod_include.lamodules/loggers/mod_log_config.lamodules/metadata/mod_env.lamodules/metadata/mod_setenvif.lamodules/http/mod_http.lamodules/http/mod_mime.lamodules/dav/main/mod_dav.lamodules/generators/mod_status.lamodules/generators/mod_autoindex.lamodules/generators/mod_asis.lamodules/generators/mod_cgi.lamodules/dav/fs/mod_dav_fs.lamodules/mappers/mod_negotiation.lamodules/mappers/mod_dir.lamodules/mappers/mod_imap.lamodules/mappers/mod_actions.lamodules/mappers/mod_userdir.lamodules/mappers/mod_alias.lamodules/mappers/mod_so.laserver/mpm/prefork/libprefork.laserver/libmain.laos/unix/libos.la/svnclub/httpd-2.0.59/srclib/pcre/libpcre.la/svnclub/httpd-2.0.59/srclib/apr-util/libaprutil-0.la-lldap-llber-lexpat/svnclub/httpd-2.0.59/srclib/apr/libapr-0.la-lrt-lm-lcrypt-lnsl-lpthread-ldl
modules/experimental/.libs/mod_ldap.a(util_ldap.o)(.text+0x1ef4):
Infunction`util_ldap_post_config':
/svnclub/httpd-2.0.59/modules/experimental/util_ldap.c:
1476:
warning:
theuseof`tmpnam'isdangerous,betteruse`mkstemp'
make[1]:
Leavingdirectory`/svnclub/httpd-2.0.59'
[root@svnclub03httpd-2.0.59]#makeinstall
…
Makinginstallingenerators
make[2]:
Enteringdirectory`/svnclub/httpd-2.0.59/modules/generators'
make[3]:
Enteringdirectory`/svnclub/httpd-2.0.59/modules/generators'
make[3]:
Leavingdirectory`/svnclub/httpd-2.0.59/modules/generators'
make[2]:
Leavingdirectory`/svnclub/httpd-2.0.59/modules/generators'
Makinginstallindav/fs
make[2]:
Enteringdirectory`/svnclub/httpd-2.0.59/modules/dav/fs'
make[3]:
Enteringdirectory`/svnclub/httpd-2.0.59/modules/dav/fs'
make[3]:
Leavingdirectory`/svnclub/httpd-2.0.59/modules/dav/fs'
make[2]:
Leavingdirectory`/svnclub/httpd-2.0.59/modules/dav/fs'
Makinginstallinmappers
make[2]:
Enteringdirectory`/svnclub/httpd-2.0.59/modules/mappers'
make[3]:
Enteringdirectory`/svnclub/httpd-2.0.59/modules/mappers'
make[3]:
Leavingdirectory`/svnclub/httpd-2.0.59/modules/mappers'
make[2]:
Leavingdirectory`/svnclub/httpd-2.0.59/modules/mappers'
make[2]:
Enteringdirectory`/svnclub/httpd-2.0.59/modules'
make[2]:
Leavingdirectory`/svnclub/httpd-2.0.59/modules'
make[1]:
Leavingdirectory`/svnclub/httpd-2.0.59/modules'
Makinginstallinsupport
make[1]:
Enteringdirectory`/svnclub/httpd-2.0.59/support'
make[2]:
Enteringdirectory`/svnclub/httpd-2.0.59/support'
make[2]:
Leavingdirectory`/svnclub/httpd-2.0.59/support'
make[1]:
Leavingdirectory`/svnclub/httpd-2.0.59/support'
make[1]:
Enteringdirectory`/svnclub/httpd-2.0.59'
Installingconfigurationfiles
mkdir/usr/local/apache2/conf
InstallingHTMLdocuments
mkdir/usr/local/apache2/htdocs
Installingerrordocuments
mkdir/usr/local/apache2/error
Installingicons
mkdir/usr/local/apache2/icons
mkdir/usr/local/apache2/logs
InstallingCGIs
mkdir/usr/local/apache2/cgi-bin
Installingheaderfiles
Installingmanpagesandonlinemanual
mkdir/usr/local/apache2/man
mkdir/usr/local/apache2/man/man1
mkdir/usr/local/apache2/man/man8
mkdir/usr/local/apache2/manual
Installingbuildsystemfiles
make[1]:
Leavingdirectory`/svnclub/httpd-2.0.59'
3SubversionInstallation
DownloadSubversioninstallationsourcefilefromapacheofficialwebsite:
http:
//subversion.tigris.org/servlets/ProjectDocumentList?
folderID=260&expandFolder=260&folderID=260.HereIdownload:
subversion-1.4.4.tar.gz.
[root@svnclub03svnclub]#tar-xzvfsubversion-1.4.4.tar.gz
[root@svnclub03svnclub]#cdsubversion-1.4.4.tar.gz
Enabletheldapmodulewhileinstallingapache.
[root@svnclub03subversion-1.4.4]#/configure--with-apxs=/usr/local/apache2/bin/apxs--prefix=/usr/local/subversion--with-apr=/usr/local/apache2
…
checkingforperl.../usr/bin/perl
checkingforruby.../usr/bin/ruby
checkingforrb_hash_foreach()...no
configure:
WARNING:
ThedetectedRubyistoooldforSubversiontouse
configure:
WARNING:
ARubywhichhasrb_hash_foreachisrequiredtousethe
configure:
WARNING:
SubversionRubybindings
configure:
WARNING:
Upgradetotheofficial1.8.2release,orlater
checkingforswig.../usr/bin/swig
checkingswigversion...1.3.21
configure:
WARNING:
DetectedSWIGversion1.3.21
configure:
WARNING:
Subversionrequires1.3.24orlater,andisknowntowork
configure:
WARNING:
withversionsupto1.3.29
configure:
Configuringpythonswigbinding
checkingforPythonincludes...-I/usr/include/python2.3
checkingforcompilingPythonextensions...gcc-pthread-fno-strict-aliasing-DNDEBUG-O2-g-pipe-m32-march=i386-mtune=pentium4-D_GNU_SOURCE-fPIC-fPIC
checkingforlinkingPythonextensions...gcc-pthread-shared
checkingforlinkingPythonlibraries...
checkingforapr_int64_tPython/CAPIformatstring...L
checkingperlversion...5008005
configure:
creating./config.status
config.status:
creatingMakefile
config.status:
creatingtools/backup/hot-backup.py
config.status:
creatingcontrib/client-side/svn_load_dirs.pl
config.status:
creatingcontrib/client-side/svncopy.pl
config.status:
creatingcontrib/client-side/testsvncopy.pl
config.status:
creatingtools/hook-scripts/commit-access-control.pl
config.status:
creatingtools/hook-scripts/commit-email.pl
config.status:
creatingsubversion/bindings/swig/perl/native/Makefile.PL
config.status:
creatingpackages/solaris/pkginfo
config.status:
creatingsubversion/svn_private_config.h
config.status:
executingmkdir-initcommands
/usr/bin/install-c-dsubvers
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- svn 配置 linux