Want more timely Centmin Mod News Updates?
Become a Member

Change CET to EET

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

Tags:
  1. pamamolf

    pamamolf Premium Member Premium Member

    4,100
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    9:42 AM
    Nginx-1.26.x
    MariaDB 10.6.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

    55,163
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    4:42 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,100
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    9:42 AM
    Nginx-1.26.x
    MariaDB 10.6.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

    55,163
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    4:42 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. pamamolf

    pamamolf Premium Member Premium Member

    4,100
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    9:42 AM
    Nginx-1.26.x
    MariaDB 10.6.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

    55,163
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    4:42 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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