{"id":1447,"date":"2009-10-10T12:27:00","date_gmt":"2009-10-10T16:27:00","guid":{"rendered":"http:\/\/www.gubatron.com\/blog\/?p=1447"},"modified":"2009-10-10T12:27:00","modified_gmt":"2009-10-10T16:27:00","slug":"ubuntudebian-quick-reference-how-to-change-your-servers-utc-timezone-on-the-command-line","status":"publish","type":"post","link":"https:\/\/www.gubatron.com\/blog\/ubuntudebian-quick-reference-how-to-change-your-servers-utc-timezone-on-the-command-line\/","title":{"rendered":"Ubuntu\/Debian Quick Reference: How To Change Your Server&#8217;s UTC Timezone on the command line"},"content":{"rendered":"<p>Just Type&#8230;<br \/>\n<strong><code>sudo dpkg-reconfigure tzdata<\/code><br \/>\n<\/strong><\/p>\n<p>&#8230;and follow the instructions on screen.<\/p>\n<p>The process should look something like the following:<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2009\/10\/tzdata_sshot_01.png?w=640\"\/><\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2009\/10\/tzdata_sshot_02.png?w=640\"\/><br \/>\nSelect your Region<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2009\/10\/tzdata_sshot_03.png?w=640\"\/><br \/>\nSelect a city on your time zone<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2009\/10\/tzdata_sshot_04.png?w=640\"\/><br \/>\nYou&#8217;re done.<\/p>\n<p><strong>Tip<\/strong><br \/>\nYou can always check the status of your configuration using<br \/>\n<code>sudo debconf-show tzdata<\/code><\/p>\n<p>You could for example map that command via ssh to several machines and grep for &#8220;*&#8221;, that way you could easily spot servers with wrong timezones very quickly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just Type&#8230; sudo dpkg-reconfigure tzdata &#8230;and follow the instructions on screen. The process should look something like the following: Select your Region Select a city on your time zone You&#8217;re done. Tip You can always check the status of your configuration using sudo debconf-show tzdata You could for example map that command via ssh to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[15,30,43],"tags":[327,329,1449,831,994,995,996,997,998,1027,1053],"class_list":["post-1447","post","type-post","status-publish","format-standard","hentry","category-code","category-geeklife","category-linux","tag-date","tag-debian","tag-linux","tag-reference","tag-time","tag-time-zone","tag-time-zones","tag-timezone","tag-timezones","tag-ubuntu","tag-utc"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5Unzf-nl","jetpack-related-posts":[{"id":1399,"url":"https:\/\/www.gubatron.com\/blog\/reference-linux-networkbandwidth-monitoring-cli-tools\/","url_meta":{"origin":1447,"position":0},"title":"Reference: Linux Network\/Bandwidth Monitoring CLI Tools","author":"gubatron","date":"September 17, 2009","format":false,"excerpt":"I often want to see how much bandwidth is consumed by my network interfaces and how this is happening. There's plenty of tools available in the linux world to monitor your network activity. If you're a Ubuntu or Debian user you can try the ones I use by installing the\u2026","rel":"","context":"In &quot;Geeklife&quot;","block_context":{"text":"Geeklife","link":"https:\/\/www.gubatron.com\/blog\/category\/geeklife\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2202,"url":"https:\/\/www.gubatron.com\/blog\/have-the-latest-haproxy-as-a-ubuntu-service\/","url_meta":{"origin":1447,"position":1},"title":"Have the latest HAProxy as a Ubuntu Service","author":"gubatron","date":"April 6, 2011","format":false,"excerpt":"So you need to use HAProxy and you love the convenience of binary packages on repos, but when you install the version HAProxy available in the repos you realize that it is way too old for what you need. Then you download the latest HAProxy, compile it, configure it, but\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2767,"url":"https:\/\/www.gubatron.com\/blog\/ubuntu-packages-for-a-kick-ass-web-server\/","url_meta":{"origin":1447,"position":2},"title":"ubuntu packages for a kick ass web server","author":"gubatron","date":"September 7, 2012","format":false,"excerpt":"Copy and paste the following list on a file, say \"packages.txt\". To install all just do: sudo apt-get install $(cat packages.txt) accountsservice acpid adduser ant ant-optional apache2-utils apparmor apport apport-symptoms apt apt-transport-https apt-utils apt-xapian-index aptitude at base-files base-passwd bash bash-completion bc bind9-host bsdmainutils bsdutils busybox-initramfs busybox-static byobu bzip2 ca-certificates ca-certificates-java\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3453,"url":"https:\/\/www.gubatron.com\/blog\/command-line-speed-test-see-how-fast-is-your-servers-connection\/","url_meta":{"origin":1447,"position":3},"title":"command line speed test, see how fast is your server&#8217;s connection","author":"gubatron","date":"January 6, 2016","format":false,"excerpt":"Save the following script in a file called speed_test #!\/bin\/bash # Requirements # sudo apt-get install lftp iperf lftp -e 'pget http:\/\/releases.ubuntu.com\/14.04.3\/ubuntu-14.04.3-desktop-amd64.iso; exit; ' make sure the file is executable: sudo chmod +x speed_test Once you have installed lftp and iperf make sure you have the script somewhere in your\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2016\/01\/Fiber-optics.jpg?fit=892%2C538&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2016\/01\/Fiber-optics.jpg?fit=892%2C538&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2016\/01\/Fiber-optics.jpg?fit=892%2C538&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2016\/01\/Fiber-optics.jpg?fit=892%2C538&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":788,"url":"https:\/\/www.gubatron.com\/blog\/blooploader-06-is-hardy-compatible\/","url_meta":{"origin":1447,"position":4},"title":"Blooploader 0.6 is Hardy compatible","author":"gubatron","date":"April 26, 2008","format":false,"excerpt":"Blooploader 0.6 running on Hardy. Currently available only via subversion. For our Linux users, you can safely update to Ubuntu Hardy if the one thing holding your breath was compatibility with the Blooploader. Currently we run the Blooploader in Linux from source, you just need to have installed, Qt4, sip4,\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":385,"url":"https:\/\/www.gubatron.com\/blog\/como-actualizar-a-ubuntu-edgy-eft\/","url_meta":{"origin":1447,"position":5},"title":"Como actualizar a Ubuntu Edgy Eft","author":"gubatron","date":"October 27, 2006","format":false,"excerpt":"Saludos, a continuacion instrucciones para actualizar Dapper a Edgy Eft (6.10) utilizando apt-get Edita tu \/etc\/apt\/sources.list como super usuario. (Ej. sudo emacs \/etc\/apt\/sources.list) Haz search-replace de 'dapper' por 'edgy' Si no tienes emacs puedes simplemente utilizar sed y hacer el remplazo asi: sudo sed -e 's\/sdapper\/ edgy\/g' -i \/etc\/apt\/sources.list Ahora\u2026","rel":"","context":"In &quot;Geeklife&quot;","block_context":{"text":"Geeklife","link":"https:\/\/www.gubatron.com\/blog\/category\/geeklife\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/1447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/comments?post=1447"}],"version-history":[{"count":0,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/1447\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/media?parent=1447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/categories?post=1447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/tags?post=1447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}