Linux GRUB ·½Ê½Çл»Æô¶¯¼¶±ð(runlevel)
ÊÂÒòÐÞ¸ÄÁËij¸öÅäÖÃÎļþ£¬µ¼ÖÂϵͳÆô¶¯Ä³¸ö·þÎñµÄʱºòholdסÁË£¬ÏµÍ³Æô¶¯²»ÆðÀ´¡£ÕâÖÖÇé¿öϳ£³£Í¨¹ýÐ޸ıíÆô¶¯¼¶±ð£¬Çл»µ½·ÇxwindowģʽÏÂÖØÐÂÆô¶¯£¬Ò»°ãÑ¡È¡Æô¶¯¼¶±ðrunlevelΪ3¼´¿É¡£
²Î¿¼»·¾³£ºRedhat Enterprise Linux AS 4
²½Ö裺
1.µ±LinuxÆô¶¯Ê±£¬°´ e ½øÈ¥²ÎÊýÑ¡Ôñ±à¼½çÃ棺
2.Òƶ¯¹â±êÑ¡ÖÐϵͳ£¨Red Hat Enterprise Linux AS (2.6.9-55.ELsmp)£©£¬°´ e£º
3.Òƶ¯¹â±êÑ¡ÖУ¨kernel /vmlinuxz-2.6.9-55.ELsmp ro root=LABEL=/ rhgb quiet£©£º
4.ÐÞ¸ÄrhgbΪ3£¬È»ºó°´enter¼ü£º
5.Ñ¡ÖУ¨kernel /vmlinuxz-2.6.9-55.ELsmp ro root=LABEL=/ 3 quiet£©£¬°´ b£¬ ϵͳÔò½øÈ¥Æô¶¯³ÌÐò¡£
×¢£¬µ±ÏµÍ³rebootʱ£¬»á×Ô¶¯Çл»µ½xwindowsÆô¶¯·½Ê½µÄrunlevel£¨5£©£»
Áí£¬Èç¹ûÄܽøȥϵͳ£¬ »òÕßÄÜÆô¶¯sshd·þÎñ£¬Ôòͨ¹ýÐÞ¸Ä/etc/inittab Îļþ¸ü¸Ärunlevel¡£
Òź¶µÄÊÇÔÝʱÎÞ·¨ÉÏ´«Í¼Æ¬£¬¸÷¸ö²½ÖèµÄ½ØͼֻÄܸéÏÂÁË¡«¡«
²Î¿¼£º
Runlevel System State
0 Halt the system
1 Single user mode
2 Basic multi user mode
3 Multi user mode
5 Multi user mode with GUI
6 Reboot the system
S, s Single user mode
Ïà¹ØÎĵµ£º
linux¶àÏß³ÌÉè¼Æ
¡¡¡¡1 ÒýÑÔ
¡¡¡¡Ị̈߳¨thread£©¼¼ÊõÔçÔÚ60Äê´ú¾Í±»Ìá³ö£¬µ«ÕæÕýÓ¦ÓöàÏ̵߳½²Ù×÷ϵͳÖÐÈ¥£¬ÊÇÔÚ80Äê´úÖÐÆÚ£¬solarisÊÇÕâ·½ÃæµÄٮٮÕß¡£´«Í³µÄUnixÒ²Ö§³ÖÏ̵߳ĸÅÄµ«ÊÇÔÚÒ»¸ö½ø³Ì£¨process£©ÖÐÖ»ÔÊÐíÓÐÒ»¸öỊ̈߳¬ÕâÑù¶àÏ߳̾ÍÒâζ×Ŷà½ø³Ì¡£ÏÖÔÚ£¬¶àÏ̼߳¼ÊõÒѾ±»Ðí¶à²Ù×÷ϵͳËùÖ§³Ö£¬°üÀ¨Windows/NT£ ......
ËäÈ»ÎÒÃÇÏ°¹ßÓÚlinuxÏÂÃüÁîÐвÙ×÷,µ«ÊÇ°²×°Ä³Ð©Èí¼þ±ØÐëÊÇ»ùÓÚGUIÏÂÃæµÄ,Õâ¸öʱºò×ܲ»ÄÜÅܵ½»ú·¿È¥°²×°°É,µ«ÎÒÃÇ¿ÉÒÔʹÓÃXmanagerÈí¼þʵÏÖ¶Ôlinux½øÐÐÔ¶³Ì¿ØÖÆ.
µÚÒ»²½£¬ÎÒÃÇÔÚ
LINUX
ϵͳÏ£¬ÐÞ¸Ä
/etc/X11/xdm/Xaccess
Îļþ£¬ÕÒµ½ÏÂÃæÓï¾ä£º
# *# any host can get a login window
È¥µô×îÇ°ÃæµÄ
#
ºÅ ......
ƽ»¬Ç¨ÒƵļ¼Çɺͼ¼Êõ
ÎĵµÑ¡Ïî
<tr
valign="top"><td width="8"><img alt="" height="1" width="8"
src="//www.ibm.com/i/c.gif"/></td><td width="16"><img alt="" width="16"
heig ......
°²×°Sqlite
Ê×ÏÈÊÇÏÂÔØsqlite-3.3.8.tar.gz¡£
1¡¢½âѹsqlite-3.3.8.tar.gz£ºtar –xzvf sqlite-3.3.8.tar.gz,µÃµ½sqlite-3.3.8µÄÎļþ¡£
2¡¢ÔÚsqlite-3.3.8ͬһĿ¼Ï´´½¨sqliteÎļþ£ºmkdir sqlite
3¡¢Cd sqlite
4¡¢Ö´ÐÐconfigureÉú³É°²×°³ÌÐò
5¡¢ ../sqlite-3.3.8/configure --prefix=/home/work/zd ......