Differences

This shows you the differences between two versions of the page.

Link to this comparison view

server-administration:change-timezone [2010-08-23 19:15:08]
garrett.plasky created
server-administration:change-timezone [2011-07-01 19:14:38] (current)
garrett.plasky Approved
Line 2: Line 2:
 To set the timezone in Linux, update /etc/localtime with the appropriate timezone file from /usr/share/zoneinfo. Example: To set the timezone in Linux, update /etc/localtime with the appropriate timezone file from /usr/share/zoneinfo. Example:
  
-<code console>rm -f /etc/localtime +<sxh shell>rm -f /etc/localtime 
-ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime +ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime</sxh>
-</code>+
  
 This would set your time zone to PST/PDT (Pacific Time) because that is the time zone Los Angles is located in. This would set your time zone to PST/PDT (Pacific Time) because that is the time zone Los Angles is located in.
  
 {{tag>how-to shell vps ubuntu centos}} {{tag>how-to shell vps ubuntu centos}}