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

linux ϵͳÃÜÂëÍü¼ÇºóµÄ 5 ÖÖ·½·¨¡¾×ª¡¿

Èç¹ûÄã¼Èû×öϵͳÆô¶¯ÈíÅÌ£¬Í¬Ê±¶àϵͳµÄÒýµ¼LILO ºÍGRUB ÓÖ±»É¾³ý£¬ÄÇôֻÄÜʹÓÃLinux ϵͳ°²×°ÅÌÀ´»Ö¸´rootµÄÃÜÂ룬²½ÖèÈçÏ¡£ Ò». liloÒýµ¼ÔÚ³öÏÖ lilo: Ìáʾʱ¼üÈë linux single Boot: linux single »Ø³µ¿ÉÖ±½Ó½øÈëlinuxµ¥Óû§Ä£Ê½ vi /etc/passwd ɾ³ýrootÏîÖеÄÃÜÂë (ÕâÀïÒ²¿ÉÒÔÖ±½ÓʹÓÃpasswdÃüÁîÖØÐÂÉèÖÃrootµÄÃÜÂë) rebootÖØÆô£¬rootÃÜÂëΪ¿Õ ¶þ. grubÒýµ¼ÔÚ³öÏÖgrub»­Ãæʱ£¬Ñ¡ÔñlinuxÒýµ¼ÏȻºó°´e¼ü Ñ¡ÔñÒÔkernel¿ªÍ·µÄÒ»ÐУ¬ÔÙ°´e ¼ü£¬ÔÚ´ËÐеÄĩ⣬°´¿Õ¸ñ¼üºóÊäÈësingle£¬ÒԻسµ¼üÀ´Í˳ö±à¼­Ä£Ê½; »Ø³µ·µ»Ø£¬È»ºó°´b¼üÆô¶¯£¬¼´¿ÉÖ±½Ó½øÈëlinuxµ¥Óû§Ä£Ê½ vi /etc/passwd ɾ³ýrootÏîÖеÄÃÜÂë (ÕâÀïÒ²¿ÉÒÔÖ±½ÓʹÓÃpasswdÃüÁîÖØÐÂÉèÖÃrootµÄÃÜÂë) rebootÖØÆô£¬rootÃÜÂëΪ¿Õ Èý¡¢¿ÉÒÔʹÓÃlinuxÆô¶¯ÈíÅÌÒýµ¼ ³öÏÖbootºó£¬ÊäÈëlinux single ¿É½øÈëµ¥Óû§Ä£Ê½; Ð޸Ļòɾ³ýrootÃÜÂë; ËÄ¡¢Ê¹ÓÃLinuxϵͳ°²×°ÅÌ Èç¹ûÄã¼Èû×öϵͳÆô¶¯ÈíÅÌ£¬Í¬Ê±¶àϵͳµÄÒýµ¼LILO ºÍGRUB ÓÖ±»É¾³ý£¬ÄÇôֻÄÜʹÓÃLinux ϵͳ°²×°ÅÌÀ´»Ö¸´rootµÄÃÜÂë¡£ ÓõÚÒ»ÕÅLinux ϵͳ°²×°ÅÌÆô¶¯£¬³öÏÖboot Ìáʾ·ûºóÊäÈ룺 ·········10········20········30········40········50········60········70········80········90 1.oot: linux rescue ´Ëʱϵͳ½øÈë¾ÈԮģʽ£¬È»ºó¸ù¾ÝÌáʾÍê³É£º1.Ñ¡ÔñÓïÑԺͼüÅ̸ñʽ;2.Ñ¡ÔñÊÇ·ñÅäÖÃÍø¿¨£¬Ò»°ãϵͳÒòÍøÂç²»ÐèÒª£¬ËùÒÔ¿ÉÒÔÑ¡Ôñ·ñÌø¹ýÍø¿¨ÅäÖÃ;3 . Ñ¡ÔñÊÇ·ñÈÃϵͳ²éÕÒÓ²ÅÌÉϵÄRedhat Linux ϵͳ£¬Ñ¡Ôñ¼ÌÐø;4.ϵͳÏÔʾӲÅÌÉϵÄϵͳÒѾ­±»ÕÒµ½£¬²¢¹ÒÔØÔÚ/mnt/sysimage ÏÂ;5.½øÈëÕü¾È״̬£¬¿ÉÖØÐÂÉèÖÃroot µÄÃÜÂ룺 ·········10········20········30········40········50········60·


Ïà¹ØÎĵµ£º

linux api±Ê¼Ç£¨4£©£ºỊ̈߳¨¶þ£©

ÕâÒ»½ÚÎÒÃÇÀ´¿´¿´ÆäËûÏ̺߳¯Êý£º
int pthread_tryjoin_np(pthread_t thread_handle, void ** thread_return);
int pthread_timedjoin_np (pthread_t thread_handle, void **thread_return, __const struct timespec *abstime);
pthread_tryjoin_np»á¿ÉÒÔÓÃÀ´ÅжÏthread_handleÖ¸ÏòµÄÏß³ÌÊÇ·ñÒѾ­ÖÐÖ¹£¬Èç¹ûûÓÐÔò*thre ......

ǶÈëʽLinuxϵͳCGI³ÌÐòÉè¼Æ¼¼Êõ

ǶÈëʽLinuxϵͳCGI³ÌÐòÉè¼Æ¼¼Êõ
ÕªÒª£ºÔÚÏêϸ½éÉÜÒ»ÖÖǶÈëʽWeb·þÎñÆ÷BOAµÄʵÏÖÓëÅäÖ÷½·¨µÄ»ù´¡ÉÏ£¬ÒÔÒ»¸öWebÔÚÏßÔ¶³Ì¼à¿ØGPIO£¨Í¨ÓÃÊäÈë/Êä³ö£©µÄ³ÌÐòΪʵÀý£¬½éÉÜǶÈëʽLinuxϵͳÏÂCPU³ÌÐòÉè¼Æ¼¼Êõ¡£
   ¹Ø¼ü´Ê£ºÇ¶ÈëʽϵͳLinux BOA CGI GPIO
1 ¸ÅÊö
Ëæ×Å»¥ÁªÍøÓ¦ÓõÄÆÕ¼°£¬Ô½À´Ô½¶àµÄÐÅÏ¢»¯²úÆ·ÐèÒª½Ó ......

windowsÉϵÄlinuxÖ±½Óɾ³ýºó³öÏÖgrubµÄÆô¶¯»­Ãæ

ÔÚwindowsÉϳ¢ÊÔcentosºóÎÒÖ±½Ó¸ø¸ñʽ»¯µôcentos£¬Æô¶¯ÏµÍ³³öÏÖgrubµÄÆô¶¯»­Ã棬ÓÐ2¸ö½â¾ö·½°¸
1£ºÔÚdos»·¾³ÏÂÓÃfdisk /mbr ¼¶¿ÉÒÔÐÞ¸´mbr¼´¿É
2£ºÈç¹ûûdosÅÌÔòÓÃÏÂÃæÃüÁ
  1£©rootnoverify (hd0,0)  //»Ø³µ£¬¼ÇµÃrootnoverifyºóÃæÓиö¿Õ¸ñ
  2£©chainloader (hd0,0)+1 // ¼ÇµÃ»¹ÊÇÓпոñ
  3 ......

Ïê½âLinuxÖÐcron/crontab¹¤×÷Ô­Àí

ÏȽéÉܼ¸¸ö»ù±¾¸ÅÄ
ºǫ́½ø³Ì£ºÔÚºǫ́ÔËÐеÄÎÞÐëÓëÓû§½»»¥µÄ³ÌÐò¡£ÔÚ¶àÈÎÎñ²Ù×÷ϵͳÉÏÔËÐжà¸öºǫ́½ø³Ì£¬ÓÐЩºǫ́½ø³Ì£¨ÀýÈçÊØ»¤³ÌÐò£©´ÓÀ´¶¼²»ÐèÒªÓû§ÊäÈ룬ÆäËüһЩ½ø³ÌÖ»ÊÇÔÚÓû§Ã¦ÓÚÄ¿Ç°ÔËÐÐÓÚǰ̨µÄ³ÌÐòʱ²ÅÁÙʱ´¦ÓÚºǫ́¡£
ÊØ»¤½ø³ÌÊÇÒ»ÖÖºǫ́½ø³Ì¡£crond½ø³ÌÊÇÖÚ¶àÊØ»¤½ø³ÌÖеÄÒ»ÖÖ£¬¿´¿´cronÕâ¸öµ¥´ÊÔÚ×ÖµäÀïà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ