Update fsdrnas
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user