¡¾×ª¡¿linuxÎļþºÍĿ¼¹ÜÀí
1¡¢LinuxÎļþϵͳÊÇ´Ó/¿ªÊ¼µÄ£»
ÔÚLinux²Ù×÷ϵͳµÄÎļþ¹ÜÀíÖУ¬ÃüÁîÐÐģʽ£¨ÔÚ¿ØÖÆ̨»òÖÕ¶ËÏ£©µÄÎļþ»òĿ¼¹ÜÀí£¬ÒªÉ漰·¾¶ÕâÒ»¸ÅÄÕâÊÇLinuxÃüÁîÐвÙ×÷µÄ×î»ù´¡µÄ»ù´¡¡£Èç¹ûÎÒÃÇÁ˽âÁË·¾¶µÄ¸ÅÄ¾Í¿ÉÒÔËæÐÄËùÓûµÄ½øÈëÈκÎĿ¼£¬½øÐÐÎÒÃÇÏëµÄ¹¤×÷¡£
Linux Îļþϵͳ£¬ÊÇÒ»¸ö³ÊÊ÷Ðνṹ£¬ÊÇ´Ó/×öΪÈë¿Ú£¬/£¨Ò²±»³ÆΪ¸ùĿ¼£©ÏÂÓÐ×ÓĿ¼£¬±ÈÈçetc¡¢usr¡¢libµÈ£¬ÔÚÿ¸ö×ÓĿ¼ÏÂÓÖÓÐÎļþ»ò×ÓĿ¼£¬ÕâÑù¾ÍÐγÉÁËÒ»¸öÊ÷Ðνṹ£¬ÕâÖÖÊ÷Ðνṹ±È½Ïµ¥Ò»¡£¶øWindowsÎļþϵͳÄØ£¿ËüÒýÈëÁËCÅÌ¡¢DÅÌÀàËƵĴÅÅ̸ÅÄʹµÃÏ°¹ßWindows²Ù×÷µÄÓû§ÔÚתÏòLinuxʱ£¬»á·¢ÏÖLinux¸ù±¾¾ÍÓÐCÅÌ¡¢DÅ̵ĸÅÄÓÐʱÉõÖÁ²»ÖªËù´ë¡£
2¡¢Àí½â·¾¶¸ÅÄîµÄÄ¿µÄ£»
ÒýÈë·¾¶¸ÅÄîÄ¿µÄ×îÖÕÊÇÕÒµ½ÎÒÃÇËùÐèÒªµÄĿ¼»òÎļþ¡£±ÈÈçÎÒÃÇÏëÒª±à¼ file.txt Îļþ£¬ÎÒÃÇÊ×ÏÈÒªÖªµÀËû´æ·ÅÔÚÄÄÀҲ¾ÍÊÇ˵ÎÒÃÇÒªÖ¸³öËûËùÔÚµÄλÖã¬Õâʱ¾ÍÒªÓõ½Â·¾¶ÁË¡£
3¡¢Â·¾¶µÄ¹¹³ÉÒªËØ£»
·¾¶ÊÇÓÉĿ¼»òĿ¼ºÍÎļþÃû¹¹³ÉµÄ¡£±ÈÈç/etc/X11 ¾ÍÊÇÒ»¸ö·¾¶£¬¶ø/etc/X11/xorg.confÒ²ÊÇÒ»¸ö·¾¶¡£Ò²¾ÍÊÇ˵·¾¶¿ÉÒÔÊÇĿ¼µÄ×éºÏ£¬·Ö¼¶ÉîÈë½øÈ¥£¬Ò²¿ÉÒÔÊÇÎļ£«Îļþ¹¹³É¡£±ÈÈçÎÒÃÇÏëÓÃvi±à¼xorg.confÎļþ£¬ÔÚÃüÁîÐÐÏÂÊäÈë vi /etc/X11/xorg.conf £¬Èç¹ûÎÒÃÇÏë½øÈë/etc/X11Ŀ¼£¬¾Í¿ÉÒÔͨ¹ýcd /etc/X11À´ÊµÏÖ¡£
4¡¢Â·¾¶µÄ·ÖÀࣻ
·¾¶·ÖΪ¾ø¶Ô·¾¶ºÍÏà¶Ô·¾¶£»
4.1 ¾ø¶Ô·¾¶£»
ÔÚLinuxÖУ¬¾ø¶Ô·¾¶ÊÇ´Ó/£¨Ò²±»³ÆΪ¸ùĿ¼£©¿ªÊ¼µÄ£¬±ÈÈç/usr¡¢/etc/X11¡£Èç¹ûÒ»¸ö·¾¶ÊÇ´Ó/¿ªÊ¼µÄ£¬ËüÒ»¶¨ÊǾø¶Ô·¾¶£¬ÕâÑù¾ÍºÃÀí½âÁË£»
[root@localhost ~]# pwd ×¢£ºÅжÏÓû§µ±Ç°Ëù´¦µÄλÖã¬Ò²¾ÍÊÇ˵Ëûµ½µ×λÓÚÄÄ£¿
/root ×¢£ºÓû§µ±Ç°Î»ÓÚ/root£»
[root@localhost ~]# cd /usr/share/doc/ ×¢£ºÎÒÃÇÒÔ¾ø¶Ô·¾¶·½Ê½½øÈë/usr/share/docĿ¼Ï£»
[root@localhost doc]# pwd ×¢£ºÅжÏÓû§µ±Ç°Ëù´¦µÄλÖÃ
/usr/share/doc ×¢£ºÓû§Î»ÓÚ/usr/share/doc£¬¿´À´ÒѾ´ïµ½ÎÒÃǵÄÄ¿µÄÁË£»
4.2 Ïà¶Ô·¾¶£»
Ïà¶Ô·¾¶ÊÇÒÔ . »ò .. ¿ªÊ¼µÄ£¬.±íʾÓû§µ±Ç°²Ù×÷Ëù´¦µÄλÖ㬶ø.. ±íʾÉϼ¶Ä¿Â¼£»ÔÚ·¾¶ÖУ¬.±íʾÓû§µ±Ç°Ëù´¦µÄĿ¼£¬¶ø..Éϼ¶Ä¿Â¼£¬Òª°Ñ.ºÍ..µ±×öĿ¼À´¿´¡£
[root@localhost ~]# pwd ×¢£ºÍ¨¹ýpwdÀ´Åжϵ±Ç°Óû§ËùÔÚµÄλÖã»
/root ×¢£ºµÃ³öĿ¼´¦ÓÚ/rootĿ¼ÖУ»
[root@localhost ~]# cd . ×¢£ºÎÒÃǽøÈë.
[root@localhost ~]# pwd ×¢£ºÅжϵ±Ç°Óû§Ëù´¦µÄ
Ïà¹ØÎĵµ£º
³£¼ûµÄÁ½ÖÖ´íÎó£º
1.ÔÚ²åÈëÄ£¿éµÄʱºò³öÏÖÈçÏÂÎÊÌ⣺
# insmod globalmem.ko insmod: error inserting 'globalmem.ko': -1 Device or resource busy
ANSWER:Ö÷É豸ºÅ±»Õ¼ÓÃÁË£¬»»ÁíÒ»¸ö¡£ Äã°Ñglobalmem.cÎļþÀïÃæµÄºê¶¨ÒåÄÇÀï¸ÄΪ226»òÆäËû£¬È»ºóÔÙ±àÒë¾Í¿ÉÒÔ²åÈëÁË£¡
Ìرð×¢Ò⣺   ......
Èí¼þÏÂÔصØÖ·£º
pcre£ºhttp://www.pcre.org/
Nginx£ºhttp://nginx.net/
spawn-fcig: http://redmine.lighttpd.net/projects/spawn-fcgi/news
ÀûÓà wget ÃüÁîÏÂÔØÏàÓ¦µÄ °²×°°ü
²½Öè
1¡¢°²×°pcre
ngnix ÐèÒª°²×°pcre¿â£º
wget http://sourceforge.net ......
¹¤×÷¶ÓÁÐ(work queue)ÊÇLinux kernelÖн«¹¤×÷ÍƺóÖ´ÐеÄÒ»ÖÖ»úÖÆ¡£ÕâÖÖ»úÖƺÍBH(bottom half)»òTasklets²»Í¬Ö®´¦ÔÚÓÚ¹¤×÷¶ÓÁÐÊÇ°ÑÍƺóµÄ¹¤×÷½»ÓÉÒ»¸öÄÚºËÏß³ÌÈ¥Ö´ÐУ¬Òò´Ë¹¤×÷¶ÓÁеÄÓÅÊƾÍÔÚÓÚËüÔÊÐíÖØе÷¶ÈÉõÖÁ˯Ãß¡£
linux 2.6.20ÒԺ󣬹¤×÷¶ÓÁлúÖƺÍ֮ǰµÄ°æ±¾ÓÐÒ»µã²»Í¬£¬ÔÚÍøÉÏÕÒÁËÒ»µã×ÊÁÏ£¬Ò²ÏàÓ¦µÄ¿´ÁËһЩcode£ ......
http://www.zhetao.com/content.dep?m=news&id=1235137892661247
·¢²¼ÈÕÆÚ 2009-2-20 21:51:32
Linux
ϵͳµÄ
SNMP
·þÎñÉèÖÃ
1)
°²×°
SNMP
ÂÔ£¬Çë²ÎÔÄ
LINUX
ϵͳ
SNMP
°²×°ËµÃ÷£¬Ò»°ãÇé¿öÏÂ
Linux
ÖеľùÒѾ×Ô¶¯°²×°ÁË
SNMP
·þÎñ¡£ÒÔÏÂÃüÁî¿ÉÒÔ¼ì²â
SNMP
·þÎñÊÇ·ñ°²×°ÒÔ¼°°²×°µÄÎļþ°ü¡£
[ ......
6
¡¢ÐÞ¸ÄÊý¾Ý¿âµÄ×Ö·û¼¯
mysql>use mydb
mysql>alter database mydb character set utf-8;
6
¡¢´´½¨Êý¾Ý¿âÖ¸¶¨Êý¾Ý¿âµÄ×Ö·û¼¯
mysql>create database mydb character set utf-8;
ͨ¹ýÅäÖÃÎļþÉèÖô´½¨Êý¾Ý¿âʱ×Ö·û¼¯:
#vi /var/lib/mysql/mydb/db.opt
default-character-set=latin1
default-col ......