Digital Ocean Bootstrap

Russ McKendrick · 1 min read ·
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 | bashI recommend that you only run this on CentOS 7 droplet.
Related terms: Amazon Web ServicesAzure FunctionsAzure Logic AppsAzure Soft DeleteAzure Virtual DesktopAzure Virtual Network
More from the archive
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.
2 min read

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

Comments