Time zone in Linux

Source: Internet
Author: User
Time zone in Linux-Linux Enterprise Application-Linux server application information. For details, refer to the following section. I was confused by the Linux time zone just now. The record is as follows:
Ln-sf/usr/share/zoneinfo/Asia/Shanghai/etc/localtime

In this way, the time zone is changed to Shanghai time.

Change the time zone to UTC:
Ln-sf/usr/share/zoneinfo/UTC/etc/localtime

In addition, IP route is also very involved:
Root @ A7570_SH15_A :~ # Ip rule
0: from all lookup local
32764: from all fwmark 2 lookup sctp2
32765: from all fwmark 1 lookup sctp1
32766: from all lookup main
32767: from all lookup 253
Root @ A7570_SH15_A :~ # Ip route list table sctp1
Default via 192.168.29.254 dev eth4
Root @ A7570_SH15_A :~ # Ip route list table sctp2
Default via 192.168.30.254 dev eth5
Root @ A7570_SH15_A :~ # Iptables-L-t mangle
Chain PREROUTING (policy ACCEPT)
Target prot opt source destination

Chain INPUT (policy ACCEPT)
Target prot opt source destination

Chain FORWARD (policy ACCEPT)
Target prot opt source destination

Chain OUTPUT (policy ACCEPT)
Target prot opt source destination
MARK 132 -- 10.10.15.3 anywhere MARK set 0x1
MARK icmp -- 10.10.15.3 anywhere MARK set 0x1
MARK 132 -- 10.11.15.3 anywhere MARK set 0x2
MARK icmp -- 10.11.15.3 anywhere MARK set 0x2

Chain POSTROUTING (policy ACCEPT)
Target prot opt source destination

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.