Question
What do you do with your first five minutes on a new server?
What are the things you do every time you log into a new Droplet for the first time? I’m always curious about how other people approach this. If you were to write your own Initial Server Setup guide, what would it include?
- What do you do you lock down and secure your server?
- What are the tools and utilities that you can’t live without that aren’t included in the default install?
Have you automated it? Share your user-data script, Ansible playbook, or your own aproach.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
install tmux
in iptables restrict ssh port to my office
update all packages & reboot
add new user with sudo and a public key
alter sshd_config to disable root login, and to require public key for all users
Chef bootstrap :)
apt-get install mc ncdu iftop htop iotop gcc make git screen
Install Updates
Setup SSH configuration
Restart