更改Linux服务器系统时区方法

Kevin 教程 1,099 次浏览 37条评论

如果没做修改,开通VPS后通常系统默认使用UTC世界时间,与我们习惯的东八区时间慢了8个小时。为此,平时很多操作需要考虑这个因素,例如查看系统日志、设置定时任务之类。为方便平时使用,免去换算时间的麻烦,可以调整下系统时区,下面介绍操作方法。

Ubuntu & Debian更改时区

运行dpkg-reconfigure tzdata命令,按提示选择地理区域(使用上下键选择,Enter确定)

CentOS 7 & Arch更改时区

1. 使用timedatectl list-timezones命令查看时区列表(使用键盘上下箭头移动,按q退出列表)

2. 运行timedatectl set-timezone 'Asia/Shanghai'命令更改为UTC+8时区。如需其他时区,替换其中的时区名称即可。

3. 要确认是否更改成功,运行date命令检查系统时间。

评论列表

  1. #1

    hydroxychloroquine cost per dose https://hydroxychloroquine.webbfenix.com/

  2. #2

    priligy for sale uk https://dapoxetine.confrancisyalgomas.com/

  3. #3

    side effects of ivermectin overdose https://ivermectin.mlsmalta.com/

  4. #4

    cvs pharmacy price for vidalista https://vidalista40mg.mlsmalta.com/

  5. #5

    strongest sleep medication available https://edmeds.buszcentrum.com/

  6. #6

    strongest sleep medication available https://buymeds.mlsmalta.com/

  7. #7

    albuterol coupons printable https://amstyles.com/

  8. #8

    cialis free trial coupon https://wisig.org/

  9. #9

    cialis with dapoxetine testimonials https://ddapoxetine.com/

  10. #10

    viagra side effects for men https://sildenafili.com/

  11. #11

    tadalafil best price 20 mg https://tadalafil.cleckleyfloors.com/

  12. #12

    hydroxychlor 200 mg side effects https://hydroxychloroquine.lm360.us/

  13. #13

    where can i buy chloroquine phosphate https://hydroxychloroquinee.com/

  14. #14

    viagra side effects comedy https://viaplz.com/

  15. #15

    alternatives to prednisone for cats https://bvsinfotech.com/

  16. #16

    Sprawdź ranking na chwilówki przez internet i weź szybką pożyczkę internetową lub kredyt przez internet. https://chwilowki-pozyczka.pl/

  17. #17

    I am just writing to make you understand what a notable experience my wife’s girl had using your web site. She mastered so many pieces, which included what it is like to possess an excellent helping nature to let other people with ease learn some problematic things. You truly surpassed people’s expected results. Thank you for producing these precious, trusted, informative and in addition fun tips about this topic to Lizeth. https://johnpisanohomeimprovements.com/

  18. #18

    I am also commenting to let you know of the helpful encounter my friend’s daughter found reading through your web page. She picked up such a lot of things, with the inclusion of what it is like to possess an ideal teaching style to make the mediocre ones without hassle master specified tricky topics. You undoubtedly surpassed visitors’ expected results. Thanks for showing those valuable, trustworthy, revealing not to mention unique tips on your topic to Sandra. https://azzaroelectric.com/

  19. #19

    I precisely desired to say thanks again. I’m not certain the things I could possibly have created in the absence of the actual creative ideas discussed by you concerning my concern. It absolutely was a depressing concern for me personally, but considering a new professional fashion you handled it forced me to cry for delight. I’m grateful for the assistance and as well , expect you comprehend what a powerful job that you are carrying out educating men and women by way of a web site. I am certain you’ve never come across all of us. https://desyreltrazodone.com/

  20. #20

    I am commenting to let you know of the fabulous encounter my cousin’s daughter experienced reading your site. She even learned many issues, not to mention what it’s like to have a wonderful giving mindset to have many people just grasp chosen grueling subject areas. You really exceeded our expectations. Many thanks for distributing the informative, healthy, educational and as well as easy thoughts on the topic to Jane. https://luvoxfluvoxamine.com/

  21. #21

    I’m commenting to let you be aware of of the awesome discovery my child developed browsing the blog. She came to find a good number of details, including how it is like to have a great coaching character to get certain people clearly comprehend a number of advanced issues. You actually did more than her desires. I appreciate you for churning out such effective, dependable, edifying and cool guidance on that topic to Emily. https://luvoxfluvoxamine.com/

  22. #22

    I happen to be writing to make you understand what a useful experience our princess went through visiting yuor web blog. She realized too many things, with the inclusion of what it is like to possess an incredible teaching style to make the rest without problems understand various very confusing topics. You undoubtedly surpassed visitors’ expected results. Thanks for supplying those warm and helpful, trustworthy, revealing not to mention unique tips on your topic to Tanya. https://seroquelquetiapine.com/#

  23. #23

    how to pronounce cefixime https://ceefexime.co/

  24. #24

    mail order cialis https://cialis.confrancisyalgomas.com/

  25. #25

    I would like to express appreciation to this writer for rescuing me from this type of instance. As a result of searching throughout the world wide web and seeing tricks which were not pleasant, I assumed my entire life was done. Being alive without the presence of answers to the problems you have sorted out as a result of the site is a crucial case, and ones that could have in a negative way damaged my entire career if I hadn’t noticed the blog. Your primary skills and kindness in touching all things was invaluable. I don’t know what I would have done if I had not encountered such a thing like this. It’s possible to at this moment relish my future. Thanks so much for the high quality and result oriented help. I won’t be reluctant to endorse the blog to anybody who will need recommendations about this subject.

    http://www.vreyrolinomit.com/

  26. #26

    tadalafil generic reviews https://cialis.studiowestinc.com/

  27. #27

    tadalafil generic reviews https://cialis.mlsmalta.com/

  28. #28

    generic tadalafil: http://tadalafilonline20.com/ generic tadalafil 40 mg

  29. #29

    medications without a doctor’s prescription buy prescription drugs

  30. #30

    generic pills for ed generic pills without a doctor prescription

  31. #31

    vidalista 20 erfahrungen

  32. #32

    best place to buy generic viagra online viagra without a doctor prescription
    mexican viagra

  33. #33

    buy real viagra online mexican viagra
    best place to buy generic viagra online

  34. #34

    viagra cost viagra 100mg price
    cheap viagra online

  35. #35

    viagra amazon viagra from india
    buy viagra online usa

  36. #36

    I’m truly enjoying the design and layout of your
    site. It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit
    more often. Did you hire out a developer to create your theme?
    Excellent work! http://antiibioticsland.com/Amoxil.htm

  37. #37

    buy hydroxychloroquine online https://hydroxychloroquinex.com/

发表评论

电邮地址用于 Gravatar 头像显示,不会被公开可见。