33 lines
560 B
Markdown
33 lines
560 B
Markdown
6:52-6:54
|
|
|
|
fs_resize
|
|
|
|
sudo apt-get update && sudo apt-get upgrade
|
|
|
|
SSH setup:
|
|
7:43-46
|
|
|
|
9:40-
|
|
|
|
If curl is giving
|
|
|
|
sudo apt-get install ca-certificates
|
|
|
|
To fix "sudo: unable to resolve host OrangePI" errors and edit /etc/hosts/ and add
|
|
|
|
```
|
|
127.0.1.1 OrangePi
|
|
```
|
|
|
|
|
|
SECURITY ERROR: 'PermitRootLogin prohibit-password' is not set in /etc/ssh/sshd_config
|
|
|
|
PermitRootLogin no
|
|
PasswordAuthentication no
|
|
|
|
10:18
|
|
|
|
I followed: https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 to enable swap and set the swapiness to:
|
|
|
|
vm.swappiness=70
|