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

LinuxÉèÖÃIP

ÔÚÍøÉϲéÕÒÁËÅäÖÃlinuxÅäÖÃIPµÄ·½·¨£¬¼òµ¥µÄÓÐÏÂÃæÁ½ÖÖ£º
×î
³£ÓõĸøÍø¿¨ÅäÖÃipµÄÃüÁîΪ
££ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
˵Ã÷£º
eth0
ÊǵÚÒ»¸öÍø¿¨£¬ÆäËûÒÀ´ÎΪeth1£¬eth*
192.168.0.1ÊǸøÍø¿¨ÅäÖõĵÚÒ»¸öÍø¿¨ÅäÖõÄipµØÖ·
netmask 255.255.255.0 Åä
ÖõÄÊÇ×ÓÍøÑÚÂë
upÊDZíʾÁ¢¼´¼¤»î
 ifconfigµÄ¸ü¶à²ÎÊý˵Ã÷²é¿´Ïà¹Ø°ïÖú
ÊÖ¶¯¸Ä/etc/sysconfig/network-scripts/ifcfg-eth0Îļþ
vi´ò¿ªifcfg-eth0Îļþ
Ô­ÄÚÈÝ£º
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:03:47:2C:D5:40
ONBOOT=yes
TYPE=Ethernet
¸Ä
Ϊ£º
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.223
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
HWADDR=00:0uu3:47:2C:D5:40
ONBOOT=yes
TYPE=Ethernet
·Ö
±ðÖ´ÐÐÃüÁî
/sbin/ifdown eth0
/sbin/ifup eth0
/etc/init.d/network
restart  //ʹÉèÖõÄÍø¹ØÂíÉÏÉúЧ
ifup £­ ´ú±í²¦ºÅµÄÁ¬½ÓÃüÁ¸ÃÃüÁîÖ»ÒªÔÚÃüÁîÐлòÖÕ¶ËÖпÉÒԳɹ¦Ö´ÐоͿÉÒÔÁË
ifdown
- ´ú±í¶Ï¿ªÁ¬½ÓµÄÃüÁͬÑù¸ÃÃüÁîÖ»ÒªÔÚÃüÁîÐлòÖÕ¶ËÖпÉÒԳɹ¦Ö´ÐоͿÉÒÔÁË
ÉèÖÃDNS
/etc/resolv.conf
nameserver 202.102.24.35 Ö¸¶¨ÁËdns·þÎñÆ÷µÄµØÖ·


Ïà¹ØÎĵµ£º

Linux iptableÎĵµ

×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......

linuxµÄ¼òµ¥ÍøÂçÅäÖÃ

1¡¢RootµÇ¼
2¡¢²éip:ifcongfig
3¡¢ÐÞ¸ÄÍøÂçÉèÖÃ
vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=VirtualBox
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
4¡¢Ìí¼ÓÐÂÓû§º ......

linux°²×°jdk

1¡¢°²×°°ü£º
ÏÂÔØÍøÖ·£ºhttp://java.sun.com/javase/downloads/index.jsp
jdk-6u12-linux-i586-rpm£¨°æ±¾£º1.6.0_12£©
2¡¢Ö´Ðа²×°
chmod 777 jdk-6u12-linux-i586-rpm.bin
./ jdk-6u12-linux-i586-rpm.bin
½ÓÊÜЭÒ飬°´enter¼´¿É»Ø¸´yes
3¡¢¸Ä±ä°²×°Ä¿Â¼£º
mv /usr/java/jdk1.6.0_12 /usr/local/java
4¡¢×îºóÉèÖà ......

Linuxѧϰ֮——redhat5ÖÐÎÄÂÒÂëÎÊÌâ½â¾ö

ǰЩÌìÔÚ×Ô¼ºµÄ±¾±¾ÉÏ×°ÁËÐéÄâ»ú£¬²¢°²×°ÁËredhat5£¬Ò»Çи㶨֮ºó·¢ÏÖ´ò¿ªÖÐÎÄÍøÒ³²»ÄÜÕý³£ÏÔʾ¡£Æô³õÒÔΪÊÇϵͳ±àÂëÎÊÌ⣬¿É¸ü¸ÄÁËϵͳ±àÂëºóÎÊÌâÒÀÈ»´æÔÚ£¬¶øÇÒϵͳµÄÎÄ×ÖÒ²±ä³ÉÂÒÂë¡£¿´À´²»ÊǼòµ¥µÄȱʡ±àÂëÎÊÌ⣬һ¶¨ÊÇϵͳûÓÐÖÐÎÄ°üµÄÔ­Òò¡£ÓÚÊǺõÅܵ½ÍøÉÏËÑÑ°ÖÐÎÄ°üµØÖ·£¬·¢ÏÖredhat5¹âÅÌÖдøÓÐÕâЩ°ü¡£ºÃÁË£¬·Ï»°²» ......

LinuxµÄDateºÍTime

ÖÜÐ÷ºê
http://zxuhong.blog.51cto.com/368977/74442
 
1.1 ¸ÅÊö
ÊÀ½ç±ê׼ʱ¼ä£¨Coordinated Universal Time£¬UTC£©£¬Ò²¾ÍÊÇ´ó¼ÒËùÊìÖªµÄ¸ñÁÖÍþÖαê׼ʱ ¼ä£¨Greenwich Mean Time£¬GMT£©¡£ÊÀ½ç¸÷µØʱ¼äÒ²ÊÀ½ç±ê׼ʱ¼äΪ»ù×¼»®·ÖΪ²»Í¬µÄʱÇø£¬ÀýÈ磬ÖйúµÄ±±¾©Ê±¼äÓëUTCµÄʱ²îΪ+8£¬Ò²¾ÍÊÇUTC+8¡£ÃÀ¹úÊÇUTC-5¡£
& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ