ubuntu 10.04时区设置
来源:互联网 发布:小角磨机淘宝网 编辑:程序博客网 时间:2024/05/29 13:56
在crontab中执行定时任务,发现延迟9个小时。后来在命令行发现:
root@dragon-desktop:~# date -u
Thu Apr 25 03:25:48 UTC 2013
root@dragon-desktop:~# date
Thu Apr 25 11:26:56 CST 2013
首先设置时区:
root@dragon-desktop:~# dpkg-reconfigure tzdata
Current default time zone: 'Asia/Shanghai'
Local time is now: Thu Apr 25 11:32:50 CST 2013.
Universal Time is now: Thu Apr 25 03:32:50 UTC 2013.
系统时间:
root@dragon-desktop:~# date
Thu Apr 25 11:33:41 CST 2013
bois时间:
root@dragon-desktop:~# hwclock --show
Thu 25 Apr 2013 11:34:08 AM CST -0.781089 seconds
UTC是格林威治时间,CST是中国标准时间,很显然CST=UTC+8。
找到关于utc的设置
root@dragon-desktop:~# gedit /etc/default/rcS
utc=no #保存退出
- ubuntu 10.04时区设置
- ubuntu server 时区设置
- ubuntu 时区设置
- uBuntu 时区设置
- ubuntu时区设置
- ubuntu时区设置
- ubuntu时区选择与时间设置
- ubuntu设置时区,网上同步时间
- ubuntu debian 设置locale和时区
- ubuntu server设置时区和更新时间
- ubuntu设置时区,网上同步时间
- ubuntu server设置时区和更新时间
- ubuntu设置时区,网上同步时间
- Ubuntu设置时区和更新时间
- ubuntu server设置时区和更新时间
- ubuntu server设置时区和更新时间
- ubuntu server设置时区和更新时间
- Linux(Ubuntu)设置系统时区
- java取的日期的操作,放在类里
- Shell脚本大小写字符串转换(mail-username),telnet用在shell中
- 今天一直报java.lang.ClassCastException: org.ksoap2.SoapFault错
- 终于找到全annotation配置springMVC的方法了(事务不失效)
- mysql日期函数
- ubuntu 10.04时区设置
- FFT算法应用实例
- 在ArcGIS 10中使用python
- sqlite 取日期的方法:年,季度,月,当月第几周
- 配置eclipse环境
- hadoop hdfs总结 NameNode部分-- 概述
- CRichEditCtrl系列讲堂4 自己遇到的查找问题及解决方案
- 详细讲解Java中log4j的使用方法
- Getting Started: Failover Clusters on windows server 2008