Alpine Linux
Table of Contents
1. Install
The initial setup is done with setup-alpine, you can enable the community repository from there too.
Alpine has a bunch of setup- scripts to get started, for example to setup a desktop run setup-desktop.
2. Manpages
The man command (see notes:man) and manpages are not installed by default
apk add mandoc
Install the documentation for a given package
apk add PACKAGE-doc
The docs meta package will immediately install the documentation sub-package for all of the currently installed packages, plus the mandoc reader, if not installed. docs additionally ensures that documentation sub-packages are installed/removed automatically for any packages that one may add/remove in the future.
apk add docs
Search installed manpages with apropos (the equivalent of the man -k command)
apk add mandoc-apropos apropos KEYWORD
3. Logging to RAM on System Disk installation mode
- https://wiki.alpinelinux.org/wiki/Syslog
- https://man.archlinux.org/man/busybox.1#syslogd
- https://man.archlinux.org/man/busybox.1#logread
Show all available options for syslogd found in busybox(1) manpage.
syslogd --help
Configure syslogd to use the -C option in /etc/conf.d/syslog.
# /etc/conf.d/syslog SYSLOGD_OPTS="-C1024"
When syslogd is configured with the -C- option, read the logs with logread.
logread [-f]
4. References
- https://alpinelinux.org/
- https://docs.alpinelinux.org/
- https://docs.alpinelinux.org/user-handbook/0.1a/Working/apk.html
- https://pkgs.alpinelinux.org/packages
- https://wiki.alpinelinux.org/
- https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper
- https://wiki.alpinelinux.org/wiki/Software_management
- https://wiki.alpinelinux.org/wiki/Alpine_configuration_management_scripts
- https://wiki.alpinelinux.org/wiki/Raspberry_Pi