Improved guides

This commit is contained in:
Sun Knudsen 2020-11-12 11:42:14 -05:00
parent 913adaeabf
commit 32b2f41a5d
No known key found for this signature in database
GPG Key ID: 1FA767862BBD1305
6 changed files with 14 additions and 14 deletions

View File

@ -217,9 +217,9 @@ veracrypt --text --mount --pim 0 --keyfiles "" --protect-hidden no "\$volume_pat
mkdir -p "\$mount_point/Versioning" mkdir -p "\$mount_point/Versioning"
files=( files=(
"/Users/$(whoami)/.gnupg" "/Users/$USER/.gnupg"
"/Users/$(whoami)/.ssh" "/Users/$USER/.ssh"
"/Users/$(whoami)/Library/Keychains" "/Users/$USER/Library/Keychains"
) )
for file in "\${files[@]}"; do for file in "\${files[@]}"; do

View File

@ -18,7 +18,7 @@ Listed: true
```shell ```shell
sudo mkdir -p /usr/local/bin sudo mkdir -p /usr/local/bin
sudo chown $(whoami):admin /usr/local/bin sudo chown $USER:admin /usr/local/bin
``` ```
### Step 2: download [app-cleaner.sh](app-cleaner.sh) ([PGP signature](./app-cleaner.sh.sig), [PGP public key](https://sunknudsen.com/sunknudsen.asc)) ### Step 2: download [app-cleaner.sh](app-cleaner.sh) ([PGP signature](./app-cleaner.sh.sig), [PGP public key](https://sunknudsen.com/sunknudsen.asc))

View File

@ -30,11 +30,11 @@ Listed: true
Open “System Preferences”, click “Security & Privacy”, then “Firewall” and enable “Turn On Firewall”. Open “System Preferences”, click “Security & Privacy”, then “Firewall” and enable “Turn On Firewall”.
![firewall](firewall.png?shadow=1) ![firewall](firewall.png?shadow=1&width=668)
Then, click “Firewall Options…”, disable all options except “Enable stealth mode”. Then, click “Firewall Options…”, disable all options except “Enable stealth mode”.
![firewall-options](firewall-options.png?shadow=1) ![firewall-options](firewall-options.png?shadow=1&width=668)
### Step 2: confirm PF is enabled ### Step 2: confirm PF is enabled
@ -256,7 +256,7 @@ sudo pfctl -F all -f /etc/pf.conf
```shell ```shell
sudo mkdir -p /usr/local/sbin sudo mkdir -p /usr/local/sbin
sudo chown $(whoami):admin /usr/local/sbin sudo chown $USER:admin /usr/local/sbin
``` ```
### Step 11: source `/usr/local/sbin` folder ### Step 11: source `/usr/local/sbin` folder

View File

@ -28,7 +28,7 @@ Listed: true
Open “Settings“, then “Cellular“, then “Cellular Data Network“. Open “Settings“, then “Cellular“, then “Cellular Data Network“.
![ios-cellular-data-network](./ios-cellular-data-network.png?shadow=1&width=240) ![ios-cellular-data-network](./ios-cellular-data-network.png?shadow=1&width=375)
### Step 5 (on Mac): configure “Cellular” settings ### Step 5 (on Mac): configure “Cellular” settings
@ -50,7 +50,7 @@ Open “Settings“, then “Cellular“, then “Cellular Data Network“.
Open “Settings”, then “Profile Downloaded” and tap “Install” Open “Settings”, then “Profile Downloaded” and tap “Install”
![ios-install-profile](./ios-install-profile.png?shadow=1&width=240) ![ios-install-profile](./ios-install-profile.png?shadow=1&width=375)
## macOS guide ## macOS guide
@ -82,7 +82,7 @@ networksetup -setv6off "Thunderbolt Ethernet"
Open “Settings”, then “General”, then “Profile”, and tap provisioning profile, then “Remove Profile”. Open “Settings”, then “General”, then “Profile”, and tap provisioning profile, then “Remove Profile”.
![ios-remove-profile](./ios-remove-profile.png?shadow=1&width=240) ![ios-remove-profile](./ios-remove-profile.png?shadow=1&width=375)
### Step 2 (on Mac): set network interfaces to automatic ### Step 2 (on Mac): set network interfaces to automatic

View File

@ -27,7 +27,7 @@ Listed: true
## Guide ## Guide
### Step 1: create SSH key pair ### Step 1: create SSH key pair (on Mac)
When asked for file in which to save key, enter `vpn-server`. When asked for file in which to save key, enter `vpn-server`.
@ -146,9 +146,9 @@ sed -i -E 's/(#)?PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh
systemctl restart ssh systemctl restart ssh
``` ```
### Step 10: update APT index files and upgrade packages ### Step 10: update APT index and upgrade packages
#### Update apt index files #### Update APT index
```shell ```shell
apt update apt update

View File

@ -25,7 +25,7 @@ Listed: true
```shell ```shell
sudo mkdir -p /usr/local/sbin sudo mkdir -p /usr/local/sbin
sudo chown $(whoami):admin /usr/local/sbin sudo chown $USER:admin /usr/local/sbin
``` ```
### Step 2: source `/usr/local/sbin` folder ### Step 2: source `/usr/local/sbin` folder