Views:

To change the time zone settings:

  1. Go to the Center Server client and access the DSVA console.
  2. Press ALT + F2 to open the non-graphical interface.

    This opens the command line interface (CLI).

  3. Switch to root by executing the command below:

    sudo -s

  4. Enter the default password "dsva".
  5. Back up the old time zone settings. Run the following command:

    cp /etc/localtime /etc/localtime-old

  6. Go to the directory /usr/share/zoneinfo. Run the following commands:

    cd /usr/share/zoneinfo
    ls -a

    The list of time zone regions will be displayed.

  7. Choose the most appropriate region and replace the /etc/localtime file.

    For example, to set the local time in Shanghai, run the following command:

    cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

  8. To verify that the time zone has been set, run the "date" command.