How To Change Timezone for a Linux Server

change timezone linux >>

me@slice0:~/ date

to see the current date

me@slice0:~/ cd /etc

you need to delete the current timezone (file)

me@slice0:/etc rm localtime

Now find the zone file you want

me@slice0:/etc ls /usr/share/zoneinfo/

You’ll need to navigate to the time zone file you want, but STAY IN /etc

me@slice0:/etc ln -s /usr/share/zoneinfo/US/Pacific localtime

To set time

me@slice0:~/ sudo date -s “7 MAY 2015 01:57:00”

You may also like...