Skip to content

Adrian Ng's Notes

Documenting my journey experiencing new technologies and life

Tag: timedatctl

Simple cloud init script for Ubuntu servers

Will update this as I go, may need a separate one for boinc.

runcmd:

– sudo apt update && sudo apt -y upgrade

– sudo timedatectl set-timezone America/Toronto

– sudo hostnamectl hostname <hostname>

– sudo ufw allow ssh

– sudo ufw enable

– sudo reboot

Author AdrianPosted on August 25, 2023August 31, 2023Categories CloudTags hostname, hostnamectl, timedatctl, timezoneLeave a comment on Simple cloud init script for Ubuntu servers

Recent Posts

  • Windows 11 Upgrade
  • Resync Windows Password with Microsoft Account
  • Upgrading Ubuntu
  • How To Check If A Youtube Video Is Monetized
  • SSD health

Recent Comments

  • A WordPress Commenter on Hello world!

Archives

  • January 2026
  • August 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • September 2023
  • August 2023
  • April 2023
  • December 2022
  • November 2022
  • September 2022
  • May 2022
  • April 2022
  • June 2021
  • May 2021
  • April 2021
  • October 2016

Categories

  • bash
  • boinc
  • Certifications
  • Cloud
  • Commercial Technology
  • DNS
  • Home Lab
  • Linux
  • Networking
  • Technology
  • Uncategorized
  • Website
  • Windows
  • Wordpress

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Adrian Ng's Notes Proudly powered by WordPress