Linux System Configuration: Difference between revisions
Jump to navigation
Jump to search
m Formatting |
m Added MulticastDNS setting for systemd-resolved with avahi |
||
Line 39: | Line 39: | ||
| Limit Logs | | Limit Logs | ||
| Set <code>SystemMaxUse=64M</code><br />in <code>/etc/systemd/journald.conf</code> | | Set <code>SystemMaxUse=64M</code><br />in <code>/etc/systemd/journald.conf</code> | ||
| | |||
|- | |||
| systemd-resolved<br />with avahi | |||
| set <code>MulticastDNS=no</code><br >in <code>/etc/systemd/resolved.conf</code> | |||
| | | | ||
|} | |} |
Revision as of 13:24, 11 May 2021
Description | Arch | Alpine | Debian | Void |
---|---|---|---|---|
Laptop Lid Switch Fix | set HandleLidSwitch=ignore in /etc/systemd/logind.conf
|
set HandleLidSwitch=ignore in /etc/elogind/logind.conf
| ||
Time Zone | ln -s /usr/share/zoneinfo/<Country>/<City> /etc/localtime
|
ln -s /etc/zoneinfo/<Country>/<City> /etc/localtime
| ||
Locale Availability | ${EDITOR} /etc/locale.gen; locale-gen
|
apk add musl-locales
| ||
Locale Selection | ${EDITOR} /etc/locale.conf
|
${EDITOR} /etc/profile.d/locale.sh
| ||
Keymap | set KEYMAP and FONT in /etc/vconsole.conf
|
setup-keymap
| ||
Console Font | ${EDITOR} /etc/conf.d/consolefont; rc-update add consolefont boot
| |||
Hostname | ${EDITOR} /etc/hostname
|
${EDITOR} /etc/hostname
| ||
Hosts | ${EDITOR} /etc/hosts
|
${EDITOR} /etc/hosts
| ||
Initramfs | ${EDITOR} /etc/mkinitcpio.conf; mkinitcpio -P
|
${EDITOR} /etc/mkinitfs.conf; mkinitfs
| ||
Limit Logs | Set SystemMaxUse=64M in /etc/systemd/journald.conf
|
|||
systemd-resolved with avahi |
set MulticastDNS=no in /etc/systemd/resolved.conf
|