Skip to content

Commit cc5f9d5

Browse files
committed
part 2 code
1 parent b32b91a commit cc5f9d5

File tree

1 file changed

+62
-2
lines changed

1 file changed

+62
-2
lines changed

fullstack-v3/README.md

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Full Stack for Front-End Engineers, v3 Reference Guide
22

3-
This document is a reference guide for the [Full Stack for Front-End Engineers, v3](https://frontendmasters.com/courses/fullstack-v2/) course on [Frontend Masters](https://frontendmasters.com/). The instructions/commands correspond with the lessons in the course.
3+
This document is a reference guide for the [Full Stack for Front-End Engineers, v3](https://frontendmasters.com/courses/fullstack-v3/) course on [Frontend Masters](https://frontendmasters.com/).
4+
5+
More code and instructions can be found in [the slides](https://static.frontendmasters.com/assets/courses/2023-04-18-fullstack-v3/fullstack-v3-slides.pdf).
46

57
### Create SSH Key (name it fsfe)
68
```bash
@@ -143,4 +145,62 @@ pm2 start app.js
143145
pm2 save
144146
pm2 startup
145147
# copy command that is generated and run it
146-
```
148+
```
149+
150+
### Setup GitHub SSH Keys
151+
```bash
152+
# Ensure git uses your new ssh keys
153+
vi ~/.ssh/config
154+
```
155+
156+
Add host info to config file
157+
```
158+
Host github.com
159+
Hostname github.com
160+
IdentiyFile ~/.ssh/gh_key
161+
```
162+
163+
### change permissions to 600
164+
```bash
165+
chmod 600 ~/.ssh/config
166+
chmod 600 ~/.ssh/gh_key
167+
```
168+
169+
### nmap
170+
```bash
171+
sudo apt install nmap
172+
nmap <your_server_ip>
173+
nmap -sV <your_server_ip>
174+
```
175+
176+
### ufw
177+
```bash
178+
sudo ufw status
179+
sudo ufw allow ssh
180+
sudo ufw allow http
181+
sudo ufw enable
182+
```
183+
184+
### Application Updates
185+
```bash
186+
sudo apt install unattended-upgrades
187+
sudo dpkg-reconfigure --priority=low unattended-upgrades
188+
```
189+
190+
### Find
191+
```bash
192+
find /var/log -type f -name "*.log"
193+
find / -type d -name log
194+
```
195+
196+
### Install sqlite3
197+
```bash
198+
npm install sqlite3
199+
```
200+
201+
### Update nginx server with http2
202+
```bash
203+
sudo vi /etc/nginx/sites-enabled/fsfe
204+
# listen 443 http2 ssl;
205+
```
206+

0 commit comments

Comments
 (0)