LinuxÐÞ¸ÄÆô¶¯Ïî ¼°Í¼ÐÎ/ÎÄ×Ö½çÃæÇл»
LinuxͼÐνçÃæºÍÎÄ×Ö½çÃæÆô¶¯ÏµÍ³·½Ê½µÄÇл»
ת×Ô:http://www.webisok.com/46/t-1346.html
ÒÔrootµÄÉí·ÝµÇ½£¬È»ºóÖ´ÐУº
#cd /etc
#vi inittab
¸ü¸Ä"id:5:initdefault:"Óï¾ä¼´¿É¡£
ÆäÖÐ5±íʾĬÈÏͼÐÎÆô¶¯½çÃæ
3±íʾĬÈÏÎÄ×ÖÆô¶¯½çÃæ
×¢£ºÔÚÆô¶¯Ö®ºó£¬»¹¿ÉÒÔͨ¹ýÏÂÃæµÄÓï¾ä½øÐÐÇл»£º
#init n
Èç¹ûÔÚͼÐνçÃæÏ£¬ÊäÈë#init 3£¬Ôò½øÈëÎÄ×Ö½çÃæ¡£
Èç¹ûÔÚͼÐνçÃæÏ£¬ÊäÈë#init 5£¬Ôò½øÈëÎÄ×Ö½çÃæ¡£
LinuxÊÇÒ»¸ö¶àÓû§²Ù×÷ϵͳ£¬¿ÉÒÔÉ趨Ϊid:5:initdefault:£¬ÐèÒªµÄʱºò°´CTRL£«ALT£«Fn(nΪ1£6£©¾Í¿ÉÒÔ½øÈëµ½ÃüÁîÐÐÓû§½çÃæ¡£
Ïà¹ØÎĵµ£º
http://blog.csdn.net/hzdysymbol/archive/2009/01/17/3796814.aspxÒ»¡¢ÔÚÒ»¸öÒѽ¨ºÃµÄÎļþϵͳÉϽøÐÐÐÞ¸Ä
ÉèÒѽ¨Á¢ºÃµÄÎļþϵͳѹËõÎļþΪramdisk.gz
1¡¢½âѹ
#cd ramdisk.gzËùÔÚĿ¼
#gunzip ramdisk.gz
Ô ......
µ±ÄÚºËÐèÒªµÈ´ýÒ»¸ö±È½Ï¶ÌµÄʱ¼ä¼ä¸ôʱ£¬±È·½Ëµ£ºÓÐʱºòÉ豸Çý¶¯Æ÷»áµÈ´ýÔ¤Ïȶ¨ÒåµÄÈô¸É¸ö΢ÃîµÄʱ¼äÖ±µ½Ó²¼þÍê³ÉijЩ²Ù×÷¡£ÓÉÓÚ¶¯Ì¬¶¨Ê±Æ÷ͨ³£ÓкܴóµÄÉèÖÿªÏúºÍÒ»¸öÏ൱´óµÄ×îСµÈ´ýʱ¼ä£¨1ms£©£¬ËùÒÔÉ豸Çý¶¯Æ÷ʹÓÃËü»áºÜ²»·½±ã¡£
ÔÚÕâЩÇé¿öÏ£¬ÄÚºËʹÓÃudelay£¨£©ºÍndelay£¨£©º¯Êý£ºÇ°Õß½ÓÊÕÒ»¸ö΢Ãî¼¶µÄʱ¼ä¼ä¸ô×÷Î ......
1¡¢½«Îļþcheckoutµ½±¾µØÄ¿Â¼
svn checkout path£¨pathÊÇ·þÎñÆ÷ÉϵÄĿ¼£©
ÀýÈ磺svn checkout svn://192.168.1.1/pro/domain
¼òд£ºsvn co
2¡¢Íù°æ±¾¿âÖÐÌí¼ÓеÄÎļþ
svn add file
ÀýÈ磺svn add test.php(Ìí¼Ótest.php)
svn add *.php(Ìí¼Óµ±Ç°Ä¿Â¼ÏÂËùÓеÄphpÎļþ)
3¡¢½«¸Ä¶¯µÄÎļþÌá½»µ½°æ±¾ ......
serv_addr.sin_family=AF_INET;
serv_addr.sin_port=htons(SERVPORT);
inet_pton(AF_INET,"127.0.0.1",&serv_addr.sin_addr);
IPµØÖ·×ª»»º¯ÊýÓУºinet_pton,inet_addr,inet_aton,inet_ntoa£¬inet_ntop
ǰÈý¸öÊǽ«ASCII×Ö·ûת»»³ÉÍøÂç×Ö½ÚÐò£»
×îºóÁ½¸öÊǽ«ÍøÂç×Ö½ÚÐòת»»³ÉASCII×Ö·û¡£
ÏÖÔÚÍÆ¼öʹÓÃine ......
£¨Ò»£©RedHat/CentOS/Fedora ϵͳÃÜÂëÆÆ½â
¡¡¡¡1.ÔÚgrubÑ¡Ïî²Ëµ¥°´E½øÈë±à¼Ä£Ê½¡£
¡¡¡¡2.±à¼kernel ÄÇÐÐ×îºó¼ÓÉÏS£¨»òÕßSingle£©¡£
¡¡¡¡3.°´B£¬Æô¶¯µ½single-user mode¡£
¡¡¡¡4.½øÈëºóÖ´ÐÐÏÂÁÐÃüÁ
¡¡¡¡# mount -t proc proc /proc
¡¡¡¡# mount -o remount,rw /
¡¡¡¡#passwd
¡¡¡¡#sync
¡¡¡¡#reboot
£¨¶þ£©D ......