Things to do first on Debian 12
1. disable raspi-firmware error
apt autoremove --purge raspi-firmwaresudo rm -rf /etc/initramfs/post-update.d/z50-raspi-firmware
2. Install Bash auto complete apt-get install bash-completion3.LVM Shares not showingsudo apt install lvm24. Installing Gnome Diskssudo apt install gnome-disk-utilities 5. Installing Kvantum
sudo apt install qt5-style-kvantum
5. Adding ppa repositories sudo apt install software-properties-common python3-launchpadlib6. Auto start/shutdown kvm virtual machines from command line
sudo virsh autostart node1sudo virsh autostart PFS --disable
7. Debian Network Bridge # interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# Set up interfaces manually, avoiding conflicts with, e.g., network manager
iface eth0 inet manual
iface eth1 inet manual
auto br0
iface br0 inet static
address 192.168.151.2
netmask 255.255.255.0
broadcast 192.168.151.255
gateway 192.168.151.1
dns-nameservers 192.168.151.1
bridge_ports eth0, eth1
bridge_stp off
bridge_fd 0
bridge_maxwait 0
8. Adding swapiness Value
sudo nano /etc/sysctl.d/vm.swappiness.conf
vm.swappiness =2
vm.vfs_cache_pressure = 509. X11VNC on Debian/Ubuntu
- Update & install packages:
apt-get update && apt-get install -y x11vnc - Store VNC password:
x11vnc -storepasswd /etc/x11vnc.passwd chmod 0400 /etc/x11vnc.passwd - Edit
/lib/systemd/system/x11vnc.service:[Unit] Description=Start x11vnc After=multi-user.target [Service] Type=simple ExecStart=/usr/bin/x11vnc -display :0 -auth guess -forever -loop -noxdamage -repeat -localhost -rfbauth /etc/x11vnc.passwd -rfbport 5900 -shared [Install] WantedBy=multi-user.target - Enable & start
x11vncservice:systemctl enable x11vnc.service systemctl start x11vnc.service - Connect to the VNC server from a remote machine with SSH local port forwarding:
ssh -L 5901:127.0.0.1:5900orcrontab -e@reboot x11vnc10. Getting syslog backsudo apt install rsyslog11. cups Service not stoppingsudo systemctl mask cups
sudo systemctl disable cups
sudo systemctl disable cups.service cups.socket cups.path
sudo systemctl disable cups-browsed.service
12. start networking manually sudo crontab -e@reboot sudo ip link set enp3s0 up
13. Time not correctsudo apt install systemd-timesyncd
sudo nano /etc/systemd/timesyncd.confset
NTP=<IP_of_your_NTP_Server>timedatectl
14. Disable IPv6 with nmcli
sudo nmcli connection modify br0 ipv6.method "disabled" 15. Adding Bridge Network using nmcli The steps for creating a network bridge on a system using QEMU-KVM are these:
nmcli connection show
sudo nmcli connection add type bridge autoconnect yes con-name br0 ifname br0
sudo nmcli connection modify br0 ipv4.addresses 10.10.3.49/24 gw4 10.10.3.1 ipv4.method manual
sudo nmcli connection modify br0 ipv4.dns 10.10.3.6
sudo nmcli connection del "Wired Connection 1"
sudo nmcli connection add type bridge-slave autoconnect yes con-name enp1s0 ifname enp1s0 master br0
sudo nmcli connection up br0
nmcli connection show br0
ip add show br0 16. Revert back to Ethernet old naming scheme sudo nano /etc/default/grub add this line to GRUB_CMDLINE_LINUX= net.ifnames=0 biosdevname=0sudo update-grub
17.Install latest firefoxcd ~/Downloadstar xjf firefox-*.tar.bz sudo mv firefox /optln -s /opt/firefox/firefox /usr/local/bin/firefoxwget https://raw.githubusercontent.com/mozilla/sumo-kb/main/install-firefox-linux/firefox.desktop -P /usr/local/share/applications
18. auto start apps on boot kde only
sudo kwriteconfig5 --file startkderc --group General --key systemdBoot false
kwriteconfig5 --file startkderc --group General --key systemdBoot false
19. Install Gnome Network Manager
sudo apt install network-manager-gnome
19. all categories missing error
Update in this file:
/usr/share/knsrcfiles/lookandfeel.knsrc
Update
Categories=121
With
Categories=Global Themes (Plasma 5)
Comments
Post a Comment