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

Linux ʱ¼äͬ²½ ntpd

¹ØÓÚLinuxÏÂʱ¼äͬ²½µÄ½â¾ö·½°¸£¬ÆäʵÓм¸ÖÖ¡£Ò»ÊÇʹÓÃrdateÃüÁͬ²½Ê±¼äµ½Ô¶³ÌÖ÷»ú¡£¶þÊÇÔËÓÃntpÈí¼þ°ü¡£
ÒÔÏÂÖ÷Òª½²Ê¹ÓÃntpdµÄ·½Ê½À´Íê³Éʱ¼äµÄͬ²½¡£
µ±È»£¬Ê×ÏȵÃÈ·ÈÏntpÈí¼þ°üÒѾ­°²×°£¬Ò»°ãʹÓÃÒÔÏÂÃüÁ¼´ÊDz鿴rpm°üµÄntpÊÇ·ñÒѾ­×°µ½ÏµÍ³ÖУ©£º
                     rpm  -q  ntp
ÏÔʾÒÑ°²×°µÄntpµÄ°æ±¾£¬±íʾntp°üÒÑ°²×°¡£ÏñÕâÑù£ºntp-4.2.2p1-5.el5
·ñÔòÌáʾ£ºpackage ntp is not installed
ntpd·½Ê½£¬²»µ«ÊµÏÖ±¾»úʱ¼äÓë·þÎñÆ÷µÄͬ²½£¬¶øÇÒ½«±¾»úÒ²×÷Ϊ·þÎñÆ÷£¬¿ÉÒÔΪÍøÄÚµÄÆäËüÖ÷»úÌṩʱ¼äͬ²½·þÎñ£¬
ÔÚ´Ë£¬Ö»ËµÃ÷ʵÏÖ±¾»úʱ¼äͬ²½µÄ²½Öè¡£ 
ÖصãÔÚÓÚÈý¸öÎļþµÄÅäÖÃ,·Ö±ðÊÇ£º/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
£©
 ÓбØÒªÁ˽ântp.confÎļþÖÐrestrictµÄÓï·¨¹æÔò£¬ÏÂÃæÕâÒ»¶ÎÕª×Ôhttp://xu20cn.blog.51cto.com/274020/69689

¸½:Ïà¹ØÅäÖòÎÊý˵Ã÷
#¡¡¡¡restrictȨÏÞ¿ØÖÆÓ﷨Ϊ£º
#¡¡¡¡restrict IP mask netmask_IP parameter
#¡¡¡¡ÆäÖÐ IP ¿ÉÒÔÊÇÈí¼þµØÖ·£¬Ò²¿ÉÒÔÊÇ default £¬default ¾ÍÀàËÆ 0.0.0.0 ¿©£¡
#¡¡¡¡ÖÁÓÚ paramter ÔòÓУº
#¡¡¡¡¡¡ignore¡¡£º¹Ø±ÕËùÓÐµÄ NTP


Ïà¹ØÎĵµ£º

linux°²×°apacheÖ§³Öhttps£¨ssl£©

Èí¼þ»·¾³
debian 5.0
Apache Httpd 2.0.63 (http://httpd.apache.org
)
OpenSSL 0.9.81 (http://www.openssl.org/source
)
SSL-Tools (http://www.openssl.org/contrib/ssl.ca-0.1.tar.gz
)
°²×°²½Öè(ËùÓвÙ×÷ʹÓÃrootÓû§½øÐÐ)£º
1. OpenSSL
#tar zxvf openssl-0.9.81.tar.gz
#cd openssl-0.9.81
#./config
# ......

linux °²×° mysql rpm

ÔÚlinuxÏÂÃæ°²×°mysql£¬Ê×ÏàÒª¸ù¾Ý²Ù×÷ϵͳµÄ°æ±¾£¬Ñ¡Ôñ¶ÔÓ¦µÄmysqlµÄ°æ±¾£¬¹Ù·½ÍøÕ¾ÉÏÓзdz£Ã÷È·µÄ·ÖÀà
http://dev.mysql.com/downloads/
ÔÚÕâÀïÎÒʵÑéµÄ²Ù×÷ϵͳÊÇredhat linux
mysql ÓÃÁËÁ½¸ö°²×°°ü£¬Ò»¸öÊÇserver¶Ë£¬Ò»¸öÊÇclient,ÎÒÓõÄÊÇrpm°ü£¬°²×°µÄÖ¸Áî±È½Ï¼òµ¥¡£
MySQL-server-community-5.1.42-0.rhel4.i38 ......

linux ´´½¨Á¬½ÓÃüÁî ln s ÈíÁ´½Ó

ÕâÊÇlinuxÖÐÒ»¸ö·Ç³£ÖØÒªÃüÁÇë´ó¼ÒÒ»¶¨ÒªÊìϤ¡£ËüµÄ¹¦ÄÜÊÇΪijһ¸öÎļþÔÚÁíÍâÒ»¸öλÖý¨Á¢Ò»¸öͬ²»µÄÁ´½Ó£¬Õâ¸öÃüÁî×î³£ÓõIJÎÊýÊÇ-s,¾ßÌåÓ÷¨ÊÇ£ºln -s Ô´Îļþ Ä¿±êÎļþ¡£
µ±
ÎÒÃÇÐèÒªÔÚ²»Í¬µÄĿ¼£¬Óõ½ÏàͬµÄÎļþʱ£¬ÎÒÃDz»ÐèÒªÔÚÿһ¸öÐèÒªµÄĿ¼Ï¶¼·ÅÒ»¸ö±ØÐëÏàͬµÄÎļþ£¬ÎÒÃÇÖ»ÒªÔÚij¸ö¹Ì¶¨µÄĿ¼£¬·ÅÉϸÃÎļþ£ ......

Linux ʱ¼äͬ²½ ntpd

¹ØÓÚLinuxÏÂʱ¼äͬ²½µÄ½â¾ö·½°¸£¬ÆäʵÓм¸ÖÖ¡£Ò»ÊÇʹÓÃrdateÃüÁͬ²½Ê±¼äµ½Ô¶³ÌÖ÷»ú¡£¶þÊÇÔËÓÃntpÈí¼þ°ü¡£
ÒÔÏÂÖ÷Òª½²Ê¹ÓÃntpµÄ·½Ê½À´Íê³Éʱ¼äµÄͬ²½¡£
µ±È»£¬Ê×ÏȵÃÈ·ÈÏntpÈí¼þ°üÊÇ·ñ°²×°£¬Ò»°ãʹÓÃÒÔÏÂÃüÁ¼´ÊDz鿴rpm°üµÄntpÊÇ·ñÒѾ­×°µ½ÏµÍ³ÖУ©£º
           ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ