Update fsdrnas

This commit is contained in:
Daniel A. Maierhofer
2020-01-24 20:25:48 +01:00
parent 2c398a8e4b
commit ce6880aabe

View File

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