¡¾Linux×ÀÃæÓ¦Óá¿Linux·þÎñÅäÖùý³Ì
1)¹Ø±Õ·À»ðǽ
#service iptables stop<enter> \\¹Ø±Õ·À»ðǽ
#chkconfig iptables off<enter> \\¹Ø±Õ¿ª»úÆô¶¯
2)IPµØÖ·µÄÅäÖÃ
¢ÙÃüÁʽ
#netconfig<enter> \\ÉèÖÃIPµØÖ·¡¢×ÓÍøÑÚÂë¡¢Íø¹Ø¡¢DNS
#vi /etc/sysconfig/network \\Ö÷»úÃû
#hostname XXX \\ÉèÖÃÖ÷»úÃû³Æ
#exit \\ÖØеǽ
#service network restart<enter> \\ÖØÐÂÆô¶¯ÍøÂç·þÎñ
#ifconfig \\¼ì²éÍøÂçÅäÖÃÇé¿ö
¢ÚVI·½Ê½
#vi /etc/sysconfig/network-scripts/ifcfg-eth0 \\IP¡¢MASK¡¢GATEWAY
=======================================
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.1.100
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
=======================================
#vi /etc/sysconfig/network \\hostname
=======================================
NETWORKING=yes
HOSTNAME=djw.com
=======================================
#hostname xxx \\HOSTNAME
#vi /etc/hosts \\DNS
=======================================
127.0.0.1 localhost.localdomain localhost
192.168.1.100 djw.com
=======================================
#vi /etc/resolv.conf \\DNS
=======================================
nameserver 192.168.1.100
=======================================
#exit \\×¢Ïú
#service network restart \\ÖØÐÂÆô¶¯ÍøÂç·þÎñ
#ifconfig \\¼ì²éÍøÂçÅäÖÃÇé¿ö
3)·þÎñ¼ì²é
#rpm -q XXX<enter>
#rpm -qa | grep XXX <enter>
4)Ö÷ÅäÖÃÎļþ·¾¶
#rpm -ql XXX | grep conf<enter>
5)Æô¶¯·þÎñ
#service XXX start<enter>
#service XXX restart<enter>
#chkconfig XXX on<enter>
6)ÑéÖ¤·þÎñ
#netstat -an<enter>
Ïà¹ØÎĵµ£º
ÕʺŹÜÀí
/etc/passwd ϵͳÕʺÅÐÅÏ¢
/etc/shadow ÕʺÅÃÜÂëÐÅÏ¢ ¾MD5 32λ¼ÓÃÜ
ÔÚÃÜÂëÀ¸Ç°Ãæ¼Ó¡º * ¡»¡º ! ¡»½ûֹʹÓÃijÕʺÅ
/etc/group &nb ......
Ò»¡¢Äں˵ĻñµÃ
¿ÉÒÔ´ÓÍøÉÏÏÂÔØÄÚºËÎļþ£¬http://www.kernel.org¡£Èç¹ûÊÇΪÁËÁ·Ï°£¬¾¡Á¿ÏÂÔØ£².4.xµÄÄںˡ£ÒòΪ2.6.xµÄÄں˱Ƚϴ󣬵±È»±àÒëÒ²ÐèÒª¸ü¶¼µÄʱ¼ä¡£
¶þ¡¢Äں˵ıàÒë
LinuxÄں˵ıàÒë²Ëµ¥Ö÷ÒªÓÐÈý¸ö°æ±¾£º
£±£©make config£º½øÈëÃüÁîÐУ¬¿ÉÒÔÒ»ÐÐÒ»ÐеÄÅäÖá£
£²£©make menuconfig£º¿ª·¢ÈËÔ±±È½ÏÊìÏ ......
MTD(memory technology deviceÄÚ´æ¼¼ÊõÉ豸)ÊÇÓÃÓÚ·ÃÎÊmemoryÉ豸£¨ROM¡¢flash£©µÄLinuxµÄ×Óϵͳ¡£MTDµÄÖ÷ҪĿµÄÊÇΪÁËʹеÄmemoryÉ豸µÄÇý¶¯¸ü¼Ó¼òµ¥£¬Îª´ËËüÔÚÓ²¼þºÍÉϲãÖ®¼äÌṩÁËÒ»¸ö³éÏóµÄ½Ó¿Ú¡£MTDµÄËùÓÐÔ´´úÂëÔÚ/drivers/mtd×ÓĿ¼Ï¡£ÎÒ½«CFI½Ó¿ÚµÄMTDÉ豸·ÖΪËIJ㣨´ÓÉ豸½ÚµãÖ±µ½µ×²ãÓ²¼þÇý¶¯£©£¬ÕâËIJã´ÓÉϵ½Ï ......
sudoÊÇlinuxϳ£ÓõÄÔÊÐíÆÕͨÓû§Ê¹Ó󬼶Óû§È¨Ï޵Ť¾ß¡£
ËüµÄÖ÷ÒªÅäÖÃÎļþÊÇsudoers,linuxÏÂͨ³£ÔÚ/etcĿ¼Ï£¬Èç¹ûÊÇsolaris£¬È±Ê¡²»×°sudoµÄ£¬±àÒë°²×°ºóͨ³£ÔÚ°²×°Ä¿Â¼µÄ etcĿ¼Ï£¬²»¹ý²»¹ÜsudoersÎļþÔÚÄĶù£¬sudo¶¼ÌṩÁËÒ»¸ö±à¼¸ÃÎļþµÄÃüÁvisudoÀ´¶Ô¸ÃÎļþ½øÐÐÐ޸ġ£Ç¿ÁÒÍƼöʹÓøÃÃüÁîÐÞ¸Ä sudoers£¬ÒòΪ ......
LinuxϵĿâ--ÖØÒªµÄ´úÂ븴ÓûúÖÆ¡¾×ª¡¿
2008-03-26 17:57
±¾ÎÄÖ÷Òª½â¾öÒÔϼ¸¸öÎÊÌâ
1 ΪʲôҪʹÓÿ⣿
2 ¿âµÄ·ÖÀà
3 ´´½¨×Ô¼ºµÄ¿â
»òÐí´ó¼Ò¶Ô×Ô¼º³õѧ
linuxʱµÄÇéÐÎÈÔ¼ÇÒäÓÈаɡ£Èç¹ûûÓÐÒ»¸öÄܽϺõĽâ¾öÒÀÀµ¹ØϵµÄ°ü¹ÜÀíÆ÷£¬ÔÚlinuxÏ°²×°Èí¼þ½«ÊÇÒ»¼þ¼°ÆäÍ´¿àµÄ¹¤×÷¡£Äã×°a°üʱ£¬¿ÉÄÜ»áÌáʾ
ÄãÒªÏÈ×°b°ü£¬ ......