Ubuntu铏氭嫙鏈轰腑鏃堕棿涓巜indows鏃堕棿涓嶄竴鑷寸殑闂瑙e喅
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu铏氭嫙鏈轰腑鏃堕棿涓巜indows鏃堕棿涓嶄竴鑷寸殑闂瑙e喅相关的知识,希望对你有一定的参考价值。
鏍囩锛?a href='http://www.mamicode.com/so/1/man' title='man'>man
浣跨敤 alt ln -s end for 鎵ц rect ret鏂规硶涓€锛氳缃椂鍖?/p>
鍦╱buntu鐨勭粓绔腑鎵ц鍛戒护锛?/p>
sudo tzselect
渚濇閫夋嫨锛?/p>
4) Asia
9) China
1) Beijing Time
1) Yes
涔嬪悗浼氭湁鎻愮ず濡備笅锛?/p>
You can make this change permanent for yourself by appending the line TZ=鈥楢sia/Shanghai鈥? export TZ to the file 鈥?profile鈥?in your home directory; then log out and log in again. Here is that TZ value again, this time on standard output so that you can use the /usr/bin/tzselect command in shell scripts: Asia/Shanghai
姝ゅ鏍规嵁鎻愮ず鍐呭锛岀寽娴嬮渶瑕佸皢鈥淭Z=鈥楢sia/Shanghai鈥? export TZ鈥?娣诲姞鍒皛/.bashrc鎴杶/.profile涓紝杩欐牱鎵嶈兘姣忔寮€鏈虹櫥闄嗙殑鏃跺€欐墠鐢熸晥銆?/p>
鎴戣繖閲岀敱浜庝娇鐢∟TP锛屽紑鍏虫満鍚庢椂鍊欎緷鐒剁敓鏁堢殑闂灏辨病鍐嶅幓鍋氶獙璇佷簡銆?/p>
鍒涘缓鏃跺尯
sudo ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
鏂规硶浜岋細浣跨敤NTP鏈嶅姟
sudo atp install ntp 鎴栬€呭湪Ubuntu鐨刄I涓牴鎹彁绀洪€夋嫨NTP鏇存柊鏃堕棿銆?br>
以上是关于Ubuntu铏氭嫙鏈轰腑鏃堕棿涓巜indows鏃堕棿涓嶄竴鑷寸殑闂瑙e喅的主要内容,如果未能解决你的问题,请参考以下文章