Occasionaly, I need to change system date back and forth.
Of course date -s doesn't work . AFAIK using zic and timezones > /etc/localtime could help up to (almost) 24 hours, but dates are out of range.
Is there any way to change date on a VPS?
This is a discussion on Changing date in the VPS & Dedicated forum
Occasionaly, I need to change system date back and forth.
Of course date -s doesn't work . AFAIK using zic and timezones > /etc/localtime could ...
Occasionaly, I need to change system date back and forth.
Of course date -s doesn't work . AFAIK using zic and timezones > /etc/localtime could help up to (almost) 24 hours, but dates are out of range.
Is there any way to change date on a VPS?
what control panel are you using?
If cPanel it can be changed by going into Server Time in the Server Configuration section.
Rob
No control panel Rob.
Just plain old ssh.
You cannot change system time in a VPS because all VPSs on the hardware node have the same system time. However, it is possible to change the default system timezone inside a VPS, for example, by replacing /etc/localtime with the file from /usr/share/zoneinfo which contains a description of your timezone.
It may be the similar case with date too.
Thanks Smith.
I have no idea how to do it.
According to zic:
Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
So I made 'customtime' file with the following:
Rule CT 1981 2030 - Jan 27 0:01 -77:00 D
Unfortunatelly 'SAVE' does not accept anything above (-)24:00, in this case -77:00:
# zic customtime
"customtime", line 1: invalid saved time
JPC_Smith,
Could you enable anything like "Time Drift" like some Xen versions can:
http://bliki.rimuhosting.com/exec/di...2&newVersion=3
Actually the xen code is against "time drift" (my bad wording) and it goes something like this:
set independent_wallclock
echo 1 > /proc/sys/xen/independent_wallclock
Is there really no way to do it here?
I do not think virtuozzo supports that. Its a different technology.
Copyright © 2011 JaguarPC.com
Bookmarks