linux³õѧ֮ÍøÂçÅäÖÃ
ifconfig ÃüÁ²é¿´/ÅäÖÃÍøÂçÐÅÏ¢
ifconfigµÄÓ﷨Ϊ
ifconfig [-a] [-V] [-s] <interface> [[<AF>] <address>]
[[-]broadcast [<address>]]
[netmask <address>]
[up|down]
ÆäÖÐ interface ΪÍø¿¨Ãû address Ϊ IP µØÖ· broadcast ±íʾÉèÖù㲥
µØÖ· ÆäºóµÄ address Ϊ¹ã²¥µØÖ·µÄ IP netmask ±íʾÉèÖÃ×ÓÍøÑÚÂë
ÆäºóµÄ address Ϊ×ÓÍøÑÚÂëµÄ IP up down ÉèÖõ±Ç°Íø¿¨µÄ״̬ up
±íʾÆôÓõ±Ç°Íø¿¨ down ±íʾ¹Ø±Õµ±Ç°Íø¿¨
IfconfigµÄ³£ÓòÎÊý˵Ã÷ÈçÏÂ
-a ²é¿´ËùÓÐÍø¿¨×´Ì¬
-V ²é¿´ ifconfigÃüÁîµÄ°æ±¾ÐÅÏ¢
-s ²é¿´Í³¼ÆÐÅÏ¢
ʾÀý
1 ½«µÚÒ»¿éÍø¿¨µÄ IPµØÖ·ÉèÖÃΪ 192.168.0.1
ifconfig eth0 192.168.0.1 ¸ñʽ ifconfig ÍøÂçÉ豸Ãû IPµØÖ·
2 ÔÝʱ¹Ø±Õ»òÆôÓÃÍø¿¨
¹Ø±ÕµÚÒ»¿éÍø¿¨ ifconfig eth0 down
ÆôÓõÚÒ»¿éÍø¿¨ ifconfig eth0 up
3¡¢ÉèÖà IPµØÖ·ºÍ×ÓÍøÑÚÂë
ifconfig eth0 192.168.0.1 netmask 255.255.255.0
4¡¢²é¿´µÚÒ»¿éÍø¿¨µÄ״̬
ifconfig eth0
ifconfigÊä³öµÄ״̬ÐÅÏ¢ÊÇÊ®·ÖÓÐÓÃµÄ ÏÂÃæ ÎÒÃǾͼòµ¥ËµÃ÷Ò»ÏÂ
Óм¸¸ö״̬±È½ÏÖØÒª
UP/DOWN Íø¿¨ÊÇ·ñÆô¶¯ÁË Èç¹ûÊÇ DOWNµÄ»° Äǿ϶¨ÎÞ·¨ÓõÄ
RX packetsÖÐµÄ errors°üµÄÊýÁ¿Èç¹û¹ý´ó˵Ã÷Íø¿¨ÔÚ½ÓÊÕʱÓÐÎÊÌâ
TX packetsÖÐµÄ errors°üµÄÊýÁ¿Èç¹û¹ý´ó˵Ã÷Íø¿¨ÔÚ·¢ËÍʱÓÐÎÊÌâ
routeÃüÁ¹ÜÀíϵͳÄÚºËÖеÄ·ÓÉ±í£¬É趨¾²Ì¬Â·ÓɱíÏî
routeÃüÁîµÄÓ﷨Ϊ
route [-CFvnee]
route [-v] [-A family] add [-net|-host] target [netmask Nm] [gw Gw]
[metric N] [mod] [reinstate] [[dev] If]
route [-v] [-A family] del [-net|-host] target [gw Gw] [netmask Nm] [metric
N] [[dev] If]
route [-V] [--version] [-h] [--help]
routeµÄ³£ÓòÎÊý˵Ã÷Èç
Ïà¹ØÎĵµ£º
1.bootsect.s
±¾ÎĵÄÄ¿µÄ£¬ÔÚ½«linux kernelµÄboot²¿·Ý×öÒ»¸ö½éÉÜ£¬ÒòΪ±ÊÕß¾õµÃºÜÉÙÓÐÕâÑùµÄ
¡¡¡¡ÎÄÕÂÀ´½éÉÜÒ»¸ö²Ù×÷ϵͳ×î×ʼµÄÒ»²½----°Ñkernel±¾ÉíÔØ ......
ÎÒÓÃvsftpd-2.0.5.tar.gz°²×°vsftpd£¬ÔÚ/etc/init.dÀïÃæûÓÐvsftpd·þÎñ£¡
#service vsftpd start ²»ÐÐ
#/etc/init.d/vsftpd start ²»ÐÐ
Ö»ÄÜÕâÑùÆô¶¯£º#/usr/local/sbin/vsftpd &
ÎÒÒª¿ª»úÆô¶¯¾ÍÖ»ÄÜÔÚ/etc/rc.d/rc.local ÖмÓÈëÄÚÈÝ¡£
ÎÒ°ÑvsftpdÌí¼Óµ½·þÎñÀïÃæ
ÕâÑù²Ù×÷£º
1¡¢copyÒ»¸övsftpdÒ»¸öÆô¶¯½Å± ......
linux
Äں˿ռäÓëÓû§¿Õ¼äÐÅÏ¢½»»¥·½·¨
±¾ÎÄ×÷Õß
£º
¿µ»ª
£º¼ÆËã»ú˶ʿ£¬Ö÷Òª´ÓÊÂLinux
²Ù×÷ϵͳÄںˡ¢Linux
¼¼Êõ±ê×¼¡¢¼ÆËã»ú°²È«¡¢Èí¼þ²âÊÔµÈÁìÓòµÄÑо¿Ó뿪·¢¹¤×÷£¬ÏÖ
¾ÍÖ°ÓÚ
ÐÅÏ¢²úÒµ²¿Èí¼þÓ뼯³Éµç·´Ù½øÖÐÐÄËùÊôµÄMII-HP Linux
Èí¼þʵÑéÊÒ¡£Èç¹ûÐèÒª¿ÉÒÔÁªÏµÍ¨¹ý
kanghua151@msn.com
ÁªÏµËû¡£
......
ǶÈëʽLinuxÄÚºËÓÅ»¯²Ã¼ô
ÓÅ»¯1¡¢È¡ÏûÐéÄâÄÚ´æµÄÖ§³Ö
General setup ---& ......