Results 1 to 12 of 12
-
11-18-2013, 03:12 AM #1Junior Guru
- Join Date
- Sep 2010
- Posts
- 208
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:
Pre-install (Check your system)
Code:yum update -y yum install nano wget curl perl -y echo SELINUX=disabled > /etc/selinux/config
Code:echo IPV6INIT=no >> /etc/sysconfig/network echo NETWORKING_IPV6=no >> /etc/sysconfig/network echo net.ipv6.conf.all.disable_ipv6 = 1 >> /etc/sysctl.conf echo net.ipv6.conf.default.disable_ipv6 = 1 >> /etc/sysctl.conf # Check if IPV6 is disabled on your lan card config nano /etc/sysconfig/network-scripts/ifcfg-eth0 IPV6INIT=no IPV6_AUTOCONF=no
When you open this, you will see something like this:
Code:127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4 :: 0 0 0 0 0 0 : 000 local.... <- This line is for IPV6
Code:127.0.0.1 localhost.localdomain localhost 111.111.111.111 hostname.yourdomain.com hostname
If possible, configure your PTR reverse for this IP before install.
Restart your server with:
Code:shutdown -r now or reboot
Code:wget http://software.virtualmin.com/gpl/scripts/install.sh sh install.sh
# Disable Linux iptables Firewall (We will install CSF)
Code:chkconfig ip6tables off service ip6tables stop chkconfig iptables off service iptables stop
Code:https://111.111.111.111:10000
Username: root
Password: your-root-password
You are ready... your new server is ready to use and host websites. =)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Post Install (Optional):
Install CSF linux Firewall:
Code:rm -fv csf.tgz wget http://www.configserver.com/free/csf.tgz tar -xzf csf.tgz cd csf sh install.sh
Webmin > Webmin Configuration > Webmin Modules
Select Install from From local file "..."
/usr/local/csf/csfwebmin.tgz
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)
Code:wget -O /etc/yum.repos.d/software_collections_php54.repo http://people.redhat.com/rcollet/php54/rhel-php54.repo # Install base php 5.4: yum install php54 php54-php-cli php54-php-mysql php54-php-gd # Install php 5.4 with most common used extensions: yum install php54 php54-php-cli php54-php-mysql php54-php-gd php54-php-xml php54-php-gd php54-php-imap php54-php-mysql php54-php-odbc php54-php-pear php54-php-pgsql php54-php-snmp php54-php-xmlrpc php54-php-mbstring php5 php54-php-domxml php54-php-gd php54-php-imap php54-php-mysql php54-php-mbstring php54-php-pgsql php54-php-session php54-php-pear php54-php-mssql php54-php-mbstring php54-php-xmlrpc php54-php-mcrypt php54-php-gd php54-php-dom php54-php-pgsql php54-php-session
Well, now you are ready to use PHP version based in website folder. You can use like this for eg:
/public_html <- php 5.4
/public_html/myfolder <- php 5.3
Are you ready?
Thanks for read and sorry about the bad english =)Last edited by HostFill; 11-18-2013 at 03:17 AM. Reason: Change Title
-
11-18-2013, 05:28 AM #2Junior Guru
- Join Date
- Sep 2010
- Posts
- 208
Easy Virtualmin Ioncube install
Let's complement this...
We always use billing modules or other programs that we need to use the ioncube loaders. To install ioncube loaders on your php 5.4 (instructions to install php 5.4 above).
I did some copy and paste commands for you. Easy ioncube install.
Code:echo "zend_extension = /opt/rh/php54/root/usr/lib64/php/modules/ioncube_loader_lin_5.4.so" >> /etc/php.ini echo "zend_extension = /opt/rh/php54/root/usr/lib64/php/modules/ioncube_loader_lin_5.4.so" >> /opt/rh/php54/root/etc/php.d/20-ioncube.ini cd /opt/rh/php54/root/usr/lib64/php/modules/ wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz tar -xvf ioncube_loaders_lin_x86-64.tar.gz cd ioncube mv *.* .. # Clean UP your installation files cd .. rm -rf ion*.tar.gz rm -rf LICENSE.txt rm -rf loader-wizard.php rm -rf README.txt rm -rf ioncube service httpd restart
-
11-18-2013, 05:32 AM #3Junior Guru
- Join Date
- Sep 2010
- Posts
- 208
I have missed to say for what CentOS version this tutorial is based.
It's CentOS 6.4 -> 64 Bit (x86_64) minimal install
-
11-19-2013, 11:29 PM #4Junior Guru Wannabe
- Join Date
- Jun 2011
- Posts
- 76
It's very useful! Thanks for sharing
Do you know how to perform full backup ( emails, files, database ) for individual account?
-
11-20-2013, 03:20 AM #5Junior Guru
- Join Date
- Sep 2010
- Posts
- 208
Yes.
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.
Last edited by HostFill; 11-20-2013 at 03:24 AM.
-
11-22-2013, 08:09 PM #6Web Hosting Guru
- Join Date
- Jun 2004
- Posts
- 264
I currently have webmin installed and am using my disk space for storage and backups. Can I install virtualmin without destroying anything already working?
-
11-22-2013, 08:39 PM #7New Member
- Join Date
- Feb 2002
- Posts
- 1
Security Concerns when installing Webmin
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.
-
11-22-2013, 08:52 PM #8Junior Guru
- Join Date
- Sep 2010
- Posts
- 208
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. =)
-
11-22-2013, 09:10 PM #9The Linux Specialist
- Join Date
- Mar 2003
- Location
- /root
- Posts
- 23,991
Moved > Hosting Software and Control Panels Tutorials.
Specially 4 U
Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx
-
01-07-2014, 03:34 AM #10Junior Guru Wannabe
- Join Date
- Jun 2011
- Posts
- 76
Thanks HostFill!
It took me sometime to configure the backup, just not sure how to verify the backup file.
-
01-10-2014, 11:14 PM #11Web Hosting Evangelist
- Join Date
- May 2008
- Location
- Cusco Perú
- Posts
- 531
More information about Webmin:
How To Add A Domain Name In Webmin
see.
http://www.wallpaperama.com/forums/h...eps-t1706.html
All documentation Virtualmin.
http://www.virtualmin.com/documentation/tutorial
-
01-11-2014, 01:17 PM #12WHT Addict
- Join Date
- Oct 2010
- Posts
- 144
Does it come as one package to install them all or does it need to be done one by one.
The only downside to it is the look for me, it may be able do a lot but it looks dated with a lot of text, with someone like me who has been using cpanel its confusing.Last edited by 2021; 01-11-2014 at 01:22 PM.
Similar Threads
-
True RAM of VPS webmin - Virtualmin webmin
By khucthuydu in forum Hosting Security and TechnologyReplies: 4Last Post: 04-11-2010, 10:10 PM -
Webmin / Virtualmin
By nostra999 in forum Dedicated ServerReplies: 0Last Post: 04-03-2007, 03:48 AM -
Webmin/Virtualmin Help...
By Shin Asuka in forum Hosting Security and TechnologyReplies: 3Last Post: 09-11-2004, 10:57 PM -
help with webmin/Virtualmin
By kks787 in forum Hosting Software and Control PanelsReplies: 0Last Post: 09-08-2004, 04:11 AM