Blue Reef Technical Support Blue Reef Virtual Server Reseller ProgramInstallation instructions, manuals, how-tos, and more!About Blue Reef Consulting, Inc.

About Blue Reef Virtual ServersEcommerce Solutions for your Virtual ServerSearch the Blue Reef Virtual Server web site
Return to Blue Reef Virtual Servers Home Page
Order virtual servers, software, computers, and more!
Return to Blue Reef Main Home Page
Specials
Site Map
Support Solutions to help you do business with your Virtual Server.



Blue Reef Vitual Servers
Support Menu
Support White Papers
Server Configuration Overview
Configuring an index fileConfiguring an index file
Configuring CGI Settings
Installing CGi Scripts
CGI Security Issues
Server Side Includes
Restricing Access to Site
Choosing Passwords Wisely
Serving WAP DocumentsServing WAP Documents
Multi-language settings
Mime types
Configuring the Server Time Zone
Advanced Configuration
Recommended Books
Virtual Server Handbook
Submit a question to our Support Staff


Setting your Server's Time Zone

Changing the Time Zone
To change the Time Zone for your Virtual Server, do the following:

1. At a Telnet or SSH command prompt, type:
    % chmod 600 ~/etc/localtime
    % cp /usr/share/zoneinfo/America/Adak ~/etc/localtime
Here is a list of possible zones (substitute one of these instead of "America/Adak" shown above):
    What to Enter Time Zone
    America/Indianapolis
    America/Indiana/Marengo
    America/Indiana/Knox
    Eastern Standard Time
    America/Chicago
    America/Menominee
    Central Time
    America/Denver
    America/Boise
    America/Phoenix
    Mountain Time
    America/Los_Angeles
    Pacific Time
    America/Anchorage
    America/Juneau
    America/Yakutat
    America/Nome
    Alaska Time
    America/Adak Aleutian Islands
    Pacific/Honolulu Hawaii

If you want a European time zone, type this instead:
    % chmod 600 ~/etc/localtime
    % cp /usr/share/zoneinfo/Europe/London ~/etc/localtime
Here is a list of possible zones (substitute one of these instead of "London" shown above):
    Amsterdam, Andorra, Athens, Belfast, Belgrade, Berlin, Bratislava, Brussels, Bucharest, Budapest, Chisinau, Copenhagen, Dublin, Gibraltar, Helsinki, Istanbul, Kaliningrad, Kiev, Lisbon, Ljubljana, London, Luxembourg, Madrid, Malta, Minsk, Monaco, Moscow, Oslo, Paris, Prague, Riga, Rome, Samara, San_Marino, Sarajevo, Simferopol, Skopje, Sofia, Stockholm, Tallinn, Tirane, Vaduz, Vatican, Vienna, Vilnius, Warsaw, Zagreb, Zurich
2. Create the following directory on your virtual server and copy the appropriate file:
    % mkdir ~/usr/share/zoneinfo
    % mkdir ~/usr/share/zoneinfo/America

    % cp /usr/share/zoneinfo/America/Los_Angeles ~/usr/share/zoneinfo/America/

3. Add the following new line to the ~/.cshrc file.
    setenv TZ America/Los_Angeles
After editing the ~/.cshrc file, be sure to run:
    % source ~/.cshrc
4. To configure cron to use the same timezone, add the following line to the beginning of your cronfile:
    TZ=America/Los_Angeles
Other zones
There are also quite a few time zones in this file:
    /usr/share/zoneinfo
Testing and Using It
To make sure you set the time zone correctly on your Virtual Server do the following:
    % virtual date
Now, restart your Apache Web Server so that it will use the new time zone you have set:
    % restart_apache
SEE ALSO:

Administration Utilities


Telnet/SSH

About Apache Server

Virtual Server Basics

Web Server Configuration

Advanced Server Configuration

BOOKS TO HELP YOU:

Administering Web Servers, Security and Maintenance
Administering Web Servers, Security and Maintenance

$40.00


Apache Server Bible
Apache Server Bible

$39.99

Apache : The Definitive Guide (2nd Edition, 1999)
Apache:
The Definitive Guide

$26.36

Apache Server for Dummies
Apache Server for Dummies

$23.97


Apache:
Web Server Directives Guidebook

$15.95

Amazon.com logo
Search for :
Enter keywords...