cara set timezone ubuntu server | java php laravel linux mysql sql bootstrap html css query java php laravel linux mysql sql bootstrap html css query: cara set timezone ubuntu server

Saturday, April 4, 2015

cara set timezone ubuntu server

Ubuntu server kq ikut jam WIB (Jakarta), padahal si ubuntu server tinggal di Banjarmasin

Bismillah

q> Gogling ketemu sumber [1]

q> jalankan perintah ini pada ubuntu server untuk cek tanggal dan timezone


[sourcecode language="bash"]date[/sourcecode]


q> jalankan perintah ini, untuk cek timezone sekarang


[sourcecode language="bash"]more /etc/timezone[/sourcecode]


q> jalankan perintah ini, untuk memilih timezone sesuai tempat tinggal si ubuntu-server :)


[sourcecode language="bash"]sudo dpkg-reconfigure tzdata[/sourcecode]


q> Kemudian restart service cron, supaya si cron mengambil timezone yang terbaru


[sourcecode language="bash"]/etc/init.d/cron stop[/sourcecode]



[sourcecode language="bash"]/etc/init.d/cron start[/sourcecode]


q> Berhasil

sumber [1]:

http://www.christopherirish.com/2012/03/21/how-to-set-the-timezone-on-ubuntu-server/

Alhamdulillah

No comments:

Post a Comment

saifiahmada.com adalah blog belajar programming Indonesia, membahas lengkap materi bahasa pemrograman: code HTML, CSS, Bootstrap, Desain, PHP, MySQL, coding Java, Query, SQL, dan dunia linux