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

linuxÓÃrdateÃüÁîʵÏÖͬ²½Ê±¼ä

author:skate
time:2010-05-07
ÓÃrdateÃüÁîʵÏÖͬ²½Ê±¼ä
Ç°Á½Ìì˵µ½ÓÃntpʱ¼ä·þÎñÆ÷ºÍntpdateÃüÁîͬ²½Ê±¼ä£¬½ñÌì¼òµ¥¼Ç¼ÏÂÓÃrdateͬ²½Ê±¼ä
http://blog.csdn.net/wyzxg/archive/2010/05/06/5561548.aspx
ÔÚ¸÷ÖÖlinuxÖж¼ÓÐrdateÃüÁî
1. Ñ¡ÔÚһ̨linux×÷Ϊmaster£¬È»ºóÆô¶¯ÉÏÃæµÄʱÖÓ·þÎñ
#chkconfig time on
Èç¹û²»Æô¶¯Õâ¸ö·þÎñ£¬ÔÚclientÔËÐÐrdateͬ²½Ê±¼äʱ»á±¨´íµÄ
rdate: couldn't connect to host 192.168.2.31: Connection refused
2. ÔÚclientÉÏÖ´ÐÐ
#rdate –s 192.168.2.31
ÕâÑù¾Í°ÑÔ¶³ÌµÄ192.168.2.31µÄʱ¼äͬ²½µ½±¾µØÁË°¡
Ò²¿ÉÒÔ×ö³É¶¨Ê±ÈÎÎñ£¬ÈçÏÂËùʾ£º
[root@rac1 tmp]# crontab -l
*/2 * * * * rdate -s rac2
˵Ã÷£ºrdateÃüÁîʱ¼äͬ²½µÄ·½·¨Òª¼òµ¥Ð©£¬Ò²Ã»ÓÐntpdateʱ¼ä¾«È·¡£¾Í²»½éÉÜÁË°¡
------end-----


Ïà¹ØÎĵµ£º

Linux SCSI ×ÓϵͳÆÊÎö

Small Computer Systems Interface (SCSI)
ÊÇÒ»×é±ê×¼¼¯£¬Ëü¶¨ÒåÁËÓë´óÁ¿É豸£¨Ö÷ÒªÊÇÓë´æ´¢Ïà¹ØµÄÉ豸£©Í¨ÐÅËùÐèµÄ½Ó¿ÚºÍЭÒé¡£ Linux® ÌṩÁËÒ»ÖÖ SCSI ×Óϵͳ
£¬ÓÃÓÚÓëÕâЩÉ豸ͨÐÅ¡£Linux
ÊÇ·Ö²ã¼Ü¹¹µÄÒ»¸öºÜºÃµÄÀý×Ó£¬Ëü½«¸ß²ãµÄÇý¶¯
Æ÷£¨±ÈÈç´ÅÅÌÇý¶¯Æ÷»ò¹âÇý£©Á¬½Óµ½ÎïÀí½Ó¿Ú£¬±ÈÈç
Fibre Channel » ......

linux¹ØÓÚbashrcÓëprofileµÄÇø±ð


bashrcÓëprofileµÄÇø±ð
Òª¸ãÇåbashrcÓëprofileµÄÇø±ð£¬Ê×ÏÈҪŪÃ÷°×ʲôÊǽ»»¥Ê½shellºÍ·Ç½»»¥Ê½shell£¬Ê²Ã´ÊÇlogin shell ºÍnon-login shell¡£
½»»¥Ê½Ä£Ê½¾ÍÊÇshellµÈ´ýÄãµÄÊäÈ룬²¢ÇÒÖ´ÐÐÄãÌá½»µÄÃüÁî¡£ÕâÖÖģʽ±»³Æ×÷½»»¥Ê½ÊÇÒòΪshellÓëÓû§½øÐн»»¥¡£ÕâÖÖģʽҲÊÇ´ó¶àÊýÓû§·Ç³£ÊìϤµÄ£ºµÇ¼¡¢Ö´ÐÐһЩÃüÁǩÍË¡ ......

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µÄ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ºÅ