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

Linux ʱ¼äͬ²½ÅäÖÃ


Ò». Ê¹ÓàNetwork Time Protocol (NTP) ·þÎñÆ÷
1.1 ·þÎñÆ÷¿ÉÁ´½ÓÍâÍøʱ    
# crontab -e    
¼ÓÈëÒ»ÐУº    
*/1 * * * * ntpdate 210.72.145.44     
210.72.145.44 ÎªÖйú¹ú¼ÒÊÚʱÖÐÐÄ·þÎñÆ÷µØÖ·£¬ÕâÑù¸Ã»úÿ¸ô1·ÖÖؾͿÉÒÔÓë¹ú¼ÒÊÚʱÖÐÐĽøÐÐͬ²½ÁË¡£    
×¢Ò⣺ ÔÚʹÓÃntpdate ÃüÁîʱ£¬ ntpd ·þÎñ±ØÐëÊǹرյģ¬ ·ñÔò»á±¨the NTP socket is in use, exiting ´íÎó¡£
¹Ø±Õ ntpd ·þÎñÃüÁîÈçÏ£º
[root@node2 init.d]# /etc/init.d/ntpd stop
Shutting down ntpd:                                        [  OK  ]
1.2. ¼ÜÉè±¾µØʱ¼ä·þÎñÆ÷
ÐèÒªÐ޸Ġ/etc/ntp.confÎļþÀïµÄ¼¸¸öÅäÖþͿÉÒÔÁË£¬±ÈÈç±¾µØʱ¼ä·þÎñÆ÷IP Îª 10.85.10.119£¬ ÅäÖÃÈçÏ£º
server 210.72.145.44 prefer £¨Öйú¹ú¼ÒÊÚʱÖÐÐÄ·þÎñÆ÷µØÖ· prefer±íʾÓÅÏÈ ×¢Òâ°ÑĬÈϵÄserver¸ü¸Ä³ÉÕâÑù£©    
server 127.127.1.0 £¨±¾µØʱ¼ä)    
restrict 10.85.10.0 mask 255.255.255.0 nomodify (ÔÊÐí10..85.10.* µÄIP Ê¹ÓøÃʱ¼ä·þÎñÆ÷)    
restrict 0.0.0.0 mask 0.0.0.0 nomodify notrap noquery notrust £¨ÆÁ±ÎÆäËûIP¹ýÀ´¸üÐÂʱ¼ä£©    
ÆäËûµÄ±£³ÖĬÈϲ»¶¯¡£   
 
ʹNTP·þÎñ¿ÉÒÔÔÚϵͳÒýµ¼µÄʱºò×Ô¶¯Æô¶¯£¬Ö´ÐУº     
# chkconfig ntpd on    
Æô¶¯/¹Ø±Õ/ÖØÆôNTPµÄÃüÁ    
# /etc/init.d/ntpd start    
# /etc/init.d/ntpd stop &nbs


Ïà¹ØÎĵµ£º

Linux ÈëÃų£ÓÃÃüÁî(1)

1.Linux½øÈëÓëÍ˳öϵͳ
½øÈëLinuxϵͳ£º
±ØÐëÒªÊäÈëÓû§µÄÕ˺ţ¬ÔÚϵͳ°²×°¹ý³ÌÖпÉÒÔ´´½¨ÒÔÏÂÁ½ÖÖÕʺţº
¡¡¡¡1£®root--³¬¼¶Óû§Õʺţ¨ÏµÍ³¹ÜÀíÔ±£©£¬Ê¹ÓÃÕâ¸öÕʺſÉÒÔÔÚϵͳÖÐ×öÈκÎÊÂÇé¡£
¡¡¡¡2£®ÆÕͨÓû§--Õâ¸öÕʺŹ©ÆÕͨÓû§Ê¹Ó㬿ÉÒÔ½øÐÐÓÐÏ޵IJÙ×÷¡£
¡¡¡¡Ò»°ãµÄLinuxʹÓÃÕß¾ùΪÆÕͨÓû§£¬¶øϵͳ¹ÜÀíÔ±Ò»°ã ......

linuxÄں˻ù±¾Êý¾ÝÀàÐÍ×ܽá


linuxÄں˻ù±¾Êý¾ÝÀàÐÍ×ܽá
¶ÔlinuxÄں˵ÄÊý¾ÝÀàÐÍ×öÒ»ÏÂ×ܽᡣ
ÏÂÃ沿·ÖÄÚÈݲο¼ÁË£ºhttp://book.csdn.net/bookfiles/12/100126.shtml
µ±
Linux
ÄÚºËÔÚÌåϵ½á¹¹²îÒì½Ï´óµÄƽ̨֮¼äÒÆֲʱ£¬»á²úÉúÓëÊý¾ÝÀàÐÍÏà¹ØµÄÎÊÌâ¡£ÔÚ±àÒëÄÚºËʱʹÓÃ
-Wall -Wstrict-prototypes
Ñ¡Ï¿ÉÒÔ±ÜÃâºÜ¶à´íÎóµÄ·¢Éú¡£
ÄÚºËʹÓõĻ ......

LinuxÆô¶¯¹ý³ÌÏê½â

±¾Ô­´´ÎÄÕÂÊôÓÚ¡¶Linux´óÅï¡·²©¿Í£¬²©¿ÍµØַΪhttp://roclinux.cn¡£ÎÄÕÂ×÷ÕßΪrocrocket¡£
Æô¶¯µÚÒ»²½£­£­¼ÓÔØBIOS
µ±Äã´ò¿ª¼ÆËã»úµçÔ´£¬¼ÆËã»ú»áÊ×ÏȼÓÔØBIOSÐÅÏ¢£¬BIOSÐÅÏ¢ÊÇÈç´ËµÄÖØÒª£¬ÒÔÖÁÓÚ¼ÆËã»ú±ØÐëÔÚ×ʼ¾ÍÕÒµ½Ëü¡£ÕâÊÇÒòΪBIOSÖаüº¬ÁËCPUµÄÏà¹ØÐÅÏ¢¡¢É豸Æô¶¯Ë³ÐòÐÅÏ¢¡¢Ó²ÅÌÐÅÏ¢¡¢ÄÚ´æÐÅÏ¢¡¢Ê±ÖÓÐÅÏ¢¡¢PnPÌØ ......

linux tinyxml²åÈë½Úµã

bool InstertNode(string& szFileName)
{
 
  TiXmlDocument myDocument(szFileName);   
   bool loadOkay = myDocument.LoadFile();
   if(loadOkay == false)
    return false;
   //»ñµÃ¸ùÔªËØ
  TiXmlElement *r ......

how to install apache, PHP and MySQL on Linux 2

how to install apache, PHP and MySQL on Linux
This tutorial explains the installation of Apache web server, bundled
with PHP and MySQL server on a Linux machine. The tutorial is primarily for SuSE
9.2, 9.3, 10.0 & 10.1, but most of the steps ought to be valid for all
Linux-like operating ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ