Digital Ocean Bootstrap
As I have mentioned a few times on this blog I tend to use DigtialOcean to spin up servers for testing and to host some of my projects. I also still use CentOS 7 as my preferred OS.
Each time I boot a droplet I run few a couple of tasks to get the server how I prefer it.
- Run a yum update
- Enable swap
- Install & configure Fail2Ban
- Enable firewalld
- Install vim-enhanced, deltarpm & enable EPEL
As I am lazy and sometimes re-launch instances several times when working on a project I decided to write a quick script to do the above so I don’t have to.
You can call the script by running;
curl -fsS https://raw.githubusercontent.com/russmckendrick/DOBootstrap/master/do-bootstrap.sh | bash
I recommend that you only run this on CentOS 7 droplet.
Related Posts

Update the Kernel on a Digital Ocean droplet
Upgrade your Digital Ocean droplet's kernel effortlessly. Discover the steps to ensure smooth kernel updates for enhanced security and performance.

Falco by sysdig
Discover Falco by Sysdig, a powerful behavioral security service monitoring system calls.

Fail2Ban on CentOS 7
Protect your CentOS 7 server with fail2ban! Follow my guide to secure your system from unwanted SSH login attempts.