Need VIRTUALMIN installation on CentOS 6.4

Anybody willing to install virtualmin with all associated modules/dependencies on a dedicated server?

Following modules/programs are already installed:
LAMP (Linux, Apache, MySQL, PHP)

Following required with virtualmin

Tell me how much you ask for.


The easiest and recommended way to do this is have a freshly installed grade-A supported OS (no LAMP or anything, just SSH), and then use the Virtualmin installer script, which you can download using the “Download” link in the top menu of this site. The script will pull all dependencies and configure all services as Virtualmin needs them. Manual installation is much more and unnecessarily complex.

Locutus, thanks for your answer.
I reinstall Centos, use Putty and follow a good tutorial found here :
And now, Virtualmin is working well !
Really easy to do, if you take time and respect all… even for a newbie !
Did you know if I should do something to be more secure, or is it OK with standard installation ?


A default installation should be secure.

Just be sure to keep all your packages up to date, and keep the various web apps that you and your users install up to date as well… out of date packages and web apps are the most common cause of breakins that we see.


I have just some problems :
PHPMYADMIN is not install or active. Should I install it for each website ? Or is it possible to active it one time only for all website ???
Same with a webmail ? RoundCube or SquirrelMail are not available…
Did you know if it is possible to have different php version (4, 5, 5.3)?
And how should I do that (I have some old scripts who did not work with php 5.3)
Thanks for your help.


What we usually suggest is installing things like phpMyAdmin and RoundCube in a central domain on your server.

So if your company’s domain is company.tld, what you could do is setup two new Virtual Servers, one named, and another named, and install phpMyAdmin and RoundCube into them.

Or, perhaps even better – you could install them so that they’re available at company.tld/roundcube/ and company.tld/phpmyadmin – that would allow you to use one SSL certificate for both of them.

There’s information here regarding usage of multiple PHP versions:

He could also install into sub-servers use a wildcard certificate *.company.tld, that’s what I do here. I like to keep things tidy and separate. :slight_smile:

Thank you for your help, Locutus and Andreychek.
I have less problem now.
Last question, is it possible to have a phpmyadmin session to manage all databases, as root user even if databases have different user ?
And did you thing it will be better to work as NGINX or APACHE ?


You can log in to phpmyadmin as the root user, which has full access to all databases by default, if you mean that. That is not recommended though, for security reasons.

Nginx has better performance if you have a lot of static (non-php) websites with high load. Apache is much better supported and easier to configure.

OK I stop with NGINX …
But I still need to install PHP 4.4.9 and to choose between 5.3 or 4.4.9 depends website.
Do you know how to install this ? I ind this (sudo apt-get install php4), but it does not work, because the paquet is no more available…
May be you have a solution ?
Jeepeg - look down the page.

Specifically for 4.4.9: