{"id":939,"date":"2022-03-28T10:48:51","date_gmt":"2022-03-28T10:48:51","guid":{"rendered":"https:\/\/mklasen.com\/?p=939"},"modified":"2022-05-17T11:54:46","modified_gmt":"2022-05-17T11:54:46","slug":"halcyon-part-3-simplified","status":"publish","type":"post","link":"https:\/\/mklasen.com\/halcyon-part-3-simplified\/","title":{"rendered":"Halcyon Part 3: Simplified"},"content":{"rendered":"\n

Hey! Here’s the simplified version of Halcyon Part 3. This version is created as a follow-along and will set the foundation for other videos as well. The idea is to eventually have your own mini-server running at home or at the office. But, since purchasing hardware is quite a barrier, I decided to run a sample service in the clouds before going any further.<\/p>\n\n\n\n

I’ll keep it simple in here. These are the steps you need to follow, and the video below will help you through.<\/p>\n\n\n\n

Steps to follow<\/h5>\n\n\n\n
  1. Go to https:\/\/try.digitalocean.com\/freetrialoffer\/<\/a><\/li>
  2. Confirm your identity with a payment method<\/li>
  3. Create a new droplet<\/li>
  4. Login to the web console<\/li>
  5. Run: git clone https:\/\/github.com\/mklasen\/halcyon.git<\/code><\/li>
  6. Change to the cloned directory (cd halcyon<\/code>)<\/li>
  7. Install docker https:\/\/docs.docker.com\/engine\/install\/ubuntu\/<\/a><\/li>
  8. Install docker-compose https:\/\/docs.docker.com\/compose\/install\/<\/a><\/li>
  9. Run docker-compose pull<\/code><\/li>
  10. Run nano \/etc\/systemd\/resolved.conf<\/code> and uncomment and set DNSStubListener to No.<\/li>
  11. Reboot your droplet by entering reboot<\/code><\/li>
  12. Run nano docker-compose.yml and change {your_droplet_ip_address} to your droplet’s IP address.<\/li>
  13. Run docker-compose up<\/code><\/li>
  14. Set your computer’s DNS server to use the DNS service provided from your droplet which is your droplet’s IP address.<\/li>
  15. Make sure your server it still able to resolve DNS by letting it use our dockerized DNS service: run sudo nano \/etc\/resolv.conf<\/code> and change 127.0.0.53<\/code> to 127.0.0.1<\/code>.<\/li><\/ol>\n\n\n\n
    \n