Solutions - Virtualmin on Ubuntu 10.04 Mediatemple (ve) server

3 posts / 0 new
Last post
#1 Thu, 05/12/2011 - 16:26
llynix

Solutions - Virtualmin on Ubuntu 10.04 Mediatemple (ve) server

#latest updates
apt-get update
apt-get -y upgrade

# mysql doesn't go right with virtualmin, for some reason I couldn't access mysql's password! I know I
# could always hack it with root, but still I want this scripted. I tried everything.. so eventually I
# resorted to just installing mysql-server and seeding the password like so:
# http://ubuntuforums.org/showthread.php?t=1618055
# debconf-get-selections | grep mysql
echo "mysql-server-5.1 mysql-server/root_password password PASSWORD" | debconf-set-selections
echo "mysql-server-5.1 mysql-server/root_password_again password PASSWORD" | debconf-set-selections
apt-get -y install mysql-server

# Install Virtualmin
# Virtualmin doesn't work out of the box because of noexec on /tmp or something. Well I take that
# back.. it installs, but I'm fairly certain it's not a full installation. Theres a check for this I saw in
# install.sh but whatever it was didn't work on my system. I found this tip to temporarily remount the
# /tmp drive

mkdir ~/tmp
mount --bind ~/tmp /tmp
wget http://software.virtualmin.com/gpl/scripts/install.sh
chmod +x install.sh
./install.sh -y

# Apache was sent into an endless spiral of segfaults for some reason, restarting solves this.
/etc/init.d/apache2 restart

# This gets rid of your /tmp remount
umount /tmp
rm -rf ~/tmp/

# Get quota filesystem wasn't working according to config. This did the trick. Copied this line from
# my /etc/mtab I think.
echo '/dev/vzfs / reiserfs rw,usrquota,grpquota 0 0' >> /etc/fstab

So that's how I'm getting Virtualmin installed on my new ve server.

Fri, 05/13/2011 - 07:54
zac123

thanks for this info. i'm just about to attempt an install of VM on Ubuntu Srv. 10 but i was wondering. does it matter that ive already got the following installed:

1, Mysql 2, ProFTPD 3, Apache

?? thanks zac

Sun, 05/15/2011 - 18:53
Locutus

If you only have them "installed", but not configured (as in changed from the default configuration files) in any way, you're good to go.

Topic locked