Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo下设置时区的方法
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
fqabel
n00b
n00b


Joined: 28 Nov 2011
Posts: 2

PostPosted: Mon Nov 28, 2011 7:47 am    Post subject: Gentoo下设置时区的方法 Reply with quote

Gentoo下设置时区的方法如下:

  1.ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

  2.修改/etc/conf.d/clock,将其中的CLOCK设置为"local",即:CLOCK="local"

3. rc-update -d gdm default

Ububtu在默认情况下认为BIOS中的时间是UTC时间,Gentoo在如上的设置下认为BIOS中的时间是本地时间,相差八个小时,解决的方法:

  在Ubuntu下修改/etc/default/rcS 文件,将 UTC=yes 改为 UTC=no
Back to top
View user's profile Send private message
wgwnxu
n00b
n00b


Joined: 15 Jan 2012
Posts: 20

PostPosted: Sun Jan 15, 2012 5:22 am    Post subject: Reply with quote

第二步有问题:请改/etc/conf.d/hwclock文件,不是clock
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum