In this manual, we'll explain how to create a VPS and install DirectAdmin on it.
We'll begin by logging into https://cloud.axc.nl/ with the details you have received from us by e-mail
. Once logged in, navigate to Virtual Machines.
You can now click Create Virtual Machine at the bottom right. In the next screen, choose an
operating system. We always recommend Centos 6.x 64 bit:
After you have chosen the right operating system, click Next at the bottom. You are now taken to the
Virtual machine properties screen. Here, you provide a number of details.
Label: This is the name of your machine as it appears in the cloud.axc.uk panel.
Hostname: This is the name of your VPS in the form of machinename.domainname.uk.
Password: This is the password you can use to login to your server via SSH.
In the following screen you can specify the number of resources this VPS is allowed to use. The more cloudboxes
you purchase, the more resources you can assign:
In my example there are 4 cloudboxes. I am creating a disk of 392 GB, leaving 8 GB
which I can use as a swap. Should the memory be full, there will be an additional 8GB of memory
on the disk to be used. I recommend assigning a maximum of 8 GB as swap. A server that uses the
swap for additional RAM memory should be upgraded. Swap memory is much
slower than RAM memory, which will cause the server to respond slower.
We have now arrived at the last screen. In this screen, you don't have to make any adjustments and you can create the virtual machine.
It takes about 5 to 15 minutes before the VPS is built and launched. The size of the hard drive
is decisive in this. The bigger your drive, the longer it takes for the VPS to be built. You can view
the status in the cloud.axc.uk panel:
As soon as your VPS has been built it will automatically launch.
The VPS is now online and software such as DirectAdmin can be installed.
The installation of DirectAdmin:
First, we'll log in to the VPS using SSH. You can do this using an SSH client such as Putty. A manual for this
is available at: https:/www.versio.uk/161-how_do_i_connect_to_ssh_via_putty. The root password
of your cloudbox is listed in the cloud.axc.uk panel by clicking password behind login:
After logging in, you must first install a number of default packages. This is done using the yum
which comes default with a Centos installation. After having logged in to the VPS as root
you can do the following:
yum install -y wget mlocate gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-dev gd zlib-devel zip unzip libcap-devel cronie db4-devel cyrus-sasl-devel perl-ExtUtils-Embed perl-ExtUtils-MakeMaker perl-Digest-SHA perl-Net-DNS perl-NetAddr-IP perl-Archive-Tar perl-IO-Zlib perl-Digest-SHA perl-Mail-SPF perl-IP-Country perl-Razor2 perl-Net-Ident perl-IO-Socket-INET6 perl-IO-Socket-SSL perl-Mail-DKIM perl-DBI perl-Encode-Detect perl-libwww-perl perl-Time-HiRes screen libtool wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 cyrus-sas l-devel perl-ExtUtils-Embed autoconf automake libtool which patch db4-devel mailx openssh-clients rsync
After this installation is complete, we must properly configure the DirectAdmin license to the IP address
of the VPS. You can do this via our customer panel under: Your cloudboxes -> Overview -> Select your cloudbox ->
Click manage licenses.
Click the DirectAdmin license
Select the proper Operating system and the IP address of your Cloudbox:
The license has now been configured. Write down the following details: Customer ID: xxxx - License ID: xxxxxx , you need these
details later when installing DirectAdmin.
You can now begin installing DirectAdmin. In your SSH client, type the following:
wget directadmin.com/setup.sh
chmod +x setup.sh
./setup.sh
First, you will be asked for your client ID, which is the number listed under Customer ID with your license in our customer panel
Then, you will be asked for a license ID, which is the number listed under License ID with your license in our customer panel
Specify the hostname of your server, as follows server.domainname.uk
Please check the settings above and confirm them if they are correct:
Then, you must confirm a number of things, such as the IP address and on what interface it is active. If
you have configured everything correctly, you can answer all of these questions with Y.
Subsequently, you are presented 4 options of DirectAdmin
By default, we choose option 3. Afterwards, DirectAdmin will ask you whether you wish to use the default settings
to install DirectAdmin. If you have no experience with this, I recommend using the default
settings. To see what the fastest mirror is, you can also enter Y.
The installation of DirectAdmin is now running. This may take somewhere between 60 to 90 minutes before everything is
installed. Don't close your SSH client, since that will interrupt the installation.
As soon as the installation is finished, you will be presented with all login details. Should you have missed this information
you can request it by entering the following command via SSH:
cat /usr/local/directadmin/scripts/setup.txt .