Files

633 lines
7.4 KiB
Markdown
Raw Permalink Normal View History

2024-10-24 11:14:24 +00:00
# System wide and admin settings
***
2024-12-09 12:17:04 +00:00
## Alternative kernels, headers, rolling updates, overlays
***
### Install alternative kernels
Switching between kernels might change functionality of your device.
It might fail to boot!
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY201
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
2024-12-09 12:17:04 +00:00
### Install Linux headers
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY204
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
2024-12-09 12:17:04 +00:00
### Remove Linux headers
**Command:**
~~~
armbian-config --cmd SY205
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
### Manage device tree overlays
**Command:**
~~~
armbian-config --cmd SY210
~~~
**Author:** @viraniac @igorpecovnik
**Status:** Stable
***
### Select Odroid board configuration
**Command:**
~~~
armbian-config --cmd SY300
~~~
**Author:**
**Status:** Preview
***
### Edit the boot environment
2024-10-24 11:14:24 +00:00
This will open /boot/armbianEnv.txt file to edit
CTRL+S to save
CTLR+X to exit
would you like to continue?
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY010
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
2024-12-09 12:17:04 +00:00
## Install to internal media, ZFS, NFS, read-only rootfs
2024-10-24 11:14:24 +00:00
***
2024-12-09 12:17:04 +00:00
### Install to internal storage
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY001
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
**Status:** Preview
***
2024-12-09 12:17:04 +00:00
### ZFS filesystem - enable support
**Command:**
~~~
armbian-config --cmd SY220
~~~
**Author:** @armbian
**Status:** Stable
***
### ZFS filesystem - remove support
**Command:**
~~~
armbian-config --cmd SY221
~~~
**Author:** @armbian
**Status:** Stable
***
### Enable read only filesystem
This will enable Armbian read-only filesystem. Reboot is mandatory?
**Command:**
~~~
armbian-config --cmd SY007
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
### Disable read only filesystem
This will disable Armbian read-only filesystem. Reboot is mandatory?
**Command:**
~~~
armbian-config --cmd SY008
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
2024-12-22 14:04:30 +00:00
### Enable Network filesystem (NFS) support
2024-12-09 12:17:04 +00:00
**Command:**
~~~
armbian-config --cmd NFS01
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
2024-12-22 14:04:30 +00:00
### Disable Network filesystem (NFS) support
2024-12-09 12:17:04 +00:00
**Command:**
~~~
armbian-config --cmd NFS02
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
2024-12-22 14:04:30 +00:00
### Manage NFS Server
***
#### Enable network filesystem (NFS) daemon
2024-12-09 12:17:04 +00:00
**Command:**
~~~
2024-12-22 14:04:30 +00:00
armbian-config --cmd NFS06
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
#### Configure network filesystem (NFS) daemon
**Command:**
~~~
armbian-config --cmd NFS07
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
#### Remove network filesystem (NFS) daemon
**Command:**
~~~
armbian-config --cmd NFS08
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
#### Show network filesystem (NFS) daemon clients
**Command:**
~~~
armbian-config --cmd NFS09
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
### Manage NFS Client
***
#### Find NFS servers in subnet and mount shares
**Command:**
~~~
armbian-config --cmd NFS21
2024-12-09 12:17:04 +00:00
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
## Manage SSH daemon options, enable 2FA
2024-10-24 11:14:24 +00:00
***
### Disable root login
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY101
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
### Enable root login
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY102
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
### Disable password login
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY103
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
### Enable password login
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY104
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
### Disable Public key authentication login
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY105
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
### Enable Public key authentication login
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY106
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
### Disable OTP authentication
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY107
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
### Enable OTP authentication
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY108
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
### Generate new OTP authentication QR code
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY109
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
### Show OTP authentication QR code
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY110
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
### Disable last login banner
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY111
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
### Enable last login banner
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY112
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
2024-12-09 12:17:04 +00:00
## Change shell, adjust MOTD
***
### Change shell system wide to BASH
2024-10-25 18:51:48 +00:00
This will switch system wide shell to BASH
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY005
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
2024-12-09 12:17:04 +00:00
### Change shell system wide to ZSH
2024-10-25 18:51:48 +00:00
This will switch system wide shell to ZSH
2024-12-09 12:17:04 +00:00
**Command:**
~~~
armbian-config --cmd SY006
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
### Adjust welcome screen (motd)
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-10-25 18:51:48 +00:00
armbian-config --cmd SY009
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
2024-12-09 12:17:04 +00:00
## OS updates and distribution upgrades
**Status:** Active
***
### Enable Armbian firmware upgrades
This will enable Armbian kernel upgrades that are currently put on hold.
**Command:**
~~~
armbian-config --cmd SY202
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
### Disable Armbian kernel upgrades
Disable Armbian kernel/firmware upgrades
**Command:**
~~~
armbian-config --cmd SY203
~~~
**Author:** @igorpecovnik
**Status:** Stable
***
### Switch system to rolling packages repository
2024-10-25 18:51:48 +00:00
This will switch OS to rolling releases.
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY206
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
2024-12-09 12:17:04 +00:00
### Switch system to stable packages repository
2024-10-25 18:51:48 +00:00
This will switch OS to stable releases
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY207
2024-10-24 11:14:24 +00:00
~~~
2024-10-25 18:51:48 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-10-25 18:51:48 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
2024-12-24 21:21:53 +00:00
***
### Enable automating Docker container base images updating
2024-12-26 12:55:25 +00:00
<!--- section image START from tools/include/images/WTC001.png --->
[![Enable automating Docker container base images updating](/images/WTC001.png)](#)
<!--- section image STOP from tools/include/images/WTC001.png --->
<!--- header START from tools/include/markdown/WTC001-header.md --->
Watchtower is an application that will monitor your running Docker containers and watch for changes to the images that those containers were originally started from. If watchtower detects that an image has changed, it will automatically restart the container using the new image.
<!--- header STOP from tools/include/markdown/WTC001-header.md --->
2024-12-24 21:21:53 +00:00
**Command:**
~~~
armbian-config --cmd WTC001
~~~
**Author:** @armbian
**Status:** Stable
2024-12-26 12:55:25 +00:00
<!--- footer START from tools/include/markdown/WTC001-footer.md --->
Every day watchtower will pull the latest images and compare it to the one that was used to run the certain container. If it sees that the image has changed it will stop/remove containers and then restart it using the new image and the same docker run options that were used to start the container initially.
<!--- footer STOP from tools/include/markdown/WTC001-footer.md --->
2024-12-24 21:21:53 +00:00
***
### Disable automating Docker container base images updating
**Command:**
~~~
armbian-config --cmd WTC002
~~~
**Author:** @armbian
**Status:** Stable
2024-10-24 11:14:24 +00:00
***