User Tools

Site Tools


osinstallation:rocky

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
osinstallation:rocky [2023/04/23 15:38] – created senioradminosinstallation:rocky [2023/04/23 16:17] (current) senioradmin
Line 21: Line 21:
  
 <code bash> <code bash>
-systemctl disable systemd-userdbd +systemctl mask systemd-hostnamed
-systemctl disable systemd-oomd +
-systemctl disable systemd-resolved +
-rm -f /etc/resolv.conf +
- +
-# a privacy respecting nameserver from https://dnsforge.de/ +
-echo "nameserver 176.9.93.198" >/etc/resolv.conf+
 dnf update dnf update
-# replace dnf with dnf5, a more lightweight and faster implementation of dnf +# replace dnf with microdnf, a more lightweight and faster implementation of dnf 
-dnf install dnf5 +dnf install microdnf 
-ln -sf /usr/bin/dnf5 /usr/bin/dnf+ln -sf /usr/bin/microdnf /usr/bin/dnf
 dnf upgrade dnf upgrade
  
 # remove unnecessary packages # remove unnecessary packages
 dnf remove firewalld dnf remove firewalld
-dnf remove sssd-* 
 dnf remove audit dnf remove audit
-dnf remove NetworkManager +dnf-3 remove NetworkManager* 
- +dnf install dhcp-client 
-# Install DHCP client daemon +echo "dhclient eth0" >> /etc/rc.d/rc.local #replace eth0 with your network interface 
-dnf install dhcpcd +chmod +x /etc/rc.d/rc.local
-systemctl enable dhcpcd@eth0 # replace eth0 with your network interface +
- +
- +
-</code> +
- +
- +
-Then reboot. Congratulation, you have now the smallest Fedora system possible.  +
- +
-Memory consumption (htop): 125 MB +
- +
- +
- +
- +
-===== A minimal X environment ===== +
- +
-In this example we use [[:wm:tiling:herbstluftwm]].  +
-Execute the following commands as user +
- +
-<code bash> +
- +
-sudo dnf install herbstluftwm xterm xorg-x11-server-Xorg xorg-x11-xinit xorg-x11-drv-* mesa-dri-drivers +
-echo "exec herbstluftwm" >~/.xinitrc +
-startx +
- +
-</code> +
- +
-Once X and herbstluftwm has launched press ''Alt'' + ''Return'' to launch ''xterm'' +
- +
-Memory consumption (X+herbstluftwm+xterm+htop): 168 MB +
- +
- +
-===== A minimal Wayland environment ===== +
- +
-In this example we use [[https://github.com/riverwm/river|river]], a simple tiling Wayland compositor+
  
-Execute the following commands as user+</code> 
  
-<code bash> 
-sudo dnf install river foot 
-mkdir -p ~/.config/river 
-cp /usr/share/river/init.example  ~/.config/river/init 
-river 
-</code> 
  
-Hit Super+Shift+Return for launching foot terminal+Then reboot. Congratulation, you have now the smallest EL 9 system possible. 
  
-Memory consumption (river+foot+htop): 159 MB 
  
  
osinstallation/rocky.1682264315.txt.gz · Last modified: 2023/04/23 15:38 by senioradmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki