LinuxÏÂÅäÖÃʹÓÃSVN
from: http://yangsq.javaeye.com/blog/162649
ƽʱµÄÍŶӿª·¢£¬ÉÙ²»ÁËÒªÓÃÒ»¸öÐ×÷¹¤¾ß¡£¶ÔÓÚÒÔÇ°£¬ÎÞÒÉcvsÊǸöÎÞ´íµÄÑ¡Ôñ£¨ÏñIBMµÄÈ«Çò´úÂëά»¤£©¡£µ«ÊÇ£¬¿Æ¼¼ÔÚ·¢Õ¹Âð£¬ÏÖÔÚÓÐÁ˸üºÃµÄsvnÁË£¬ËùÒÔÖ±½Ó¾ÍÊÇsvn°É¡£ÓйØsvnµÄ¾ßÌåÐÅÏ¢¿ÉÒÔÉÏËüµÄ¹ÙÍø»òwww.subversion.org.cn
ÍøÉϹØÓÚsvnµÄÒ²²»ÉÙ£¬²»¹ý¸Ð¾õ´ó¶¼³ö×ÔÒ»´¦£¬Ò²²»ÖªµÀquoteµÄÈËÕæµÄÊÔ¹ýûÓС£µ±È»£¬Ñ§Ï°Â𣬵«¸öÈ˸оõѧÍêÈ˼ҵĶ«Î÷Ò»¶¨ÒªÓÐ×Ô¼ºµÄÌå»á¡£ÏÂÃæÊÇÎÒµÄÒ»¸ö¼òµ¥µÄÅäÖùý³Ì¡£
Ê×ÏÈ£¬¿Ï¶¨ÊÇsvnµÄ°²×°£¬Õâ¸öºÜ¼òµ¥£º
sudo apt-get install subversion
sudo apt-get install libapache2-svn£¨Õâ¸öÊǺÍapacheÅäºÏʹÓõģ¬apacheµÄ°²×°¾Í²»ËµÁË£©
Íê³É°²×°ºó£¬¸øϵͳÌí¼ÓÒ»¸öÓû§×飨Èçsvn£©£¬°ÑÏëÒª¼ÓÈëÕâ¸ö×éµÄ¼Óһϣ¨ÖÁÉÙÒª°ÑÄã×Ô¼º¼Ó½ø°É£©¡£
ÏÔÈ»£¬Ïñ´úÂëά»¤£¬°æ±¾¿ØÖÆÕâÖÖ¶«Î÷£¬¿Ï¶¨ÊÇcs½á¹¹µÄ¡£ËùÒÔÏÂÃæÏÈ´Ósvn·þÎñÆ÷µÄÅäÖÃ˵Æð¡£
svn·þÎñÆ÷µÄÅäÖúͼòµ¥¹ÜÀí
svn·þÎñÆ÷¶ËµÄÅäÖÃÖ÷ÒªÊÇÒ»¸ö×ÊÔ´¿âµÄ´´½¨£¬Õâ¸ö×ÊÔ´¿â¿ÉÒÔ¾ÍÒ»¸ö£¬Ò²¿ÉÒÔÊÇÒ»¸öÊ÷×´½á¹¹µÄ£¨²»½¨ÒéʹÓÃÉÁֽṹ£©¡£ÎÒÏë´´½¨Ò»¸ötest×ÊÔ´¿â£¬²¢°ÑËü·ÅÔÚ/usr/local/svnÏ£¨×ÊÔ´¿âÒ»°ã¶¼·ÅÔÚ/usr/local or /homeÏ£©£º
$cd /usr/local/
$sudo mkdir svn
$sudo mkdir svn/test
$sudo chown -R root:svn svn/
$sudo chmod -R g+rws svn/
×¼±¸¹¤×÷×öºÃÁË£¬ÏÂÃæ¾ÍÊÇ´´½¨×ÊÔ´¿âÁË£º
$sudo svnadmin create /usr/local/svn/test
ºÃÁË£¬ÕâÑùÒ»¸ö×ÊÔ´¿â¾Í½¨ºÃÁË£¬ºÜ¼òµ¥£¬Èç¹ûÄãÒªls /usr/local/svn/testһϣ¬¾Í»á·¢ÏÖ³öÏÖÁËһЩÎļþºÍÎļþ¼Ð£¨È磬conf dbµÈ£©£¬ËüÃǵÄ×÷ÓþͲ»ËµÁË£¬È¥orgÉÏ¿´°É¡£
±ð¼±£¬ÕâʱÄ㻹Ҫ×öЩ¹¤×÷
$sudo chown -R root:svn svn/
$sudo chmod -R g+rws svn/
Èç¹ûûÓÐÕâ¸ö£¬½ÓÏÂÀ´¾Í¿ÉÄÜ»á³ö´í£¬³ý·ÇÄãÊÇroot¡£
»¹ÓÐһЩºÃʹµÄ¹¤¾ß£¬Èçsvnlook£¬svnadmin£¬svndumpfilter£¬ËûÃÇÉæ¼°µ½svn×ÊÔ´¿â¹ÜÀíµÄ·½·½ÃæÃ棬ºÜÇ¿´ó£¬ÕâÀï²»½éÉÜÁË£¬ÓõÄʱºò¾Í²é°Éwww.subversion.org.cn/svnbook¡£ÐèҪעÒâµÄÊÇ£¬ÕâЩ¹ÜÀí¹¤¾ßµÄʹÓ㬺óÃæ¸úµÄÊǾø¶Ô·¾¶£¬²»ÒªºÍÏÂÃæ¿Í»§¶ËµÄËùʹÓ÷¾¶»ìÏý¡£
svn¿Í»§¶ËµÄʹÓÃ
svn¿Í»§¶Ë¾ÍÊÇÓÃÀ´·ÃÎʲÙ×÷×ÊÔ´¿â×ÊÔ´µÄ£¬ËüÓж෽ʽ£¬ÈçÖ±½ÓµÄfile·ÃÎÊ£¬×Ô´øÐÒéµÄ·ÃÎÊ£¬http£¬httpsµÈ´ý¡£ÕâÀïÖ»½éÉÜÁ½ÖÖ£¬¼´fileÖ±½Ó·ÃÎʺÍ×Ô´øÐÒéµÄ·ÃÎÊ¡£
Ö±½Ó·ÃÎÊ
Ëùνֱ½Ó·ÃÎʾÍÊÇͨ¹ýÃüÁîÐÐÖ±½Ó¶Ô×ÊÔ´¿â½øÐзÃÎÊ¡£ÏÂÃæÊÇһЩÀý×Ó£º
ÎÒÔÚÎҵļÒĿ¼ÏÂÓиöwo
Ïà¹ØÎĵµ£º
1.fork
´´½¨Ò»¸öнø³Ì
2.clone
°´Ö¸¶¨Ìõ¼þ´´½¨×Ó½ø³Ì
3.execve
ÔËÐпÉÖ´ÐÐÎļþ
4.exit   ......
Èç¹ûÊÇÒÔtarballÐÎʽ°²×°°²×°£¬È¥rar
ÍøÕ¾ÏÂÔØÏàÓ¦°æ±¾µÄtarball¡£µØַΪ
http://www.rarlab.com/
ÒÔ3.8°æ±¾ÎªÀý£¬Èç¹ûÊÇi386µÄƽ̨,Ö´ÐÐÒÔÏÂÃüÁ
$wget http://www.rarlab.com/rar
/rarlinux-3.8.0.tar.gz
rar
Èí¼þ²»ÐèÒª°²×°£¬Ö±½Ó½âѹµ½/usr/localÏ£¬ÒÔϲÙ×÷ÐèÒªÓÐroot
ȨÏÞ¡£
#tar zxvf rarlinux-3.8.0 ......
# uname -a # ²é¿´ÄÚºË/²Ù×÷ϵͳ/CPUÐÅÏ¢
# head -n 1 /etc/issue # ²é¿´²Ù×÷ϵͳ°æ±¾
# cat /proc/cpuinfo # ²é¿´CPUÐÅÏ¢
# hostname # ²é¿´¼ÆËã»úÃû
# lspci -tv # ÁгöËùÓÐPCIÉ豸
# lsusb -tv # ÁгöËùÓÐUSBÉ豸
# lsmod # Áгö¼ÓÔصÄÄÚºËÄ£¿é
# env # ²é¿´»·¾³±äÁ¿ ×ÊÔ´
# free -m # ²é¿´ÄÚ´æʹÓÃÁ¿ºÍ½»»»Ç ......
¶ÔÓںܶàÆÕͨÓû§À´ËµLinuxÊÇÉñÃصģ¬ºÜ¶àÅóÓÑ´Ó½Ó´¥PC¿ªÊ¼½Ó´¥µÄ¾ÍÊÇwindow£¬Ò»ÇÐÏ°¹ß¶¼Ô´ÓÚwindow£¬ÅóÓÑLinuxϵͳ¼¸ºõÊøÊÖÎ޲ߣ¨±ÊÕß»ù±¾¾ÍÕâÑù£¬ËùÒÔÔÚŬÁ¦Ñ§Ï°ing…£©£¬ÄÇôLinuxµ½µ×ÄÜ×öЩʲô£¬ÓÖÓÐʲôÓÃ;ÄØ£¿ÈÃÎÒÃÇÀ´Ò»Ì½¾¿¾¹¡£ÊÀ½çÉÏ×î´óµÄ¼¼ÊõÖ§³Ö¡¢Èí¼þºÍÓ²¼þ¹«Ë¾Ã¿ÌìÊ¹Ó ......
¹¦ÄÜ˵Ã÷£ºÇãµ¹ÍøÂç´«ÊäÊý¾Ý¡£
Óï¡¡¡¡·¨£ºtcpdump [-adeflnNOpqStvx][-c<Êý¾Ý°üÊýÄ¿>][-dd][-ddd][-F<±í´ïÎļþ>][-i<ÍøÂç½çÃæ>][-r<Êý¾Ý°üÎļþ>][-s<Êý¾Ý°ü´óС>][-tt][-T<Êý¾Ý°üÀàÐÍ>][-vv][-w<Êý¾Ý°üÎļþ>][Êä³öÊý¾ÝÀ¸Î»]
²¹³ä˵Ã÷£ºÖ´ÐÐtcpdumpÖ¸Áî¿ÉÁгö¾¹ýÖ¸¶¨ÍøÂç½çÃæµ ......