Centos / Update and Configure
Last Updated: 12th November 2020
What first to run / install on a new CentOS 7 Server
Updating the Server
-
First, clean-up yum:
sudo yum clean all
-
As a matter of best practice we’ll update our packages:
sudo yum -y update
Useful Software to have installed
-
Nano
sudo yum install nano
-
TraceRoute
sudo yum install traceroute
-
iPerf3
sudo yum install iperf3
-
iPerf Server can be started by using
iperf3 -s -p 5201
-
PiHole
curl -sSL https://install.pi-hole.net | bash
-
PiHole can be accessible on: http://ip-address-of-machine/admin
-
Cockpit
sudo yum install cockpit
sudo systemctl enable --now cockpit.socket
sudo firewall-cmd --permanent --zone=public --add-service=cockpit
sudo firewall-cmd --reload
-
Cockpit can be accessible on: https://ip-address-of-machine:9090
Updating Useful Software
Management
-
Add Firewall Rules
sudo firewall-cmd --permanent --zone=public --add-service=http
sudo firewall-cmd --permanent --zone=public --add-service=https
sudo firewall-cmd --reload