Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux modify server time modify orcale database time

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

# modify linux database time

Modify the linux host system time and synchronize it to the hardware time. In general, the system is then brushed to the hardware. You can synchronize it from the NTP time server and then synchronize it to the hwclock.

Date-s "2019-12-31 11:54:56" & & hwclock-- systohc

Modify orcale database time

(1) Log in to the database as oracle, and command: su-oracle

(2) enter the Sqlplus console and command: sqlplus / nolog

(3) Log in as system administrator, command: connect / as sysdba

Enter the sysdba default password: changer_on_install

(4) start the database, command: startup

(5) if the database is closed, the command: shutdown immediate

(6) exit the sqlplus console, command: exit

(7) enter the listener console, and command: lsnrctl

(8) start the listener, command: start or stop

(9) exit the listener console, command: exit

(10) end of restarting the database

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report