Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÏÂÅäÖÃSVN Server(¶þ)

ÔÚÒ»ÖÐÒѾ­ËµÃ÷ÁËÔÚlinuxÏÂÅäÖÃSVN serverµÄÖ÷Òª²½Ö裬Èç¹ûÈí¼þÒÀÀµÃ»ÓÐÎÊÌâµÄ»°Ó¦¸ÃÒѾ­°²×°³É¹¦ÁË£¬ÏÂÃæ¾ÍÊÇÅäÖõÄÎÊÌâÁË¡£Ê×ÏÈҪȷ¶¨subversionµÄÁ½¸öÄ£¿éÊDz»ÊÇÕýÈ·µÄ°²×°µ½ÁËapacheÏ£¬¿ÉÒÔÔÚapacheµÄÒ»¸öÅäÖÃÎļþÖп´µ½£¬¸ÃÅäÖÃÎļþÔÚapacheµÄ°²×°Ä¿Â¼Ï /conf/httpd.conf
ÔÚhttpd.confÏÂÃæ»áÓÐÁ½ÐУº
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
ÕâÑù±íʾ°²×°³É¹¦£¬·ñÔò»¹ÐèÒª×Ô¼ºÊÖ¶¯½«ÕâÁ½¸öÄ£¿é´ÓsubversionµÄԴĿ¼ÀïÃæÕÒµ½ÕâÁ½¸öÄ£¿é£¬È»ºó¿½±´µ½ apacheµÄ°²×°Ä¿Â¼/modulesÏÂÃ棬ȻºóÐÞ¸ÄÅäÖÃÎļþ/conf/httpd.conf£¬Ìí¼Ó½øÈ¥ÄÇÁ½ÐС£
È»ºó»¹ÊÇÒªÐÞ¸ÄapacheÅäÖÃÎļþ£¬Ìí¼Ó½øÈ¥subversionµÄ·ÃÎÊλÖ㬲¢Öƶ¨·ÃÎÊ·½Ê½£¬ÎÒµÄÊéд·½Ê½ÈçÏ£º
<Location /svn>
    
57    DAV svn
    
58    SVNParentPath
/data3/SVN/repos
    
59    AuthType Basic
    
60    AuthName "Subversion
repository"
    
61    AuthUserFile
/data3/SVN/passwd
    
62    AuthzSVNAccessFile /data3/SVN/auth
    
63    Require valid-user
    
64 </Location>
ÆäÖУ¬/svn±íʾÁËÔÙ·ÃÎÊapache·þÎñÆ÷µÄʱºò£¬ÓòÃûµØÖ·µÄ×ÓĿ¼£¬ SVNParentPath±íʾµÄÊÇ´ÅÅÌÉϵÄλÖ㬼ǼÎļþĿ¼ÊÇrepos£»AuthUserFile ±íʾµÄÊÇÓû§ÎļþÁÐ±í£»AuthzSVNAccessFile ±íʾµÄÊÇ·ÃÎÊȨÏÞÁÐ±í¡£ÆäÖУ¬passwdºÍauthÐèÒª×Ô¼ºÊÖ¶¯´´½¨£¬²¢Ìí¼ÓÄÚÈÝ¡£passwdÓÐÌṩµÄÃüÁî¿ÉÒÔ´´½¨£¬Ö»ÐèҪ˵Ã÷Îļþ·¾¶¡¢ÊäÈëÓû§ÃûºÍÓû§ÃÜÂë¾Í¿ÉÒÔÁË£¬ÔÚʵ¼ÊµÄÎļþÖУ¬Óû§ÃÜÂëÊÇÓÃMD5¼ÓÃܵÄ×Ö·û´®¡£
´´½¨passwd£º#apache°²×°Ä¿Â¼/bin/htpasswd -c /data3/SVN/passwd usrname
È»ºó»áÌáʾÄãÊäÈëÃÜÂ룬ÃüÁî»á×Ô¶¯´´½¨Îļþpasswd²¢Ð´ÈëusrnameºÍÃÜÂëµÄMD5¼ÓÃÜ×Ö·û´®¡£
 

 
#svnadmin create /data/svn/repos/usrname

 


Ïà¹ØÎĵµ£º

LinuxÏ»·¾³°²×°ÅäÖÃRose HAÈ«¹¥ÂÔ(ͼ)

LinuxÏ»·¾³°²×°ÅäÖÃRose HAÈ«¹¥ÂÔ(ͼ)
Ò».°²×°Rose HA
ÈçºÎÔÚLinux»·¾³Ï°²×°Rose HA¡£±¾ÎļÙÉè»·¾³ÎªLinux²Ù×÷ϵͳ£¬²ÉÓÃ9.2°æ±¾µÄoracleÊý¾Ý¿â¡£ÏÂÃæÎÒÃÇ¿´¿´£¬ÔÚLinux Oracle»·¾³ÏÂÈçºÎ°²×°ºÍÅäÖÃRose HA¡£
    Ê×ÏȽ«¹âÅ̷Žø¹âÇý 
 
A £º ÔÚ¹¤×÷»úÉϽ«×ÊÔ´Ò»Ò»µãÖУ¬Ê¹×ÊÔ´´¦ÓÚ¸ßÁÁ× ......

LinuxÏÂÎļþµÄÍøÂç´«Êä

½ñÌìµÄÊÂÌ«¶à£¬Ã»ÓÐÈÏÕæµÄÍê³ÉÈÎÎñ£¬²»¹ý°Ñ·þÎñÆ÷¶ËµÄÎļþ´«Êä×öºÃÁË£¡
Ã÷Ìì°Ñ·þÎñÆ÷¶ËµÄ´úÂ뼯³ÉÆðÀ´²âÊÔһϣ¬²¢°ÑÍøÂç¿Í»§¶Ë³ÌÐò×öºÃ£¡
°Ñ´úÂëÌù³öÀ´°É£¡±ãÓÚ±£´æ£¡
Í·Îļþ£ºserver_udpsocket.h
#ifndef _SERVER_UDPSOCKET_H_
#define _SERVER_UDPSOCKET_H_
#include <stdio.h>
#include <stdlib.h> ......

Linux²é¿´ÏµÍ³ÅäÖó£ÓÃÃüÁî

ϵͳ
# uname -a               # ²é¿´
ÄÚºË/²Ù×÷ϵͳ/CPUÐÅÏ¢
# head -n
1 /etc/issue   # ²é¿´
²Ù×÷ϵͳ°æ±¾
# cat /proc/cpuinfo      # ²é¿´
CPUÐÅÏ¢
#
hostname    &nb ......

linuxÏÂcÓïÑÔÁ¬½ÓmysqlÊý¾Ý¿â

ÔÚFC8ÖÐĬÈÏ°²×°µÄÓÐmysql£¬Ã»ÓеĻ°¿ÉÒԺܷ½±ãµÄ°²×°Ï¡£
ĬÈϵÄmysqlµÄincludeÎļþĿ¼ÔÚ/usr/include/mysql
ĬÈϵÄmysqlµÄlibÎļþ¼ÐÔÚ/usr/lib/mysql
ÕâÁ½¸öĿ¼ÔÚÎÒÃDZàÒëʱºòÐèÒªµ½¡£
ÎҵIJâÊÔÓõÄC´úÂëΪ£º
££include <stdio.h>
#include <stdlib.h>
#include <mysql.h>
#define CONN_HOST ......

dzÎöLinuxÏÂcoreÎļþ

µ±ÎÒÃǵijÌÐò±ÀÀ£Ê±£¬ÄÚºËÓпÉÄܰѸóÌÐòµ±Ç°ÄÚ´æÓ³Éäµ½coreÎļþÀ·½±ã³ÌÐòÔ±ÕÒµ½³ÌÐò³öÏÖÎÊÌâµÄµØ·½¡£×î³£³ö
Ïֵģ¬¼¸ºõËùÓÐC³ÌÐòÔ±¶¼³öÏÖ¹ýµÄ´íÎó¾ÍÊÇ“¶Î´íÎó”ÁË¡£Ò²ÊÇ×îÄѲé³öÎÊÌâÔ­ÒòµÄÒ»¸ö´íÎó¡£ÏÂÃæÎÒÃǾÍÕë¶Ô“¶Î´íÎó”À´·ÖÎöcoreÎļþµÄ²úÉú¡¢ÒÔ¼°ÎÒÃÇ
ÈçºÎÀûÓÃcoreÎļþÕÒµ½³öÏÖ±ÀÀ£µÄµØ· ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ