Add fedora config
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
# Centos/Fedora install
|
||||||
|
# cp cmp-iptables.service /etc/systemd/system/
|
||||||
|
# systemctl daemon-reload
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Apply iptables rules
|
Description=Apply iptables rules
|
||||||
After=network.target
|
After=network.target
|
||||||
|
@@ -12,3 +12,26 @@ dnf install https://rpms.remirepo.net/fedora/remi-release-38.rpm
|
|||||||
dnf module reset php
|
dnf module reset php
|
||||||
dnf module install php:remi-8.2
|
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
|
||||||
|
```bash
|
||||||
|
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
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user