Files
cmp-docs/docs/linux/fedora.md
2024-08-13 18:38:25 +03:00

1.2 KiB

Fedora / CentOS / Etc

Relabel

touch /.autorelabel

Update rescue kernel

rm -vf /boot/*-rescue-*
kernel-install add $(uname -r) /lib/modules/$(uname -r)/vmlinuz
grubby --set-default-index=0

Install PHP 8

dnf install https://rpms.remirepo.net/fedora/remi-release-38.rpm
dnf module reset php
dnf module install php:remi-8.2

/etc/default/grub

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=fdr/root ipv6.disable=1 net.ifnames=0"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

Allow root

mkdir -p					/root/.config/systemd/user/pipewire-pulse.service.d
echo "[Unit]"			>	/root/.config/systemd/user/pipewire-pulse.service.d/override.conf
echo "ConditionUser="	>	/root/.config/systemd/user/pipewire-pulse.service.d/override.conf

mkdir -p					/root/.config/systemd/user/pipewire-pulse.socket.d
echo "[Unit]"			>	/root/.config/systemd/user/pipewire-pulse.socket.d/override.conf
echo "ConditionUser="	>	/root/.config/systemd/user/pipewire-pulse.socket.d/override.conf