How to change system timezone permanently?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












"dpkg-reconfigure tzdata" does the job perfectly. But I require a method that doesn't include a text based gui. I have searched and seen some ways which require using "tzselect" and then export "TZ" environment variable while others suggest to create symbolic link "ln -s /usr/share/zoneinfo/ /etc/localtime". Can you tell me which one to use so that the system time is changed permanently and persistent across reboots.










share|improve this question

























    up vote
    0
    down vote

    favorite












    "dpkg-reconfigure tzdata" does the job perfectly. But I require a method that doesn't include a text based gui. I have searched and seen some ways which require using "tzselect" and then export "TZ" environment variable while others suggest to create symbolic link "ln -s /usr/share/zoneinfo/ /etc/localtime". Can you tell me which one to use so that the system time is changed permanently and persistent across reboots.










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      "dpkg-reconfigure tzdata" does the job perfectly. But I require a method that doesn't include a text based gui. I have searched and seen some ways which require using "tzselect" and then export "TZ" environment variable while others suggest to create symbolic link "ln -s /usr/share/zoneinfo/ /etc/localtime". Can you tell me which one to use so that the system time is changed permanently and persistent across reboots.










      share|improve this question













      "dpkg-reconfigure tzdata" does the job perfectly. But I require a method that doesn't include a text based gui. I have searched and seen some ways which require using "tzselect" and then export "TZ" environment variable while others suggest to create symbolic link "ln -s /usr/share/zoneinfo/ /etc/localtime". Can you tell me which one to use so that the system time is changed permanently and persistent across reboots.







      dpkg system-settings timezone






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 18 at 3:44









      user8070445

      31




      31




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          See this answer: https://serverfault.com/a/84528/459227



          In short, you can set the timezone you want in /etc/timezone and then you can call dpkg-reconfigure -f noninteractive tzdata so it applies the settings without asking on a text based GUI.






          share|improve this answer




















          • Thanks, will give it a try and see if its persistent across reboots.
            – user8070445
            Apr 18 at 4:11










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1025990%2fhow-to-change-system-timezone-permanently%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote



          accepted










          See this answer: https://serverfault.com/a/84528/459227



          In short, you can set the timezone you want in /etc/timezone and then you can call dpkg-reconfigure -f noninteractive tzdata so it applies the settings without asking on a text based GUI.






          share|improve this answer




















          • Thanks, will give it a try and see if its persistent across reboots.
            – user8070445
            Apr 18 at 4:11














          up vote
          0
          down vote



          accepted










          See this answer: https://serverfault.com/a/84528/459227



          In short, you can set the timezone you want in /etc/timezone and then you can call dpkg-reconfigure -f noninteractive tzdata so it applies the settings without asking on a text based GUI.






          share|improve this answer




















          • Thanks, will give it a try and see if its persistent across reboots.
            – user8070445
            Apr 18 at 4:11












          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          See this answer: https://serverfault.com/a/84528/459227



          In short, you can set the timezone you want in /etc/timezone and then you can call dpkg-reconfigure -f noninteractive tzdata so it applies the settings without asking on a text based GUI.






          share|improve this answer












          See this answer: https://serverfault.com/a/84528/459227



          In short, you can set the timezone you want in /etc/timezone and then you can call dpkg-reconfigure -f noninteractive tzdata so it applies the settings without asking on a text based GUI.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 18 at 4:08









          Filipe Brandenburger

          5867




          5867











          • Thanks, will give it a try and see if its persistent across reboots.
            – user8070445
            Apr 18 at 4:11
















          • Thanks, will give it a try and see if its persistent across reboots.
            – user8070445
            Apr 18 at 4:11















          Thanks, will give it a try and see if its persistent across reboots.
          – user8070445
          Apr 18 at 4:11




          Thanks, will give it a try and see if its persistent across reboots.
          – user8070445
          Apr 18 at 4:11

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1025990%2fhow-to-change-system-timezone-permanently%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Which professions warranted travel in Medieval times?

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error