Network Configuration Settings
During the installation of CentOS 8, we already assigned the static IP address configuration. The following steps are just in case you want to modify/change to any other IP addresses or DNS server IP.
NOTE: Replace the interface name to your own, it’s difference for any other system. In my case, I use eth0.
1. Edit the network adapter configuration file
2. Modify/change below network settings and save.
- Set manual for static setting: #nmcli connection modify eth0 ipv4.method manual
- Set IP address: #nmcli connection modify eth0 ipv4.addresses 192.168.200.200/24
- Set Default Gateway: #nmcli connection modify eth0 ipv4.gateway 192.168.200.1
- Set DNS Server IP: #nmcli connection modify eth0 ipv4.dns 8.8.8.8
- Restart interface: #nmcli connection down eth0; nmcli connection up eth0
Firewall Service
3. If you want to permanently disable the Firewall service, use the following command
4. Enable and Start the Firewall service
SELinux
3. Save and reboot your system to apply the change.
Managing CentOS 8 with Web Admin Console
2. Cockpit is listening on port 9090 which mean Cokpit service is now up.
3. Inbound traffic for Cockpit is allowed by default. If it is not, use the following command to allow it.
4. Access to Web Admin Console via browser
5. You have now successfully login to your CentOS 8 server via web browser