[How-To] Installing Direct Admin on Xen

MQ-James

Verified User
Joined
Aug 16, 2003
Messages
29
As, the Xen VPS Software comes with a minimal install and a minimal kernel some modification is needed to get it all working.

This guide was written using Centos as the base OS.

First of all, you need to ssh in to your VPS.

Once you've ssh'ed in you simply run these 3 commands
yum install gcc
yum install gcc-c++
/usr/sbin/pwconv
pwconv is needed to create the /etc/shadow file.

then, you can run setup.sh as normal (setup.sh of directadmin).

Once it is installed, all works, except you get an error about quotas when ever you add an account, this is easy to fix.

Run these commands:
cd /usr/sbin
mv setquota setquota.old
echo "" > setquota
chmod 755 setquota
that replaces your setquota binary (what sets the quota) with a blank shell script, so that the error won't occur.

And, that's how to install Direct Admin on Xen
 
I presume by "Xen" you mean Xen VPS (domU). The VPS could be running any DA supported OS - Red Hat, Debian, CentOS, or FreeBSD. Installing DA on a Xen VPS is no different than installing on a dedicated server. Follow DirectAdmin's instruction for each OS, starting by downloading setup.sh.

The problems you encountered were specific to how CentOS was installed on your VPS.
 
Back
Top