Can I install in a Vituozzo VPS?

I want to try Virtualmin to see if I can kick the Plesk habit, but I only have a Virtuozzo VPS instance available to me right now. Will it work for me to install on a VPS?

Virtuozzo Virtual Server Linux 4.0 XL
Barrier Limit
PRIVVMPAGES 1.048.576 1.101.004
KMEMSIZE 193.273.527 214.748.364
DISKSPACE 104.857.600 104.857.600
DISKINODES 6.000.000 6.600.000
NUMTCPSOCK 700 700
NUMOTHERSOCK 600 600
VMGUARPAGES 524.288 9.223.372.036.854.775.807
OOMGUARPAGES 524.288 9.223.372.036.854.775.807
TCPSNDBUF 6.720.000 9.408.000
TCPRCVBUF 6.720.000 9.408.000
OTHERSOCKBUF 5.760.000 8.064.000
DGRAMRCVBUF 5.376.000 5.376.000
NUMFILE 17.600 17.600
DCACHESIZE 28.991.028 32.212.254
NUMPROC 650 650
SHMPAGES 131.072 131.072

Howdy,

Sure, Virtualmin can work in Virtuozzo.

I can’t tell from the above how much RAM your system has, but that’d be the only thing I’d suggest watching out for… Virtuozzo users often end up with very little RAM and no swap, so things end up breaking quickly.

If you have 512MB or less available to you, you may want to review the low-memory guide here:

http://www.virtualmin.com/documentation/system/low-memory

This was easy. Perhaps too easy:
I tried to create a virtual server after the install and now I have an error.
Failed to create virtual server : DBI connect failed : Access denied for user ‘root’@‘localhost’ (using password: NO)

Did you set a password in Virtualmin for your MySQL root user?

If you go into System Settings -> ReCheck Config, it should tell you if it sees any configuration issues, including if there wasn’t a MySQL root password set.

-Eric

That was my next question - when I get to set up MySQL password, I, being an idiot, have an error:

Error
DBI connect failed : Access denied for user ‘root’@‘localhost’ (using password: NO)

It sounds like you may be setup with an existing password… you may need to tell Virtualmin what that is.

If you go into Webmin -> Servers -> MySQL -> Module Config, you can set “Administration password” to your current MySQL password.

Then, you can change it if you like.

-Eric

That is the problem: it is a fresh install and I have not set it yet. For now I shut down MySQL so that I can at least get in and take a look around.

Hmm, that’s odd. The error you’re getting above makes it sound like there’s a password set for your MySQL root user.

I’d be curious what happens if you log into your server over SSH as root, and you type the command:

mysql -u root

Without a password, it should take you to the MySQL command prompt. If there is a password, you’d get an access denied message.

-Eric

You are right - I get the error:

ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)

I am low on time but perhaps I better do a reinstall if I cannot find out how the password was set on me.

So I reinstall, and then install Virtualmin, and start:

Post-Installation Wizard
MySQL password
To prevent other users on your system from managing the MySQL database, a password for the root user should be set.Currently the MySQL password is not set, which is highly insecure.
Set MySQL password

I set the password and get this:

Error
DBI connect failed : Access denied for user ‘root’@‘localhost’ (using password: NO)

I am really confused here obviously. Is there something extra I need to do to make Virtualmin be at home in a Virtuozzo container?

It sounds like somehow, the root password for MySQL was set. When you installed Linux, did you by chance use an image provided by your ISP? If so, it’s possible they have a default password set for security reasons… you may want to verify with them regarding what it is.

However, there’s no need to reinstall… you can reset your MySQL root password using the following instructions:

http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-unix