When you first create a new Rocky Linux 8-9 server, there are a few configuration steps that you should take early on as part of the initial setup. This will increase the security and usability of your server and will give you a solid foundation to build on.
Commands used
Creating user
adduser UserName
passwd UserName
usermod -aG wheel UserName
Setting Up Firewall
dnf install firewalld -y
systemctl start firewalld
systemctl status firewalld
firewall-cmd --permanent --list-all
firewall-cmd --get-services
firewall-cmd --permanent --add-service=http
firewall-cmd --reload
Useful links
VPS/VDS - https://www.mivocloud.com/en
0 Comments