Skip to content

Instantly share code, notes, and snippets.

@asowder3943
Last active August 17, 2022 03:00
Show Gist options
  • Save asowder3943/1a5e16154625f2259c539c8991ccaa62 to your computer and use it in GitHub Desktop.
Save asowder3943/1a5e16154625f2259c539c8991ccaa62 to your computer and use it in GitHub Desktop.
Procedure for hardening Linode Webserver

Configuring Linode Web Server Procedure

During Linode Provisioning Setup

  1. Enter Secure root user password using password manager

image

2. Add SSH keys for CD Pipeline tool

image

3. Select Backup Add On for data protection

image

Installing Docker

  1. Make temporary directory for installation resources
root@localhost:~# mkdir ~/tmp
  1. Download and run Docker Installation Script

root@localhost:~# curl https://gist.githubusercontent.com/asowder3943/ebccf44bb4196aa65217dc62b6a2e782/raw/fb3a6a1bce2bbad107c45be22cdbbf0a519dacba/install-docker.sh --output tmp/install-docker.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1034  100  1034    0     0   9754      0 --:--:-- --:--:-- --:--:--  9754
  1. Run the docker installation script
root@localhost:~# sh ~/tmp/install-docker.sh
  1. Clean up
root@localhost:~# rm -rf ~/tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment