Linux System Configuration: Difference between revisions
Jump to navigation
Jump to search
m Added MulticastDNS setting for systemd-resolved with avahi |
m Added SMARTd configuration |
||
| Line 36: | Line 36: | ||
| <code>${EDITOR} /etc/mkinitcpio.conf; mkinitcpio -P</code> | | <code>${EDITOR} /etc/mkinitcpio.conf; mkinitcpio -P</code> | ||
| <code>${EDITOR} /etc/mkinitfs.conf; mkinitfs</code> | | <code>${EDITOR} /etc/mkinitfs.conf; mkinitfs</code> | ||
|- | |||
| SMARTd | |||
| set <code>DEVICESCAN -n standby,15,q -s (S/../.././02)</code><br />in <code>/etc/smartd.conf</code> | |||
| set <code>DEVICESCAN -n standby,15,q -s (S/../.././02)</code><br />in <code>/etc/smartd.conf</code> | |||
|- | |- | ||
| Limit Logs | | Limit Logs | ||
Revision as of 13:27, 11 May 2021
| Description | Arch | Alpine | Debian | Void |
|---|---|---|---|---|
| Laptop Lid Switch Fix | set HandleLidSwitch=ignorein /etc/systemd/logind.conf
|
set HandleLidSwitch=ignorein /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 FONTin /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
| ||
| SMARTd | set DEVICESCAN -n standby,15,q -s (S/../.././02)in /etc/smartd.conf
|
set DEVICESCAN -n standby,15,q -s (S/../.././02)in /etc/smartd.conf
| ||
| Limit Logs | Set SystemMaxUse=64Min /etc/systemd/journald.conf
|
|||
| systemd-resolved with avahi |
set MulticastDNS=noin /etc/systemd/resolved.conf
|