Replaced word folder by directory

This commit is contained in:
Sun Knudsen 2021-05-21 13:21:41 -04:00
parent 99dfdb7595
commit 88534e2d50
No known key found for this signature in database
GPG Key ID: 1FA767862BBD1305
9 changed files with 14 additions and 28 deletions

View File

@ -14,7 +14,7 @@ Listed: true
## Setup guide
### Step 1: create `/usr/local/bin` folder
### Step 1: create `/usr/local/bin` directory
```shell
sudo mkdir -p /usr/local/bin

View File

@ -352,7 +352,7 @@ EOF
chmod +x /usr/local/bin/borg-prune.sh
```
### Step 16: create `/usr/local/var/log` folder
### Step 16: create `/usr/local/var/log` directory
```shell
mkdir -p /usr/local/var/log

View File

@ -117,7 +117,7 @@ Enter the new value, or press ENTER for the default
Is the information correct? [Y/n] Y
```
### Step 6: copy root `authorized_keys` file to server-admin home folder
### Step 6: copy root `authorized_keys` file to server-admin home directory
```shell
mkdir /home/server-admin/.ssh

View File

@ -170,7 +170,7 @@ ssh pi@10.0.1.248
### Step 10: configure pi SSH authorized keys
#### Create `.ssh` folder
#### Create `.ssh` directory
```shell
mkdir ~/.ssh

View File

@ -252,14 +252,14 @@ sudo ln -s /etc/pf.anchors/local.pf.strict /etc/pf.anchors/local.pf
sudo pfctl -F all -f /etc/pf.conf
```
### Step 10: create `/usr/local/sbin` folder
### Step 10: create `/usr/local/sbin` directory
```shell
sudo mkdir -p /usr/local/sbin
sudo chown ${USER}:admin /usr/local/sbin
```
### Step 11: source `/usr/local/sbin` folder
### Step 11: source `/usr/local/sbin` directory
Find which shell is configured using `echo $SHELL`.

View File

@ -27,7 +27,7 @@ Listed: true
### Step 1: create client key and cert using certificate authority from [How to self-host hardened strongSwan IKEv2/IPsec VPN server for iOS and macOS](../how-to-self-host-hardened-strongswan-ikev2-ipsec-vpn-server-for-ios-and-macos) (on certificate authority computer).
#### Navigate to `strongswan-certs` folder
#### Navigate to `strongswan-certs` directory
```shell
cd ~/Desktop/strongswan-certs
@ -198,21 +198,7 @@ sed -i 's/load = no/load = yes/' ./eap-tls.conf ./aes.conf ./dhcp.conf ./farp.co
cd -
```
### Step 8: copy certs and key to client and make private folder root-only.
<!-- On certificate authority computer: run `cat ca.crt`
On client computer: run `vi /etc/ipsec.d/cacerts/ca.crt`, press <kbd>i</kbd>, paste output from previous step in window, press <kbd>esc</kbd> and press <kbd>shift+z+z</kbd>
On certificate authority computer: run `cat bob.key`
On client computer: run `vi /etc/ipsec.d/private/bob.key`, press <kbd>i</kbd>, paste output from previous step in window, press <kbd>esc</kbd> and press <kbd>shift+z+z</kbd>
On certificate authority computer: run `cat bob.crt`
On client computer: run `vi /etc/ipsec.d/certs/bob.crt`, press <kbd>i</kbd>, paste output from previous step in window, press <kbd>esc</kbd> and press <kbd>shift+z+z</kbd>
On client computer: run `chmod -R 600 /etc/ipsec.d/private` -->
### Step 8: copy certs and key to client and make private directory root-only.
On certificate authority computer, run:

View File

@ -169,7 +169,7 @@ apt install -y borgbackup
### Step 9: configure borg SSH authorized keys
#### Create `.ssh` folder
#### Create `.ssh` directory
```shell
mkdir -p /home/borg/.ssh

View File

@ -117,7 +117,7 @@ Enter the new value, or press ENTER for the default
Is the information correct? [Y/n] Y
```
### Step 6: copy root `authorized_keys` file to vpn-server-admin home folder
### Step 6: copy root `authorized_keys` file to vpn-server-admin home directory
```shell
mkdir /home/vpn-server-admin/.ssh
@ -608,7 +608,7 @@ sed -i 's/After=network-online.target/After=dnsmasq.service/' /lib/systemd/syste
systemctl daemon-reload
```
### Step 25: create `strongswan-certs` folder
### Step 25: create `strongswan-certs` directory
> Heads-up: for security reasons, steps 25 to 29 are done on Mac vs server.
@ -714,7 +714,7 @@ Enter Export Password:
Verifying - Enter Export Password:
```
### Step 30: copy certs and key to server and make private folder root-only.
### Step 30: copy certs and key to server and make private directory root-only.
On Mac, run:

View File

@ -23,14 +23,14 @@ Listed: true
## Guide
### Step 1: create `/usr/local/sbin` folder
### Step 1: create `/usr/local/sbin` directory
```shell
sudo mkdir -p /usr/local/sbin
sudo chown ${USER}:admin /usr/local/sbin
```
### Step 2: add `/usr/local/sbin` folder to `PATH` environment variable
### Step 2: add `/usr/local/sbin` directory to `PATH` environment variable
Find which shell is configured using `echo $SHELL`.