Wednesday, March 3, 2010

Configuring iptables, daemons and network settings in CentOS 5

I just wanted to share my notes on how to configure CentOS 5 without a GUI from the command line but need to a more user friendly way of configuring runlevels, iptables and network configuration.

These are ncurses programs that are interface to their esoteric command line equivalents:

1. Configure startup / disable daemons(services) from starting by using ntsysv:













2. Using system-config-network to adjust the Network Interface card configuration:


3. Using system-config-network still to configure DNS and the machine's hostname:



4.. Enabling and Disabling SELinux and configuring what ports are open on the machine using system-config-securitylevel-tui


Hope this helps, maybe you guys have a better way of doing these tasks? Comments and feedback are welcome :)