DirectAdmin is a web hosting control panel providing a graphical interface and automation tools to simplify server and account management. Features include: E-mail, FTP, DNS and web management, Statistics, Apache configuration, User and reseller management and more.
Before you install DirectAdmin, make sure you have a fresh installation of Debian 6 (squeeze), either 32 or 64 bit. This tutorial is only tested on squeeze but it should also work on Debian 4 and 5.
The server must have at least one external IP address assigned directly to the network adapter. Local IP addresses (10.x.x.x, 192.168.x.x and 172.21.x.x) won't work.
1. Install required packages
apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev bzip2 automake autoconf libtool cmake pkg-config python
2. Download the setup script
3. Make setup.sh executable
chmod u+x setup.sh
4. Run the setup
You must provide license details including Client ID, License ID and server hostname during the setup progress and answer some questions.
Wait a few minutes and DirectAdmin is installed and all services are configured. You can login to DirectAdmin by entering http://your.ip.address:2222 into a web browser.