Requirements

  • Linode account, if you dont have one, go to https://www.linode.com to register and get $20 bonus with this code: PodcastInIt20
  • DirectAdmin license
  • Basic linux knowledge

Adding Linode server

  1. Login to your Linode Manager and click "Add a Linode", select your plan then click "Add this Linode!" button
  2. Next, Go to you newly Linode Dashboard and click Deploy an Image:
  3. Next, Select CentOS 7 64bit image, SwapDisk and chose a password for your root account:
  4. Finally, Boot your Linode:

Installation

  1. SSH to your Linode server.
  2. Install updates for your server:
    yum update -y
  3. Install DirectAdmin:
    yum install -y perl-DBI
    wget -O setup.sh http://www.directadmin.com/setup.sh
    chmod 755 setup.sh
    ./setup.sh

Configuration

Fix quotas problem

Linode CentOS 7 uses ext4 instead of xfs, so we need to fix the problem. Set use_xfs=0 in /usr/local/directadmin/conf/directadmin.conf and restarting directadmin, then run the following commands:

ln -s /dev/sda /dev/root

Edit /etc/rc.d/rc.local and add this line:

ln -s /dev/sda /dev/root

Then run:

chmod +x /etc/rc.d/rc.local
/sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;

Reboot your server.

Adding IPv6

If your server have IPv6 address, you can add it to DirectAdmin. First enabled ipv6 in directadmin.conf file:

nano /usr/local/directadmin/conf/directadmin.conf

set extra_spf_value= ip6:xxxx::xx:xx:xxx:xxxx (Note the space after the = character, and replace xxx with your IPv6 address)
set ipv6=1

Restart DirectAdmin, when restarted, go to IP Management and add your new IPv6:

Then link the IPv6 to your IPv4 by clicking on the IPv4 and select IPv6 to link.

For optimize performance and improve security, see this guide.