How to install Webmin and Virtualmin on any Linux server


+1 vote
Answering this question, I will provide a simple and convenient instruction on installing Webmin and Virtualmin for any Linux distro (CentOS, Ubuntu, Debian, Gentoo).
asked Aug 15, 2016 in System administration by Denis

7 Answers

0 votes

Good day to you!
Webmin and Virtualmin enable you to deploy your own hosting on Apache web-server in about 30 minutes. This method is worth applying, if you need to create hosting for multiple sites with low traffic. If you plan to make one or several sites with heavy traffic, it’s better to use Nginx; find additional information about it in our articles:

Choosing a server and Linux distro:

If you already have a server with Linux, installed on it – just skip this clause.
For a small hosting, any inexpensive virtual server will be suitable, for example, DigitalOcean for 5$ per month (follow this link and get 10$ for registration without any additional conditions). DigitalOcean server will be ready in 3-5 minutes upon registration, and you will be able to move on.
And now, regarding Linux distro: if you are used to some specific distro – use it. If you have no preferences – then, it’s recommended to choose CentOS 6, it’s simple, stable and convenient. Many of web-hostings operate on this very CentOS distro.
If your server has 3 or less gigabytes of random access memory, then use x32 distro, if there is more memory – then, only x64.

Installing Webmin and Virtualmin:

The installation process is very simple, Webmin programmers have taken care about it.

1. Enter the server via ssh (for example, using Putty) as root user. Of course, you can use sudo, but it is completely unnecessary at the stage of primary server installation and setting. 
2. Before starting the installation, you need to specify the host name. Check, whether you have it specified:

hostname -f

If the host name is empty or localhost, that mean, you need to specify it before continuing the installation. Let’s correct hosts file, using vi editing program:

vi /etc/hosts

Press "i" for changing to an edit mode, add “hostname helpdesk.zone” line (change for your host) and also add your host name to the line with the address 127.0.0.1. You should get something like this:

Add a hostname before installing Webmin

 

Save changes and close vi, to do this you should type ":wq".
Now, run the command again:

hostname -f

In the result, you should see the above-stated host name. If you cannot see it – it means, you have made a mistake somewhere. 
 
3. Now, download the installation script:

wget http://software.virtualmin.com/gpl/scripts/install.sh

If there is no wget tool in your system – install it, using “yum install wget” command.
 
4. Now, give the script the write rights and start it:

chmod 744 ./install.sh
./install.sh

The script will fulfill all the further actions on its own, from time to time asking you various questions. Installation may last 5-60 minutes, depending on the server capacity. As soon as the installation is over, you can start using Webmin and Virtualmin.

Installing Webmin in a process 


5. After finishing the installation process, proceed to the address https://[server ip address]:10000 for primary setting and starting the working operations. 
 

If you have any questions or need some details – please, ask a question or leave a comment.
Good luck to you!

answered Aug 15, 2016 by Expert Brian (5,410 points)
0 votes
http://bio-catalyst.com/ - myambutol generic
roxithromycin capsules
[url=http://bio-catalyst.com/]buy cefixime[/url] flagyl for sale
answered Feb 16 by Jamescouth
0 votes
real cialis online with paypal <a href=" http://cialisirt.com/# ">cialis lowest price 20mg</a>
herbal replacement for viagra/cialis/levitra... http://cialisirt.com/ cialis money order
[url=https://edplsgeneric.com/#]when is the best time to take cialis[/url] legitimate cialis by mail
answered Feb 17 by KennethUtila
0 votes
low cost cialis <a href=" http://cialisirt.com/# ">cialis daily</a>
cialis coupon http://cialisirt.com/ which is better - cialis or viagra
[url=http://cialisirt.com/#]generic cialis black 800mg[/url] cost of cialis
answered Feb 17 by KennethUtila
0 votes
generic cialis no doctor's prescription <a href=" http://cialisirt.com/# ">does viagra or cialis help with pe</a>
cheap cialis http://cialisirt.com/ cialis coupons 2019
[url=http://cialisirt.com/#]where to get cialis sample[/url] cialis 30 day trial coupon
answered Feb 23 by KennethUtila
0 votes
does medicaid cover cialis <a href=" https://edplsgeneric.com/# ">coupon for cialis by manufacturer</a>
cialis at a discount price https://edplsgeneric.com/ cialis for peyronie
[url=http://cialisirt.com/#]canada cialis[/url] which is better - cialis or viagra
answered Feb 24 by KennethUtila
0 votes
cialis prices 20mg <a href=" http://cialisirt.com/# ">show cialis working</a>
show cialis working https://edplsgeneric.com/ cialis in canada
[url=https://edplsgeneric.com/#]cialis generic[/url] purchasing cialis on the internet
answered Feb 27 by KennethUtila
Welcome to Help Desk, here you can ask any questions and receive answers from our experts and other members of the community.

If you have any questions, please do not hesitate to contact our help desk!

Make a question!