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

linuxϵͳµ¥Íø¿¨°ó¶¨Ë«IPµÄ·½·¨

linuxϵͳµ¥Íø¿¨°ó¶¨Ë«IPµÄ·½·¨
1. ½øÈëĿ¼£º
cd /etc/sysconfig/network-scripts/
2. ʹÓÃviÃüÁî±à¼­ifcfg-eth0£¬ÈçÏ£º
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0C:29:25:96:A3
#µÚ1¸öIP
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
GATEWAY=192.168.0.1
3. ±£´æÍ˳ö£¬È»ºóÔÙ¿½±´Ò»¸öifcfg-eth0£¬È磺
cp ifcfg-eth0 ifcfg-eth1
4. ʹÓÃviÃüÁî±à¼­ifcfg-eth1£¬È磺
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
#×¢Ò⣺É豸»¹ÊÇeth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0C:29:25:96:A3
#µÚ¶þ¸öIP
IPADDR=192.168.0.3
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
5.ÖØÆôÍø¿¨
service network restart


Ïà¹ØÎĵµ£º

Linuxѧϰ±Ê¼ÇÁãÁã¶þ

ʵģʽΪʲô²»°²È«£¿
ÔÚʵģʽÖУ¬cpu¸ù¾ÝÖ¸ÁîÀàÐ;ö¶¨²ÉÓÃDS¡¢CS¡¢ES»¹ÊÇSS£¬´Ó¶Î¼Ä´æÆ÷ÖÐÈ¡³ö»ùÖµ£¬ÔÙ´ÓÖ¸ÁîÖÐÈ¡³öÆ«ÒÆÖµ¡£ÕâÀï´æÔÚÁ½¸öÎÊÌ⣺
1. ¶Î¼Ä´æÆ÷µÄÖµ¿ÉÒÔ±»ÆÕͨȨÏÞµÄÖ¸Áî·ÃÎÊ£¬Õâ¾ÍÒâζ×ÅÓû§½ø³Ì¿ÉÒÔÐ޸ĶμĴæÆ÷µÄÖµ¡£
2. Æ«ÒÆÖµÎª16룬¿ÉÒÔ·ÃÎÊ´Ó»ùµØÖ·¿ªÊ¼µÄ64KµÄÁ¬Ðø¿Õ¼ä¡£
ͨ¹ýÕâÁ½¸öÖµ£¬¿ÉÒÔ·ÃÎÊ ......

Linux³£ÓÃÍ·Îļþ

Linux³£ÓõÄÍ·Îļþ¼¯ºÏ:
<dirent.h>        Ŀ¼Ïî
<fcntl.h>         Îļþ¿ØÖÆ
<fnmatch.h>    ÎļþÃûÆ¥ÅäÀàÐÍ
<glob.h>    ·¾¶ÃûģʽƥÅäÀàÐÍ
<grp.h>    ......

LinuxÏÂMySQL¿ª·ÅrootµÄÔ¶³Ì·ÃÎÊȨÏÞ

»·¾³£ºRHEL 5.3
°²×°ÁËMySQLÖ®ºó£¬MySQLµÄrootÓû§Ä¬ÈÏÊDz»¿ª·ÅÔ¶³Ì·ÃÎÊȨÏ޵ġ£ÎªÁË¿ª·ÅËü£¬Ö»ÐèÒªÁ½²½£º
ÓÃLinuxϵͳµÄrootÓû§µÇ¼ϵͳ£¬È»ºó£º
£¨1£©¿ª·Å3306¶Ë¿ÚµÄÔ¶³ÌÁ¬½ÓȨÏÞ£º
ÔÚ“-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited”ÕâÒ»ÐеÄÉÏÃæ£¨×¢Ò⣬һ¶¨ÊÇÉÏÃæ£©£¬Ìí¼ÓÈçÏ ......

2009ÄêLinux·þÎñÆ÷Èí¼þ·¢Õ¹Å̵ã

Ó²¼þ¼¼ÊõÒ»Ö±ºÍÈí¼þ¼¼ÊõÏàÒÀÏàËæ£¬Ëæ×Å·þÎñÆ÷Ó²¼þºÍоƬ¼¼ÊõµÄ½ø²½£¬Íƶ¯×Å·þÎñÆ÷²Ù×÷ϵͳ¼¼ÊõµÄ±ä¸ï¡£
¡¡¡¡Ð¾Æ¬¼¼ÊõµÄ·¢Õ¹£º´Óx86µ½Áúо
¡¡¡¡2009Ä꣬¸÷´óоƬ³§É̶¼ÍƳöÁ˶à¿îоƬ²úÆ·£ºÈçIntel¹«Ë¾»ùÓÚNehalem¼Ü¹¹·¢²¼µÄ×ÀÃæ¶ËоƬ²úÆ·¿áî£i7£»AMD¹«Ë¾Ò²ÍƳöÁË»ù
ÓÚÐÂFioranoƽ̨µÄ´úºÅΪ“ÒÁ˹̹²¼¶û”µÄ ......

linuxϵͳµ¥Íø¿¨°ó¶¨Ë«IPµÄ·½·¨

 linuxϵͳµ¥Íø¿¨°ó¶¨Ë«IPµÄ·½·¨
http://blog.csdn.net/hbcui1984/archive/2009/05/25/4214282.aspx
1. ½øÈëĿ¼£º
cd /etc/sysconfig/network-scripts/
2. ʹÓÃviÃüÁî±à¼­ifcfg-eth0£¬ÈçÏ£º
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ