You are viewing the article How to Change Time Zone on Linux at Tnhelearning.edu.vn you can quickly access the necessary information in the table of contents of the article below.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 9,820 times.
This wikiHow teaches you how to change the time zone on a Linux computer. You can change the time zone on any Linux distribution using the command line or the command line menu depending on the Linux version. If you’re using Mint, Ubuntu, or another distribution with a simple user interface and settings menu, you can also change the time zone right here.
Steps
By command line
Thứ Tháng Ngày Giờ Múi giờ Năm
(English abbreviation).
- For example, in the line
Wed Mar 7 07:38:23 EDT 2017
“EDT” stands for the current time zone (Eastern Daylight Time: daylight saving time in the US).
- The /usr/share/zoneinfo directory may vary depending on the Linux version.
- If your city is not on the list, select another city in the same time zone as you.
- If the time is not correct, type 2 then press ↵ Enter , then select the new continent and repeat the process.
- Ubuntu/Mint/Debian : sudo apt install ntpdate
- CentOS : sudo yum install ntpdate
sudo /sbin/chkconfig ntpd on - Fedora/RedHat : sudo yum install ntpdate
sudo chkconfig ntpd on - Enter ntpdate server link && hwclock –w after the installation command, remember to replace the server link with the link to the website.
By time zone selection menu
- Ubuntu and Mint – sudo dpkg-reconfigure tzdata followed by the password admin (admin)/user (user).
- Redhat – redhat-config-date
- CentOS and Fedora – system-config-date
- ‘ FreeBSD and Slackware – tzselect
By graphical user interface on Ubuntu
. The option has a downward-facing triangle in the upper-right corner of the screen. A drop-down menu will appear. [2] X Research Source
- You need to make sure that the mouse pointer is on the left sidebar when scrolling.
- If the “Automatic Time Zone” switch is greyed out, skip this step.
Using the Mint . graphical user interface
Advice
- On RedHat Linux, Slackware, Gentoo, SuSE, Debian, Ubuntu and some other “regular” versions, the command to display and change the time is “date” not “clock”.
- On mobile phones and small devices running the Linux operating system, time zones are stored differently.
Warning
- Some applications (like PHP) have their own time zone settings that are different from the system time zone.
- On some systems there is a utility to set the correct time zone and change it to suit the system configuration. For example, on Debian there is a “tzsetup” or “tzconfig” utility.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 9,820 times.
This wikiHow teaches you how to change the time zone on a Linux computer. You can change the time zone on any Linux distribution using the command line or the command line menu depending on the Linux version. If you’re using Mint, Ubuntu, or another distribution with a simple user interface and settings menu, you can also change the time zone right here.
Thank you for reading this post How to Change Time Zone on Linux at Tnhelearning.edu.vn You can comment, see more related articles below and hope to help you with interesting information.
Related Search: