Start writing notes for the 2nd lab sheet
All checks were successful
continuous-integration/laminar-elessar Build 43 succeeded in 1 minute 8 seconds .
All checks were successful
continuous-integration/laminar-elessar Build 43 succeeded in 1 minute 8 seconds .
This commit is contained in:
parent
c502ba198f
commit
7840902680
1 changed files with 29 additions and 0 deletions
29
Linux-201/Lab-Sheet.md
Normal file
29
Linux-201/Lab-Sheet.md
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Linux 201: Web Server Setup
|
||||||
|
|
||||||
|
## Things to mention in the slide deck
|
||||||
|
-
|
||||||
|
- Apache vs Nginx
|
||||||
|
- Thread-based vs event-based servers
|
||||||
|
|
||||||
|
## Basic Security
|
||||||
|
- Creating a non-root account
|
||||||
|
- `sudo` permissions
|
||||||
|
- SSH
|
||||||
|
- Disable root login
|
||||||
|
- SSH Keys
|
||||||
|
- Firewall
|
||||||
|
- `ufw`
|
||||||
|
- https://starbeamrainbowlabs.com/blog/article.php?article=posts/047-Linux-Security-Part-1.html
|
||||||
|
|
||||||
|
## Installing a Web Server
|
||||||
|
- Installing Nginx
|
||||||
|
- `sudo apt install nginx`
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
- `/etc/nginx/nginx.conf`
|
||||||
|
|
||||||
|
## References and Further Reading
|
||||||
|
- [Nginx](https://www.nginx.com/)
|
||||||
|
- [How to Secure a Linux Server](https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/)
|
||||||
|
- [SSL Certificates](https://letsencrypt.org)
|
||||||
|
- [Freeside Discord Invite](http://discord.freeside.co.uk)
|
Loading…
Reference in a new issue