Changing VPS time?

#1
Hey Guys,

I just signed up for KnownHost last night and I still have allot that needs to be configured before I am up and running. I have allot to learn to say the least :).

Anyway, here is a simple question:
[root@host ~]# date
Fri Apr 27 16:47:29 EDT 2007

The time on my VPS is incorrect. I live in San Francisco, I believe we are -8. How do I change this at the command line? I see a place to change it in Virtuozzo but it's not listed for my region. Plus I'd like to learn the manual way of doing it via the command line :). I searched Google but there are allot of conflicting procedures. If someone could just write it out for me command by command that would be appreciated.

-Chris
 
#2
ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime

That seems to have done it. But I'm in San Francisco... is it OK? Let's see if all my control panels pick it up.
 
Top