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

Unix/Linux ÍøÂç½Ó¿Ú¹ÜÀíÏà¹ØÃüÁî½éÉÜ


Unix/Linux ÍøÂç½Ó¿Ú¹ÜÀíÏà¹ØÃüÁî½éÉÜ
»ñÈ¡ÍøÂçÊÊÅäÆ÷ÁбíÐÅÏ¢
ÔÚ»ñÖªÍøÂç½Ó¿ÚʹÓÃ״̬֮ǰ£¬Äã¿ÉÄÜÐèÒªÖªµÀÄ㵱ǰµÄϵͳʹÓõÄÍøÂçÊÊÅäÆ÷£¬ÔÚ Linux ºÍ AIX Öв鿴ÍøÂçÉ豸Æ÷µÄÊôÐÔʹÓò»Í¬µÄÃüÁÏÂÃæµÄÀý×Ó¸ø³öÁËÔÚ²»Í¬ÏµÍ³ÉÏÈçºÎ²é¿´ÍøÂçÉ豸Æ÷µÄÊôÐÔ¡£
Linux ϵͳÆô¶¯¼ÓÔØÍø¿¨Çý¶¯»áÊä³öʶ±ðµ½µÄËùÓÐÍøÂçÊÊÅäÆ÷ÐÅÏ¢¡£dmesg ÏÔʾϵͳ¿ª»úÐÅÏ¢¡£ËùÒÔ¿ÉÒÔÀûÓøÃÃüÁîÈ¡µÃϵͳÍøÂçÊÊÅäÆ÷ÁÐ±í¡£Çåµ¥ 1 ÃüÁîÊä³öÏÔʾ¹²ÓÐ 2 ¿éÍø¿¨£¬eth0 Óë eth1£¬ÆäÖнö eth1 ±»ÆôÓá£
ÔÚ RHEL5.3 ϵͳÉϲ鿴ÍøÂçÊÊÅäÆ÷
# dmesg|grep -i eth
IBM eHEA ethernet device driver (Release EHEA_0092-03)
ehea: eth0: Jumbo frames are enabled
ehea: eth0 -> logical port id #1
ehea: eth1: Jumbo frames are enabled
ehea: eth1 -> logical port id #2
ehea: eth1: Physical port up
eth1: no IPv6 routers present
¸´ÖÆ´úÂë
²é¿´ÍøÂç½Ó¿Ú״̬
ÍøÂç½Ó¿Ú״̬°üÀ¨½Ó¿ÚÊÇ·ñÆôÓã¬ÊÇ·ñÉèÖà IP µØÖ·¡¢MTU ´óС¡¢ÊÕ·¢µÄ°üÊýµÈ£¬²éѯµÄÃüÁîΪ ifconfig, ÔÚ²»Í¬²Ù×÷ϵͳÆäÊä³ö¸ñʽÂÔÓв»Í¬¡£
Çåµ¥ 3 ΪÔÚ RHEL5.3 ÉϵÄÊä³ö£¬ÆäÏÔʾÁ½¸öÒÔÌ«ÍøÂç½Ó¿Ú£¬eth0 δÅäÖà ip µØÖ·£¬Î´±»ÆôÓã»eth1 ÅäÖÃÁË IP µØÖ·²¢±»ÆôÓá£
# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:1A:64:44:AC:34
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
eth1      Link encap:Ethernet  HWaddr 00:1A:64:44:AC:35
          inet addr:9.114.70.151  Bcast:9.114.70.255  Mask:255.255.255.128
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12337126 errors:0 dro


Ïà¹ØÎĵµ£º

[תÌû]LinuxÇý¶¯¿ª·¢Ñ§Ï°µÄһЩ±ØÒª²½Öè

 1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......

LinuxϵͳÖзÀ»ðǽµÄ¹Ø±Õ¼°¿ªÆô

ÖØÆôºóÉúЧ
¿ªÆô£º chkconfig iptables on
¹Ø±Õ£º chkconfig iptables off
2) ¼´Ê±ÉúЧ£¬ÖØÆôºóʧЧ
¿ªÆô£º service iptables start
¹Ø±Õ£º service iptables stop
ÐèҪ˵Ã÷µÄÊǶÔÓÚLinuxϵÄÆäËü·þÎñ¶¼¿ÉÒÔÓÃÒÔÉÏÃüÁîÖ´ÐпªÆôºÍ¹Ø±Õ²Ù×÷¡£
ÔÚ¿ªÆôÁË·À»ðǽʱ£¬×öÈçÏÂÉèÖ㬿ªÆôÏà¹Ø¶Ë¿Ú£¬
ÐÞ¸Ä/etc/sysconf ......

Linux findÃüÁîÏê½â

http://blog.chinaunix.net/u1/53398/showart_478990.html
ÓÉÓÚfind¾ßÓÐÇ¿´óµÄ¹¦ÄÜ£¬ËùÒÔËüµÄÑ¡ÏîÒ²ºÜ¶à£¬ÆäÖд󲿷ÖÑ¡ÏֵµÃÎÒÃÇ»¨Ê±¼äÀ´Á˽âһϡ£¼´Ê¹ÏµÍ³Öк¬ÓÐÍøÂçÎļþϵͳ( NFS)£¬findÃüÁîÔÚ¸ÃÎļþϵͳÖÐͬÑùÓÐЧ£¬Ö»Äã¾ßÓÐÏàÓ¦µÄȨÏÞ¡£
ÔÚÔËÐÐÒ»¸ö·Ç³£ÏûºÄ×ÊÔ´µÄfindÃüÁîʱ£¬ºÜ¶àÈ˶¼ÇãÏòÓÚ°ÑËü·ÅÔÚºǫִ́ÐУ¬Òò ......

linuxѹËõ(½âѹËõ)ÃüÁîÏê½â

 linuxѹËõ(½âѹËõ)ÃüÁîÏê½â
Ò».tarÃüÁî
         tar¿ÉÒÔΪÎļþºÍĿ¼´´½¨µµ°¸¡£ÀûÓÃtar£¬Óû§¿ÉÒÔΪijһÌض¨Îļþ´´½¨µµ°¸£¨±¸·ÝÎļþ£©£¬Ò²¿ÉÒÔÔÚµµ°¸ÖиıäÎļþ£¬»òÕßÏòµµ°¸ÖмÓÈëеÄÎļþ¡£tar ×î³õ±»ÓÃÀ´ÔÚ´Å´øÉÏ´´½¨µµ°¸£¬ÏÖÔÚ£¬Óû§¿ÉÒÔÔÚÈκÎÉ豸ÉÏ´´½¨µµ°¸£¬ÈçÈíÅÌ ......

linuxÖÐ ÓïÑÔ»·¾³µÄÉèÖã¨locale£©

The original /etc/sysconfig/i18n file  is:
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
if we want to change locale to be japanese, just follow the instuction below.
 body { margin: 0 0 0 0; padding:0 0 0 0 }td,div { font-family:Times New Roman;font-size:11pt;vert ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ