Install Webmin in CentOS

Install Webmin and configure Linux firewall to allow access.
Have your server started already. I am using a terminal window to remotely login to the CentOS server.

Have your server started already. I am using a terminal window to remotely login to the CentOS server.

# yum -y install wget perl.

Next jump out to http://webmin.com/download.html. The link is in the video notes. Right click on the RPM link download and click “Copy link address”

# cd /tmp
# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.710-1.noarch.rpm
# rpm -ivh webmin-1*
# vi /etc/sysconfig/iptables
[in vi]
—Arrow down to the beginning of the long line that opens port 22
press Shift+A to enter edit mode to the end of that line and press enter to start a new line and enter the line to open port 10000 to access the Webmin interface.

-A INPUT -p tcp -m tcp –dport 10000 -j ACCEPT

Press Shift + Z, Shift + Z to save and close file

# service iptables restart

Then get out to a browser window and type the IP address of your server plus :10000 enter to see the webmin login page.

# yum -y update

Install CentOS and setup Network

Run through on how to install CentOS and setup network to prepare for use on the local network.

Have your server started already.

Command list for Network configuration:
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
[in vi]
Arrow to BOOTPROTO
Shift + A
Delete ‘dhcp’
Replace with ‘static’
Press Enter
IPADDR=192.168.1.5
Enter for new line
NETMASK=255.255.255.0
Enter for new line
NETWORK=192.168.1.0
Arrow up to ONBOOT
Change ‘no’ to ‘yes’
Press Escape
Press Shift + Z, Shift + Z

# vi /etc/sysconfig/network
[in vi]
Arrow down to H in hostname
Press Shift + a
Press Enter
GATEWAY=192.168.1.1
Press Escape
Press Shift + Z, Shift + Z

#vi /etc/resolv.conf
[in vi]
Press ‘i’ to enter edit mode
search local domain
nameserver 8.8.8.8
nameserver 208.67.222.222
Press Shift + Z, Shift + Z

# ping yahoo.com
[to stop ping] Crtl + Z