Ç°¼¸Ì쿪ʼÔÚSUSEÉÏÓÃsubversion¡£Å£×Ü˵×îºÃµÄÆô¶¯·½Ê½ÊǸúApacheÕûºÏÔÚÒ»ÆðÓã¬ËµÊÇȨÏÞ¹ÜÀí¸ü·½±ã¡£µ«ÊÇÎÒÖ»²»¹ýÒ»¸öÈËʹÓöøÒÑ£¬»¹ÊÇÑ¡¼òµ¥Ò»µãµÄ¶ÀÁ¢·þÎñÆ÷svnserveºÃÁË¡£
ͨ¹ýÒÔϼ¸¸ö²½Ö裬½«svnserveÉèÖÃΪ¿ª»ú×ÔÆô¶¯µÄ·þÎñÁË¡£
1. ÔĶÁ/etc/init.d/svnserve½Å±¾£¬´ÓÏÂÃæµÄƬ¶ÎÖеõ½Æô·¢£¬È¥¸Ä/etc/sysconfig/svnserveÖеÄÉèÖÃ
...
SVNSERVE_BIN=/usr/bin/svnserve
...
SVNSERVE_CONFIG=/etc/sysconfig/svnserve
...
. $SVNSERVE_CONFIG
...
case "$1" in
start)
echo -n "Starting svnserve "
## Start daemon with startproc(8). If this fails
## the return value is set appropriately by startproc.
startproc -u "$SVNSERVE_USERID" -g "$SVNSERVE_GROUPID" -e $SVNSERVE_BIN $SVNSERVE_OPTIONS
...
2. ÐÞ¸Ä/etc/sysconfig/svnserveÎļþÖеÄÏÂÁÐÄÚÈÝ
#####×¢ÒâÈ¥µô-R£¬·ñÔò»áÇ¿ÖÆÖ»¶Á£»
#####×¢Òâ²Ö¿âµÄ·¾¶ÒªÆ´Ð´ÕýÈ·
SVNSERVE_OPTIONS="-d -r /home/zhangrui/project/svnRepository/sft"
#####ÉèΪ´æÔÚµÄÓû§ºÍÓû§×飬ÎÒ¾ÍÉèΪ×Ô¼º³£ÓõǼµÄÓû§ÁË
SVNSERVE_USERID="zhangrui"
SVNSERVE_GROUPID="users"
3. ÔÚYAST-->ϵͳ-->ϵͳ·þÎñ ÖпªÆôsvnserve·þÎñ£¨level3,5£©
»òÕßÓÃrootÔËÐÐchkconfig -s svnserve on
ºó¼Ç£º·½·¨µ±È»²»Ö¹Ò»¸ö£¬ÍøÉÏÓÐ˵ÓÃ×ÔÆô¶¯½Å±¾µÄ£¬ÓÐ˵ÓÃxinetdÆô¶¯µÄ¡£ÎÒ»¹ÊÇϲ»¶×Ô¼ºÓõÄÕâ¸ö·½·¨£¬»áÔÚÆô¶¯¹ý³ÌÖгöÏÖÒ»ÐС°Starting svnserve done¡±£¬¶àºÃ¡£