Skip to content

Instantly share code, notes, and snippets.

@n1ckfg
Last active March 29, 2019 17:50
Show Gist options
  • Select an option

  • Save n1ckfg/711c351046c2033211e9d64e0fa4f9f0 to your computer and use it in GitHub Desktop.

Select an option

Save n1ckfg/711c351046c2033211e9d64e0fa4f9f0 to your computer and use it in GitHub Desktop.
1. Default login for a new deployment is root + your web panel pwd.
2. Install updates.
3. Set your time zone:
dpkg-reconfigure tzdata
4. Create a new admin user:
adduser username
usermod -aG sudo username
5. Log in as new user.
6. Disable root login as per security setup guide:
https://www.linode.com/docs/security/securing-your-server/
7. (Optional) Remove ufw if you're going to manage your own iptables firewall rules.
8. Set up your project.
9. Add startup items to /etc/rc.local and make it executable.
10. Reboot and test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment