Update fsdrnas
This commit is contained in:
@@ -11,19 +11,26 @@ sv restart dhcpcd.conf
|
||||
```
|
||||
## Enable SSH and prohibit-password
|
||||
```shell
|
||||
xbps-install -Su
|
||||
xbps-install -Suy
|
||||
vim /etc/ssh/sshd_config
|
||||
ln -s /etc/sv/sshd/ /var/service
|
||||
vim /etc/ssh/sshd_config
|
||||
sv restart sshd
|
||||
```
|
||||
# Setup Auto Update
|
||||
```shell
|
||||
xbps-install cronie
|
||||
xbps-install -y cronie
|
||||
ln -s /etc/sv/cronie/ /var/service
|
||||
crontab -e
|
||||
@reboot vkpurge rm all
|
||||
5 16 * * 0 xbps-install -Suy && xbps-install -Suy && xbps-remove -oOy && reboot
|
||||
5 17 * * 1 zfs scrub ...
|
||||
```
|
||||
## Install LXD & ZFS
|
||||
xbps-install -y sqlite
|
||||
xbps-install -y lxd zfs
|
||||
```shell
|
||||
```
|
||||
## Check disks
|
||||
```shell
|
||||
xbps-install smartmontools
|
||||
|
||||
Reference in New Issue
Block a user