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
Ïà¹ØÎĵµ£º
´´½¨×ÀÃæÍ¼±ê
Ŀǰ½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËÆµÄ·½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......
ÏêÇéÇë·ÃÎÊ£ºhttp://deb.opera.com/
Opera
¹Ù·½Ô´£º
×îеİ汾:
deb http://deb.opera.com/opera/ unstable non-free
»òÕßÑ¡ÔñÎȶ¨µÄ°æ±¾£º
deb http://deb.opera.com/opera/ stable non-free
£¨ÐÞ¸Äsources.listÎļþÖÐÔ´µÄÁÐ±í£¬Ìí¼ÓOpera Ô´£©ÃüÁ
sudo gedit /etc/apt/sources.list
£¨±¸·Ýµ±Ç°µÄÔ´ÁÐ±í£© ......
Ê×ÏÈÎÒÃÇÐèÒªÁ˽âlinux
ÏÂÓ²Á´½ÓÒÔ¼°ÈíÁ¬½ÓµÄ»ù±¾¸ÅÄî.
Ó²Á´½Ó£ºÐ½¨µÄÎļþÊÇÒѾ´æÔÚµÄÎļþµÄÒ»¸ö±ðÃû£¬µ±ÔÎļþɾ³ýʱ£¬Ð½¨µÄÎļþÈÔÈ»¿ÉÒÔʹÓÃ.
ÈíÁ´½Ó£ºÒ²³ÆÎª·ûºÅÁ´½Ó£¬Ð½¨µÄÎļþÒÔ“
·¾¶”
µÄÐÎʽÀ´±íʾÁíÒ»¸öÎļþ£¬ºÍWindows
µÄ¿ì½Ý·½Ê½Ê®·ÖÏàËÆ£¬Ð½¨µÄÈíÁ´½Ó¿ÉÒÔÖ¸Ïò²»´æÔÚµÄÎļþ.
ÏÂÃæÏêϸ½ ......
ÍøÂçÉ豸½á¹¹Ì壺
struct sk_bufff{}
ËüµÄ¶¨ÒåÔÚlinux/skbuff.hÖÐ
sk_buff ÖÐÓÐÈý²¿·ÖÐÒéÍ··Ö±ðÃüÃûΪ¡°h,nh,mac¡±
h:Ϊ´«Êä²ãÐÒé(ICMP,IGMP)¡£
nh:ÎªÍøÂç²ãÐÒéÍ·¡£
mac:Á´Â·²ãÐÒéÍ·¡£ Èý¸öÐÒéÍ·ÊÇʹÓÃÁªºÏÌåµÄ£¬ÔÒòÊÇ£¬ÐÒé±¾ÉíÊÇ»¥³âµÄ¡£ ½á¹¹ÌåµÄ¶¨Òå¿ÉÒÔ¿´Í·Îļþ»òÊÇ¡¶ÄÚºË ......
Ò»¡¢USB´ÓÉ豸Çý¶¯½éÉÜ
USB×ÜÏßÉÏÖ÷ÒªÓÐÈýÀàÉ豸£ºÖ÷¿ØÖÆÆ÷£¨Host Controller£¬ such as
EHCI¡¢UHCI¡¢OHCI£©¡¢¼¯Ï߯÷£¨hub£©ºÍÉ豸£¨device£©¡£Host controller£¨HC£©¸ºÔð×ÜÏߵĹÜÀí
£¬
ÊÇ×ÜÏßµÄÖ¸»Ó¹Ù£¬×ÜÏßÉÏÒ»Çд«Êä¶¼ÊÇÓÉHC·¢ÆðµÄ£¬Ö§³ÖOTGµÄDeviceÒ²ÄÜ·¢Æð´«Ê䣻HubÊÇ×ÜÏߵĽڵ㣬ÓÃÀ´À©Õ¹×ÜÏßÉϿɽÓÈëÉ豸µÄÊýÁ¿ ......