Welcome to Centmin Mod Community
Become a Member

Change CET to EET

Discussion in 'System Administration' started by pamamolf, Feb 2, 2016.

Tags:
  1. pamamolf

    pamamolf Well-Known Member

    3,108
    294
    83
    May 31, 2014
    Ratings:
    +529
    Local Time:
    9:07 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    I am looking to change the time from:

    Mon Feb 1 19:38:05 CET 2016
    to
    Mon Feb 1 20:38:07 EET 2016

    I know how to change the time but how can i change the CET to EET?

    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    35,076
    7,742
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,941
    Local Time:
    4:07 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  3. pamamolf

    pamamolf Well-Known Member

    3,108
    294
    83
    May 31, 2014
    Ratings:
    +529
    Local Time:
    9:07 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    I am as root on Centos 7.2 and can't locate the .profile so i can make this permanent :(
    Is this one /etc/profile or is located to another path?
     
  4. eva2000

    eva2000 Administrator Staff Member

    35,076
    7,742
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,941
    Local Time:
    4:07 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  5. pamamolf

    pamamolf Well-Known Member

    3,108
    294
    83
    May 31, 2014
    Ratings:
    +529
    Local Time:
    9:07 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Great but how can i make it permanent so after reboot to be the same as i can't see any related edit to .profile file (the one that i can't locate) ?
     
  6. eva2000

    eva2000 Administrator Staff Member

    35,076
    7,742
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,941
    Local Time:
    4:07 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    timedatectl does make it permanent from what i can tell it basically does what the manual symlink does when Centmin Mod sets up timezone after initial install with symlink just via handy commandline
    Code:
    ls -l /etc/localtime
    lrwxrwxrwx. 1 root root 27 Dec 29 12:11 /etc/localtime -> /usr/share/zoneinfo/Etc/UTC
     
    • Like Like x 1
..