Linux ʱ¼äͬ²½ ntpd
¹ØÓÚLinuxÏÂʱ¼äͬ²½µÄ½â¾ö·½°¸£¬ÆäʵÓм¸ÖÖ¡£Ò»ÊÇʹÓÃrdateÃüÁͬ²½Ê±¼äµ½Ô¶³ÌÖ÷»ú¡£¶þÊÇÔËÓÃntpÈí¼þ°ü¡£
ÒÔÏÂÖ÷Òª½²Ê¹ÓÃntpµÄ·½Ê½À´Íê³Éʱ¼äµÄͬ²½¡£
µ±È»£¬Ê×ÏȵÃÈ·ÈÏntpÈí¼þ°üÊÇ·ñ°²×°£¬Ò»°ãʹÓÃÒÔÏÂÃüÁ¼´ÊDz鿴rpm°üµÄntpÊÇ·ñÒѾװµ½ÏµÍ³ÖУ©£º
rpm -q ntp
ÏÔʾÒÑ°²×°µÄntpµÄ°æ±¾£¬±íʾntp°üÒÑ°²×°¡£ÏñÕâÑù£ºntp-4.2.2p1-5.el5
·ñÔòÌáʾ£ºpackage ntp is not installed
ÖصãÔÚÓÚÈý¸öÎļþµÄÅäÖÃ,·Ö±ðÊÇ£º/etc/ntp.conf /etc/ntp/ntpservers ¼°/etc/ntp/step-tickers
1. /etc/ntp.confµÄÅäÖãº
ÆäʵֻÐè¸Ä¶¯¼«ÉÙµÄλÖã¬ÆäËüµØ·½±£³ÖĬÈÏ£º
ÕÒµ½server²¿·Ö
¼ÓÉÏÒ»ÐУºserver 210.72.145.44 (¹ú¼ÒÊÚʱÖÐÐĵÄIP)
ÔÙ¼ÓÒ»ÐУºserver 218.21.130.42 (cn.pool.ntp.org¶ÔÓ¦IP)
2.½«/etc/ntp/ntpserversÇå¿Õ
3.ÔÚ/etc/ntp/step-tickersÎļþÖУ¬¼ÓÈë֮ǰ¼ÓÈëµ½/etc/ntp.confÖеÄIP£¬±à¼ºóµÄ/etc/ntp/step-tickers
ÎļþµÄÄÚÈÝÈçÏ£º
210.72.145.44
218.21.130.42
µ½´Ë£¬ntpµÄÅäÖÃÍê³É¡£
È»ºó£¬Ö´ÐвÙ×÷£ºservice ntpd restart ,¼´Êǽ«ÊØ»¤½ø³ÌntpdÖØÐÂÆô¶¯£¬ÕâÒ»²½±Ø²»¿ÉÉÙ£¬·ñÔòÒÔÉϵÄÅäÖò»ÄÜÉúЧ¡£
ÕâÒ»·½·¨£¬±¾ÈËʹÓÃÓÐЧ£¬ÏëÔڴ󲿷ֻú×ÓÖж¼¿ÉÐеÃͨ¡£ntpµÄÅäÖÃÖ»Ðè¼òµ¥µÄ¼¸¸ö²½Öè¡£
£¨±¾ÈË»úÆ÷»·¾³Îª£º
Red Hat Enterprise Linux 5
ÄÚºËΪ2.6.18-8
ntp°æ±¾Îªntp-4.2.2p1-5.el5
£©
Ïà¹ØÎĵµ£º
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
Linux®¼¼Êõ¡¢¿ª·¢Ä£ÐͺÍÉçÇø¶¼¶Ô IT Òµ²úÉúÁËÖØÒªµÄÓ°Ï죬ÎÒÃÇÄÜ×öµÄ¾ÍÊÇÕ¾µ½Ò»±ß¿´¿´ÕâЩ£¬ºÜ¸ßÐËÓë developerWorks Ò»Æð¶È¹ýÁ˵ÚÒ»¸ö 10 Äê¡£Linux ÍŶÓÒѾ½«ÕâЩ¶Ô Linux ²úÉúÖØ´óÓ°ÏìµÄÄÚÈÝÕûÀíµ½Ò»Æð¡£
¹ýÈ¥ 10 ÄêÀLinux ·¢ÉúÁËÌ«¶àµÄÊÂÇ飬ºÜÄÑÍêÕûµØÁгö¸Ã²Ù×÷ϵͳµÄÖØҪʼþºÍ¼¼Êõ¸Ä½ø¡£¾¡¹ÜÈç´Ë£¬ÎªÁËÇì× ......
1, Ö÷°åÐÅÏ¢
.²é¿´Ö÷°åµÄÐòÁкÅ
--------------------------------------------------
#ʹÓÃÃüÁî
dmidecode | grep -i 'serial number'
#²é¿´°å¿¨ÐÅÏ¢
cat /proc/pci
--------------------------------------------------
2, cpuÐÅÏ¢
--------------------------------------------------
#ͨ¹ý/procÎļþϵͳ
1) ......
1¡¢ÓÉÓÚorcale10²»Ö§³Ö redhat as5 ÐèÒªÐÞ¸Ä/etc/redhat-realease ½« Red
Hat Enterprise Linux Server release 5 (Tikanga) ¸ÄΪRed Hat Enterprise
Linux Server release 4 (Tikanga) £¬°²×°Íê³ÉºóÔÙ½«ÆäÐ޸ĻØÀ´
2¡¢ÐÞ¸Ä/etc/hosts Îļþ½«127.0.0.1¸ÄΪ±¾»úIPµØÖ· ·ñÔòÍøÂç¼ì²éͨ²»¹ý
3¡¢¼ì² ......