Focus On Oracle

Installing, Backup & Recovery, Performance Tuning,
Troubleshooting, Upgrading, Patching

Oracle Engineered System


当前位置: 首页 » 技术文章 » Oracle

如何修改Oracle Enterprise Linux时区?

修改/etc/sysconfig/clock

[root@psdyy-2 ~]# cat /etc/sysconfig/clock

ZONE="Asia/Shanghai"
UTC=true
[root@psdyy-2 ~]# date

Thu May 18 10:22:35 EDT 2017

备份并修改/etc/localtime

[root@psdyy-2 ~]# ls -l /etc/localtime
-rw-r--r--. 1 root root 3519 Jun 14  2016 /etc/localtime
[root@psdyy-2 ~]# mv /etc/localtime /etc/localtime.ohs
[root@psdyy-2 ~]# date

Thu May 18 14:22:50 UTC 2017

[iapsdyy@psdyy-man ~]$ file /usr/share/zoneinfo/Asia/Shanghai
/usr/share/zoneinfo/Asia/Shanghai: timezone data, version 2, 2 gmt time flags, 2 std time flags, no leap seconds, 16 transition times, 2 abbreviation chars
[iapsdyy@psdyy-man ~]$
[root@psdyy-2 ~]# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
[root@psdyy-2 ~]# date
Thu May 18 22:23:03 CST 2017

[root@psdyy-2 ~]#


关键词:nuix oel 

相关文章

如何修改Oracle Enterprise Linux时区?

联系我们

韩朝阳



    Phone:186-9589-1286

    E-mail:ohsdba@qq.com

    微  信: ohsdba


电话(186-9589-1286)

QQ(375349564)

微信(ohsdba)


常用链接

Oracle Database Upgrade

Oracle

eDelivery
My Oracle Support

Exadata 12.1 Document

Exadata 12.2 Document

Oracle 11gR2 Document

Oracle 12cR1 Document

Oracle 12cR2 Document

GoldenGate 12c

Oracle Fusion Middleware

Mysql Document

PostgreSQL

Python

github

sourceforge



Top
Cell186-9589-1286
QQ 375349564
E-mail ohsdba@qq.com