Appliance Administration of Webmin
Get the appliance on the network
Connect to the server with a keyboard and monitor - all you will see is a terminal
Also enter a ethernet cable into port 1 at the back of the server
- enter the command - vi /etc/sysconfig/network-scripts/ifcfg-em1
Note that em1 is the name of the port that I have my ethernet cable plugged into
To find out the name of the port you wish to configure enter the command ifconfig - this will list all of the interfaces on the server
When on the page you will see information in the following order;
DEVICE=em1
HWADDR=XX:XX:XX:XX:XX:XX
Type=Ethernet
UUID=XXXX-XXXX-XXXX-XXXX
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
IPADDR=XX.XX.XX.XX
NETMASK=XX.XX.XX.XX
The only information you need to change is the IP Address and the Netmask
To do this enter the following;- Press I on the keyboard to enter insert mode
- Scroll to IPADDR with the keyboard and delete the XX.XX.XX.XX and enter your own IP Address
- Next scroll to NETMASK and delete the XX.XX.XX.XX and enter the correct netmask
- Press esc to exit Insert mode
- Then press :wq to save your new changes
- Next configure the Default Gateway.
This is done the very same way as adding your IP Address but it is done in a different script.
Type the following command - vi /etc/sysconfig/network
You will see the following information;
NETWORKING=yes
HOSTNAME=hostname
Now enter the following;
- Go to Insert mode again by pressing I
- Scroll down to just underneath HOSTNAME
- Enter GATEWAY=XX.XX.XX.XX - where the X's are the Default Gateways IP Address
- Press esc to get out of Insert mode
- Press :wq to save your results
- Next add DNS
Type the following command - vi /etc/resolv.conf
Now enter the following;
- Press I on the keyboard to enter insert mode
- Enter nameserver=XX.XX.XX.XX - where the X's are DNS's IP Address
- If you have more than one DNS server just go to the next line and repeat the same command only changing the IP Address
- Press esc to get out of Insert mode
- Press :wq to save your results
OR
Go back to step 1 and enter vi /etc/sysconfig/network-scripts/ifcfg-em1
- Press I on the keyboard to enter insert mode
- At the bottom enter DNS1=XX.XX.XX.XX where XX.XX.XX.XX is the IP Address of the DNS
- If you have more than one DNS just enter DNS2=XX.XX.XX.XX underneath and so forth for all the DNS's you may have on your system
- Press esc to get out of Insert mode
- Press :wq to save your results
When all that is done type sudo service network restart
To test connectivity try pinging a website - ping www.google.com
If it pings then you are connected to the internet
Accessing the Webmin UI
Access the Webmin UI by entering the following URL into your web browser <Server_IP_Address>:10000
Accessing the RuBAN UI
Access the RuBAN UI by entering the following URL into your web browser <Server_IP_Address>:58000/eem/eem.html
Change the firewall rules
Go to the Webmin UI
> Networking > Linux Firewall > Add Rule (The topmost one)
- Rule Comment - What you want to call it
- Action to take - Accept
- Network Protocol - Equals, TCP
- Destination TCP or UDP Port - Equals, 58080
- Create
- Apply Configuration
This allows the server to connect with a TCP protocol to a destination port of 58080
That is how easy it is to configure your firewall
Enable/disable SSH
Go to the Webmin UI
> Servers > SSH Server > Stop Server - this stops the SSH server
> Servers >SSH Server > Start Server - this starts the SSH server