Linux kernel Development second Edition
1. Technically speaking, and in this book, the operating
system
is considered the parts of the system responsible for basic use
and administration. This includes the kernel and device drivers, boot loader,
command shell or other user interface, and basic file and system utilities
Ïà¹ØÎĵµ£º
ÏñʹÓÃWindowsʱÄÇôֱ¹Û¡£ÆäʵÔÚLinuxϰ²×°ºÍÐ¶ÔØÈí¼þÒ²·Ç³£¼òµ¥£¬Í¬ÑùÒ²Óа²×°Ïò
µ¼»ò½âѹ°²×°µÄ·½Ê½£¬²»ÏàͬµÄÖ»²»¹ýÊdzýÁ˶þ½øÖÆÐÎʽµÄÈí¼þ·Ö·¢Í⣬»¹ÓÐÐíÐí¶à¶àÒÔ
Ô´´úÂëÐÎʽ·Ö·¢µÄÈí¼þ°ü£¬ÏÂÃæ¾ÍÀ´ÏêϸµØ½²Ò»½²ÕâЩÈí¼þµÄ°²×°ÓëÐ¶ÔØ£º Ò»¡¢¶þ½øÖÆ·Ö·¢Èí¼þ°üµÄ°²×°ÓëÐ¶ÔØ
LinuxÈí¼þµÄ¶þ½øÖÆ ......
Checking kernel parameters
Checking for semmsl=250; found semmsl=250. Passed
Checking for semmns=32000; found semmns=32000. Passed
Checking for semopm=100; found semopm=32. Failed <<<<
Checking for semmni=128; found semmni=128.&nb ......
×î½üÐéÄâ»ú×°Á˸öRedHat Enterprise Server 5£¬ÓùßÁËUbuntu£¬¾õµÃ²»Ì«ÊÊÓ¦¡£
µ±ÔÚÖÕ¶ËÖ´ÐÐsudoÃüÁîʱ£¬ÏµÍ³Ìáʾ“cuser is not in the sudoers file”£º
$ sudo ls
Password:
cuser is not in the sudoers file. This incident will be reported.
Æäʵ¾ÍÊÇûÓÐȨÏÞ½øÐÐsudo£¬½â¾ö·½·¨ÈçÏ£¨ÕâÀï¼ÙÉèÓ ......
Õª×Ô£ºhttp://blog.chinaunix.net/u3/105005/showart.php?id=2076571
Linuxϲ鿴ÎļþºÍÎļþ¼Ð´óСµÄdfºÍduÃüÁî
df du
µ±´ÅÅÌ´óС³¬¹ý±ê׼ʱ»áÓб¨¾¯Ìáʾ£¬ÕâʱÈç¹ûÕÆÎÕdfºÍduÃüÁîÊǷdz£Ã÷ÖǵÄÑ¡Ôñ¡£
df¿ÉÒԲ鿴һ¼¶Îļþ¼Ð´óС¡¢Ê¹ÓñÈÀý¡¢µµ° ......
linuxÐÞ¸ÄÖ÷»úÃûµÄ·½·¨
ÓÃhostnameÃüÁî¿ÉÒÔÁÙʱÐ޸ĻúÆ÷Ãû£¬µ«»úÆ÷ÖØÐÂÆô¶¯Ö®ºó¾Í»á»Ö¸´ÔÀ´µÄÖµ¡£
#hostname //²é¿´»úÆ÷Ãû
#hostname -i //²é¿´±¾»úÆ÷Ãû¶ÔÓ¦µÄipµØÖ·
ÁíÍâÒ»ÖÖ·½·¨¾ÍÊÇÖ®¾ÃÐÞ¸ÄÅäÖÃÎļþ
ÐÞ¸Ä/etc/sysconfig/network ÐÞ¸ÄÕâ¸öÎļþ£¬ÏµÍ³²ÅÓÐЧ
/etc ......