Webmin / Virtualmin - Tutorial. It's easy and free
Yep. 6 months ago, I started my first time with webmin + virtualmin, and before it, I think only cPanel can do it. But now I know, webmin + virtualmin can do more then cPanel. When you start with this, it's not easy for who is coming from cPanel. The first thing you need to do is... Forget all of that you know about cPanel and learn again.
When you start, first you need to get this vision: (The names, can do a mistake in your head because you can think "webmin" is your websites control panel, and virtualmin for VPSs. But not... look)
1-) Webmin = You server manager administrator. Hardware, software packages, server configuration, software configuration. And for sure, here you can do with mouse clicks A LOT of things that you can't do with cPanel.
2-) Virtualmin = Something like WHM of cPanel. Your accounts, domains, hosting packages, e-mail configurations...
3-) Usermin = Something like cPanel user domain control panel. Your customers login.
You can also give your customers access to the Virtualmin. Every thing is configurable.
AND THE GREAT THING IS -> AUTOMATED INSTALL. A lot of peoples don't know the Virtualmin has an automated installation, that will do an automated install of all softwares that you need.
Just install a clean minimal system of CentOS, after install, check this commands:
And OFC 22.214.171.124 is your real public IP, and hostname.yourdomain.com is your server hostname like server.domaincompany.com
If possible, configure your PTR reverse for this IP before install.
Restart your server with:
shutdown -r now
Start automated install of webmin + virtualmin with full webserver software ready to use:
Reply "y" and wait. This will install everything that you need.
# Disable Linux iptables Firewall (We will install CSF)
chkconfig ip6tables off
service ip6tables stop
chkconfig iptables off
service iptables stop
When finished, just go to your new control panel:
Your username and password is your root
You are ready... your new server is ready to use and host websites. =)
Post Install (Optional):
Install CSF linux Firewall:
rm -fv csf.tgz
tar -xzf csf.tgz
On your webmin control panel (look that you have 2 panels "Webmin" and "Virtualmin")
Webmin > Webmin Configuration > Webmin Modules
Select Install from From local file "..."
Click "Install Module"
Well, you are ready to use your CSF in your control panel over:
Webmin > System > ConfigServer Security & Firewall
Don't forget to open TCP ports 10000 and 20000 for virtualmin.
When you install CSF, it get your IP and put in Firewall Allow, then you are ready to access everything that you need, but your customers are not able before you open these 2 ports.
If you need to install php 5.4:(It comes by default with php 5.3)
You are able to do it on the control panel. It's almost the last option if you are loged in as root on the Virtualmin control panel.
Also has an option to give permissions for a virtual server owner do it. I don't remember where, but on virtualmin you have options to give any control that you want to the virtual servers owners.
Scheduled Backups (I'm using this, and works very well).
Backup Virtual Servers
Remember. A Virtual Server for webmin, is an account for cPanel.
That's the biggest confusion for who is coming from cpanel.
I am planning on installing Webmin. Do we need to take any additional security precautions when installing Webmin? Do we need to change some settings, like changing the default port? I used Webmin several years back and remember changing the default port, but not sure what other settings I had to change to secure it.
I'm using with default port because I have fixed IP (access closed only for my IP) and the server is only for 1 website. Anyway a server without firewall is not good. Csf will do the security for you like fail to ban or cphulk. =)