dnf_minimal_installer_fc44_bash_script
dnf installer bash script (Minimal Fedora Core 44)
When you run the code below, ensure to redirect output and errors to a log file.
If this is a new install, consider the SELinux settings.
#!/bin/bash # # install-my-dnf-packages-minimal-fc44.bash # Fedora 44 version # # NOTES: # Do a standard Fedora 44 install using the "Everything" ISO and then run # this script afterward to install the primary packages (webserver, postfix, # alpine, etc). # # To find all available groups # dnf group list --hidden # dnf group list --available # dnf group list --installed # # TO RUN: # ./install-my-dnf-packages-minimal-fc44.bash > /tmp/install-my-dnf-packages-minimal-fc44.log 2>&1 # echo "" echo "*****************************************************************" echo "* Beginning all Updates *" echo "*****************************************************************" echo "" echo "dnf -y install wget" dnf -y install wget echo "*****************************************************************" echo "***************** UPDATING CURRENT PACKAGES ********************" echo "*****************************************************************" dnf -y update echo "" echo "******************** FOR VBox Guest Additions *******************" dnf -y install kernel-headers kernel-devel gcc make perl dnf -y install elfutils elfutils-devel elfutils-libelf elfutils-libelf-devel echo "" echo "********************* NOW INSTALLING GROUP ********************" echo "web-server" echo "*****************************************************************" # Do not install optional packages (avoid problems with mod_security) dnf -y group install "web-server" echo "" echo "********************* NOW INSTALLING GROUP ********************" echo "development-tools" echo "*****************************************************************" dnf -y group install --with-optional "development-tools" echo "" echo "********************* NOW INSTALLING GROUP ********************" echo "system-tools" echo "*****************************************************************" dnf -y group install --with-optional "system-tools" echo "" echo "********************* NOW INSTALLING GROUP ********************" echo "engineering-and-scientific" echo "*****************************************************************" dnf -y group install "engineering-and-scientific" echo "" echo "********************* NOW INSTALLING EXTRAS ********************" echo "" echo "About to install: alpine" dnf -y install alpine echo "" echo "About to install: lftp" dnf -y install lftp* echo "" echo "About to install: traceroute" dnf -y install traceroute echo "" echo "About to install: firewall-config" dnf -y install firewall-config echo "" echo "About to install: mutt" dnf -y install mutt echo "" echo "About to install: postfix" dnf -y install postfix echo "" echo "About to install: evince" dnf -y install evince echo "" echo "About to install: ncftp" dnf -y install ncftp echo "" echo "About to install: dkms" dnf -y install dkms echo "" echo "About to install: fail2ban.noarch" dnf -y install fail2ban.noarch echo "" echo "About to install: python3-pip" dnf -y install python3-pip echo "" echo "About to install: jq" # TAT dnf -y install jq echo "" echo "About to install: tidy" dnf -y install tidy echo "" echo "About to install: pv" dnf -y install pv echo "" echo "About to install: vim" dnf -y install vim echo "" echo "About to install: ncdu" dnf -y install ncdu echo "" echo "About to install: libcurl-devel" dnf -y install libcurl-devel echo "" echo "About to install: inxi" dnf -y install inxi echo "" echo "*********************** ENABLE SERVICES ************************" systemctl start httpd.service systemctl enable httpd.service systemctl start chronyd.service systemctl enable chronyd.service systemctl start postfix systemctl enable postfix systemctl start sshd.service systemctl enable sshd.service systemctl enable fail2ban systemctl restart fail2ban echo "" echo "*****************************************************************" echo "* AUTO install DONE *" echo "*****************************************************************" echo "" echo "*****************************************************************" echo "You probably want to reboot your machine, then finish next *" echo "steps. *" echo "*****************************************************************" echo "" echo "" echo "*****************************************************************" echo "Test, then fix VPN if needed *" echo "See: https://bugzilla.redhat.com/show_bug.cgi?id=1549242 " echo "As root: update-crypto-policies --set LEGACY " echo "*****************************************************************" echo "*****************************************************************" echo "* END OF INSTALL *" echo "*****************************************************************" echo ""
dnf_minimal_installer_fc44_bash_script.txt · Last modified: by juckins
