Files
documentation/docs/User-Guide_Armbian-Config/System.md

616 lines
6.3 KiB
Markdown
Raw 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
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY205
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
### Manage device tree overlays
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY210
2024-10-24 11:14:24 +00:00
~~~
2024-12-09 12:17:04 +00:00
**Author:** @viraniac @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-11-29 11:10:25 +00:00
**Status:** Stable
2024-10-24 11:14:24 +00:00
***
2024-12-09 12:17:04 +00:00
### Select Odroid board configuration
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY300
~~~
**Author:**
**Status:** Preview
***
### Edit the boot environment
This will open /boot/armbianEnv.txt file to edit
CTRL+S to save
CTLR+X to exit
would you like to continue?
**Command:**
~~~
armbian-config --cmd SY010
2024-10-24 11:14:24 +00:00
~~~
2024-11-29 11:10:25 +00:00
**Author:** @igorpecovnik
2024-10-24 11:14:24 +00:00
2024-11-29 11:10:25 +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
***
### 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
2024-10-24 11:14:24 +00:00
***
2024-12-09 12:17:04 +00:00
### ZFS filesystem - remove support
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY221
2024-10-24 11:14:24 +00:00
~~~
2024-12-09 12:17:04 +00:00
**Author:** @armbian
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
### Enable read only filesystem
This will enable Armbian read-only filesystem. Reboot is mandatory?
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY007
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
### Disable read only filesystem
This will disable Armbian read-only filesystem. Reboot is mandatory?
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY008
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-22 14:04:30 +00:00
### Enable Network filesystem (NFS) support
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd NFS01
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-22 14:04:30 +00:00
### Disable Network filesystem (NFS) support
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd NFS02
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-22 14:04:30 +00:00
### Manage NFS Server
***
#### Enable network filesystem (NFS) daemon
**Command:**
~~~
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
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-22 14:04:30 +00:00
armbian-config --cmd NFS21
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
## Manage SSH daemon options, enable 2FA
***
### Disable root login
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +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
***
2024-12-09 12:17:04 +00:00
### Enable root login
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +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
***
2024-12-09 12:17:04 +00:00
### Disable password login
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +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
***
2024-12-09 12:17:04 +00:00
### Enable password login
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +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
***
2024-12-09 12:17:04 +00:00
### Disable Public key authentication login
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +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
***
2024-12-09 12:17:04 +00:00
### Enable Public key authentication login
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +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
***
2024-12-09 12:17:04 +00:00
### Disable OTP authentication
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +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
***
2024-12-09 12:17:04 +00:00
### Enable OTP authentication
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +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
***
2024-12-09 12:17:04 +00:00
### Generate new OTP authentication QR code
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +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
***
2024-12-09 12:17:04 +00:00
### Show OTP authentication QR code
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +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
***
2024-12-09 12:17:04 +00:00
### Disable last login banner
**Command:**
~~~
armbian-config --cmd SY111
~~~
**Author:** @igorpecovnik
**Status:** Stable
2024-10-24 11:14:24 +00:00
2024-12-09 12:17:04 +00:00
***
### Enable last login banner
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +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
2024-10-24 11:14:24 +00:00
2024-12-09 12:17:04 +00:00
***
### Change shell system wide to BASH
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
This will switch system wide shell to ZSH
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY006
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
### Adjust welcome screen (motd)
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +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.
2024-10-24 11:14:24 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY202
2024-10-24 11:14:24 +00:00
~~~
2024-12-09 12:17:04 +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-02 19:23:20 +00:00
***
2024-12-09 12:17:04 +00:00
### Disable Armbian kernel upgrades
Disable Armbian kernel/firmware upgrades
2024-12-02 19:23:20 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY203
2024-12-02 19:23:20 +00:00
~~~
2024-12-09 12:17:04 +00:00
**Author:** @igorpecovnik
2024-12-02 19:23:20 +00:00
**Status:** Stable
***
2024-12-09 12:17:04 +00:00
### Switch system to rolling packages repository
This will switch OS to rolling releases.
2024-12-02 19:23:20 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY206
2024-12-02 19:23:20 +00:00
~~~
2024-12-09 12:17:04 +00:00
**Author:** @igorpecovnik
2024-12-02 19:23:20 +00:00
**Status:** Stable
2024-12-05 06:36:36 +00:00
***
2024-12-09 12:17:04 +00:00
### Switch system to stable packages repository
This will switch OS to stable releases
2024-12-05 06:36:36 +00:00
**Command:**
~~~
2024-12-09 12:17:04 +00:00
armbian-config --cmd SY207
2024-12-05 06:36:36 +00:00
~~~
2024-12-09 12:17:04 +00:00
**Author:** @igorpecovnik
2024-12-05 06:36:36 +00:00
2024-12-09 12:17:04 +00:00
**Status:** Stable
2024-12-05 06:36:36 +00:00
2024-12-24 21:21:53 +00:00
***
### Enable automating Docker container base images updating
**Command:**
~~~
armbian-config --cmd WTC001
~~~
**Author:** @armbian
**Status:** Stable
***
### Disable automating Docker container base images updating
**Command:**
~~~
armbian-config --cmd WTC002
~~~
**Author:** @armbian
**Status:** Stable
2024-10-24 11:14:24 +00:00
***