Last active
January 20, 2018 07:48
-
-
Save mkell85/463a6744ca8059695130ea77b50f481c to your computer and use it in GitHub Desktop.
Steps to provision Ubuntu server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 1. Update and upgrade with apt-get | |
> apt-get update -y | |
> apt-get -y upgrade | |
## 2. Add user "admin" | |
> adduser username | |
## 3. Configure ssh | |
a. Change ssh port | |
b. Setup keys | |
c. Disable login without key | |
d. Disable root login | |
## 4. Install nodejs | |
## 5. Install nginx | |
a. Download sources with modsecurty and build | |
b. Configure to work with https | |
c. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment