Debian Tutorials

Debian Tutorials


Step by step tutorials showing you how to install and configure various applications and services on Debian based Linux distros.

December 2024
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories


How to install DirectAdmin on squeeze

Ástþór IPÁstþór IP

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

wget http://www.directadmin.com/setup.sh

3. Make setup.sh executable

chmod u+x setup.sh

4. Run the setup

./setup.sh

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.

Comments 1
  • M. Pas
    Posted on

    M. Pas M. Pas

    Author

    Hi,

    Nice simple tutorial about the installation of Directadmin. However, some administrators will run into problems when they try to do the apt-get install command without updating the mirrors, for example on a new machine.
    Maybe you can include “apt-get update” in your tutorial?