差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版 前次修改
下次修改兩邊的下次修訂版
tech:centostimezone [2020/07/07 13:47] – [處理方式] jonathan_tsaitech:centostimezone [2020/09/21 11:38] – [處理方式] jonathan_tsai
行 1: 行 1:
 +====== CentOS 修改時區 ======
 +  * CentOS 6.9 x86_64
 +  * 想改成台北時區 Asia Taipei
 +
 +===== 處理方式 =====
 +<code sh>
 +cp /etc/localtime /root/old.timezone
 +rm -f /etc/localtime
 +ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime
 +</code> 操作畫面 <xtermrtf>
 +[root@pve-Jonathan1 ~]# date
 +Wed Mar  7 19:20:03 EST 2018
 +[root@pve-Jonathan1 ~]# cp /etc/localtime /root/old.timezone
 +[root@pve-Jonathan1 ~]# rm -f /etc/localtime
 +[root@pve-Jonathan1 ~]# ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime
 +[root@pve-Jonathan1 ~]# date
 +Thu Mar  8 08:22:58 CST 2018
 +</xtermrtf>
 +
 +
 +===== 參考網址 =====
 +  * https://dotblogs.com.tw/grayyin/2017/12/07/150110
 +
 +{{tag>centos systemtime timezone}}
  
  • tech/centostimezone.txt
  • 上一次變更: 2021/01/28 00:09
  • jonathan