← All courses

New server: setup from scratch

Turn a bare machine into a working server: users, SSH, hardening, nginx with HTTPS, logs, cron and backups.

19 tasks
  1. Your own account instead of rooteasy
  2. A site directory for the teammedium
  3. Only nginx reload for the deployermedium
  4. SSH keys done rightmedium
  5. Lock passwords and root out of sshdmedium
  6. The admin password lives 60 dayseasy
  7. umask 027 for the whole servermedium
  8. Shop mode in the environmentmedium
  9. A site name before DNSeasy
  10. A backup DNS server for the new servereasy
  11. A "Coming soon" placeholdermedium
  12. HTTPS for shop.localmedium
  13. All of the shop's HTTP to HTTPSmedium
  14. Compress the scripts and cache the iconsmedium
  15. A password on the sales statsmedium
  16. Rotating the orders logmedium
  17. Set up a cron jobmedium
  18. Mirror the site to a second diskmedium
  19. Archive /etc before handing over the servereasy