This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2025 Sohan Basak (iamsohan.in) | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the WTFPL, Version 2, as published by | |
* Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install essential utilities | |
dnf update -y | |
dnf install -y epel-release | |
dnf makecache | |
dnf install -y htop vim nano bash-completion openssh net-tools git curl wget unzip firewalld fail2ban policycoreutils-python-utils setroubleshoot setools-console | |
# Start and enable firewalld | |
systemctl start firewalld |