linuxµ÷Õûϵͳʱ¼äºÍʱÇøµÄ·½·¨
linuxµ÷Õûϵͳʱ¼äºÍʱÇøµÄ·½·¨
1) ÕÒµ½ÏàÓ¦µÄʱÇøÎļþ /usr/share/zoneinfo/Asia/Shanghai
ÓÃÕâ¸öÎļþÌæ»»µ±Ç°µÄ/etc/localtimeÎļþ¡£
2) ÐÞ¸Ä/etc/sysconfig/clockÎļþ£¬ÐÞ¸ÄΪ£º
ZONE="Asia/Shanghai"
UTC=false
ARC=false
3)
ʱ¼äÉ趨³É2005Äê8ÔÂ30ÈÕµÄÃüÁîÈçÏ£º
#date -s 08/30/2005
½«ÏµÍ³Ê±¼äÉ趨³ÉÏÂÎç6µã40·Ö0ÃëµÄÃüÁîÈçÏ¡£
#date -s 18:40:00
4)
ͬ²½BIOSʱÖÓ£¬Ç¿ÖÆ°Ñϵͳʱ¼äдÈëCMOS£¬ÃüÁîÈçÏ£º
#clock -w
5)ÖØÆôapache¡£
LinuxʱÇø¡¢Ê±¼äµÄ¸ü¸Ä
LinuxʱÖÓ·ÖΪϵͳʱÖÓ £¨System Clock£©ºÍÓ²¼þ£¨Real Time Clock£¬¼ò³ÆRTC£©Ê±ÖÓ¡£ÏµÍ³Ê±ÖÓÊÇÖ¸µ±Ç°Linux KernelÖеÄʱÖÓ£¬¶øÓ²¼þʱÖÓÔòÊÇÖ÷°åÉÏÓɵç³Ø¹©µçµÄʱÖÓ£¬Õâ¸öÓ²¼þʱÖÓ¿ÉÒÔÔÚBIOSÖнøÐÐÉèÖᣵ±LinuxÆô¶¯Ê±£¬Ó²¼þʱÖÓ»áÈ¥¶ÁȡϵͳʱÖÓµÄÉèÖã¬È»ºóϵͳʱÖӾͻá¶ÀÁ¢ÓÚÓ²¼þÔË×÷¡£
LinuxÖеÄËùÓÐÃüÁ°üÀ¨º¯Êý£©¶¼ÊDzÉÓõÄϵͳʱÖÓÉèÖá£ÔÚLinuxÖУ¬ÓÃÓÚʱÖӲ鿴ºÍÉèÖõÄÃüÁîÖ÷ÒªÓÐdate¡¢hwclockºÍ clock¡£ÆäÖУ¬clockºÍhwclockÓ÷¨Ïà½ü£¬Ö»ÓÃÒ»¸ö¾ÍÐУ¬Ö»²»¹ýclockÃüÁî³ýÁËÖ§³Öx86Ó²¼þÌåϵÍ⣬»¹Ö§³ÖAlphaÓ²¼þÌåϵ¡£
1¡¢date
²é¿´ÏµÍ³Ê±¼ä
# date
ÉèÖÃϵͳʱ¼ä
# date --set “07/07/06 10:19" £¨ÔÂ/ÈÕ/Äêʱ:·Ö:Ã룩
2¡¢hwclock/clock
²é¿´Ó²¼þʱ¼ä
# hwclock --show
»òÕß# clock --show
ÉèÖÃÓ²¼þʱ¼ä
# hwclock --set --date="07/07/06 10:19" £¨ÔÂ/ÈÕ/Äê ʱ:·Ö:Ã룩
»òÕß# clock --set --date="07/07/06 10:19" £¨ÔÂ/ÈÕ/Äê ʱ:·Ö:Ã룩
3¡¢Ó²¼þʱ¼äºÍϵͳʱ¼äµÄͬ²½
°´ÕÕÇ°ÃæµÄ˵·¨£¬ÖØÐÂÆô¶¯ÏµÍ³£¬Ó²¼þʱ¼ä»á¶Áȡϵͳʱ¼ä£¬ÊµÏÖͬ²½£¬µ«ÊÇÔÚ²»ÖØÐÂÆô¶¯µÄʱºò£¬ÐèÒªÓÃhwclock»òclockÃüÁîʵÏÖͬ²½¡£
Ó²¼þʱÖÓÓëϵͳʱÖÓͬ²½£º# hwclock --hctosys£¨hc´ú±íÓ²¼þʱ¼ä£¬sys´ú±íϵͳʱ¼ä£©»òÕß# clock --hctosys
ϵͳʱÖÓºÍÓ²¼þʱÖÓͬ²½£º# hwclock --systohc»òÕß# clock --systohc
4¡¢Ê±ÇøµÄÉèÖÃ
# tzselect
Please identify a location so that time zone rules can be set correctly.Please select a continent or ocean
1) Africa
2) Americas
3) Antarctica
4) Arctic Ocean
5) Asia
6) Atlantic Ocean
7) Australia
8) Europe
9) Indian Ocean
10) Pacific Ocean
11) none - I want to specify the time zone using the Posix TZ format.
ÊäÈë5£¬ÑÇÖÞ
Please select a country
1) Afghanistan
18) Israel
35) Pales
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
ά»¤LinuxµÄssh¹¤¾ßÔÚʹÓÃÖУ¬Ò»µ©Óöµ½ÍøÂçÖжϣ¬Ôòµ±Ç°µÄshell¾Í»á×Ô¶¯¹Ø±Õ
µ±Ç°µÄ¹¤×÷½ø¶È¾Í»á¶ªÊ§£¬Õâ¶ÔÓÚÔ¶³ÌÉý¼¶µÈ±È½ÏºÄ·Ñʱ¼äµÄ¹¤×÷ÊǷdz£²»ÀûµÄ
¶ÔÓÚÔ¶³Ìµ÷ÊÊ´úÂëÒ²ÊǺܲ»¿É¿¿²»°²È«µÄ
Ϊ´Ë£¬¿ÉÒÔʹÓÃscreenÕâ¸ö¹¤¾ßÀ´½â¾öÕâ¸öÎÊÌâ¡£
¶ÔÓÚ×îС»¯µÄlinux£¬Í¨³£screenÊDz»°üº¬ÔÚϵͳÄڵġ£
ÐèÒª²éÕÒ²Ù×÷ϵͳµÄ°² ......
LINUX ÏÂVIÉèÖÃ
Ó¦ÓóÌÐòÆô¶¯Ê±£¬ÏȶÁÆäÅäÖÃÎļþ¡£Õâ¶ÔÓÚvi/vimÀ´Ëµ¾ÍÊǹ¤×÷Ŀ¼ÏµÄÒþ²ØÎļþ.vimrc¡£
¹ý³Ì(ÒÔrootÓû§ÎªÀý)
#vi ~/.vimrc
ÓÃÒÔÏÂÃüÁîд.vimrcÎļþΪ£º
&nb ......
Linux ϵͳ´¦ÓÚÕý³£×´Ì¬Ê±£¬·þÎñÆ÷Ö÷»ú¿ª»ú£¨»òÖØÐÂÆô¶¯£©ºó£¬Äܹ»ÓÉϵͳÒýµ¼Æ÷³ÌÐò×Ô¶¯Òýµ¼ Linux ϵͳÆô¶¯µ½¶àÓû§Ä£Ê½£¬²¢ÌṩÕý³£µÄÍøÂç·þÎñ¡£Èç¹ûϵͳ¹ÜÀíÔ±ÐèÒª½øÐÐϵͳά»¤»òϵͳ³öÏÖÆô¶¯Ò쳣ʱ£¬¾ÍÐèÒª½øÈëµ¥Óû§Ä£Ê½»òÐÞ¸´Ä£Ê½¶Ôϵͳ½øÐйÜÀíÁË¡£Ê¹Óõ¥Óû§Ä£Ê½ÓÐÒ»¸öÇ°Ìᣬ¾ÍÊÇÄúµÄϵͳÒýµ¼Æ÷£¨grub£©ÄÜÕý³£¹¤×÷£ ......