In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Linux how to modify the system time zone, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
Download address of Unix/Linux
1. View the system time
# date
You can see that the time zone is EST (US Eastern Standard time), and the normal display should be CST (China Standard time).
2. View the system time zone
# date-R
You can see that the output is
Fri, 21 Nov 2014 00:54:08-0500
Time zone is-5
The normal time zone should be displayed as + 8 (East Zone 8)
3. Make sure the network is smooth, DNS is parsed properly, and try to synchronize the Internet time.
# ntpdate cn.pool.ntp.org
4. View the system time zone configuration file
# cat / etc/sysconfig/clock
5. View the local system time zone configuration file
# strings / etc/localtime
6. Try to modify the system time zone
# tzselect
Select the correct time zone according to the prompts
7. If it can not be solved normally
# cp / usr/share/zoneinfo/Asia/Shanghai / etc/localtime
8. Check the system time zone and system time again, and it has been displayed normally
# date
# date-R
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.