How to install cPanel/WHM alternative, DirectAdmin, on AlmaLinux

Looking for a CentOS/cPanel substitution? Jack Wallen wishes to clearly show you how to put in the AlmaLinux/DirectAdmin combo that just could do the trick.

Picture: simonkr/E+/Getty illustrations or photos

It can be possibilities day, and I’m likely to exhibit you how to install an option to cPanel on an substitute to CentOS, all within just the ease and comfort of your incredibly have knowledge center or cloud-host company. Having said that, never believe of possibly of these platforms as knock-offs, due to the fact both equally are amazingly strong and flawlessly capable of receiving the task carried out, even in an enterprise environment.

For those people who you should not know, AlmaLinux is a new 1:1 binary suitable Linux server distribution that is no cost and conveniently obtainable for anyone to use. DirectAdmin, although not absolutely free, is a beautifully capable substitute for cPanel/WHM that presents options like:

  • Generate/Modify admins and resellers

  • Reseller deals

  • Person administration

  • DNS administration

  • Mail Queue administration

  • System/Companies facts

  • DNS Clustering

  • SPAM preventing resources

  • User packages

  • IP Assignment

  • Name Servers

  • E mail administration

  • FTP Administration

  • DNS Menu

  • Subdomains

  • File Supervisor

  • MySQL Databases

  • Web-site Backup 

  • PHP Selector

In other words, this resource has just about anything you need to have as a internet hosting supplier. Of course, as I stated, DirectAdmin isn’t really absolutely free. You can generate a 60-working day trial license to kick the tires (which you must do), but the moment that demo is around, you may have to pony up the regular expense of a license. Locate out much more about licensure on the DirectAdmin pierce matrix.

The upcoming concern is, how challenging is DirectAdmin to put in? If you do it the correct way, it is not terribly tough. Of course, you must very first indication up for your demo license. 

SEE: Kubernetes: A cheat sheet (free PDF)  (TechRepublic)

A phrase of warning about the license: throughout the sign-up, you should existing a legitimate IP handle. That IP tackle must be a public-dealing with IP. If you happen to be testing this, you might be almost certainly undertaking so in a LAN-only circumstance. I obtained about that by presenting my general public-dealing with IP address but utilized the personal IP tackle I assigned to the server when accessing DirectAdmin. This will perform, but (naturally) only for the tests portion of your rollout. When you decide to deploy this into generation, you ought to use a public-struggling with IP deal with (or domain). 

The moment you have your license, you can expect to be presented with a person ID and a license number—which you will have to have during the installation. With these two items of data in hand, let us put in.

What you may need

  • Your license 
  • A functioning occasion of AlmaLinux 
  • A consumer with sudo privileges 

How to set up DirectAdmin

Log in to your AlmaLinux server. Alter to the root user with the command:

su

The developers have prepared a helpful script that will just take care of the complete set up. This technique does not involve person input, but does acquire quite a long time to complete (give you over an hour for the script to total).

To download and start the script, the command is:

bash <(curl -Ss https://www.directadmin.com/setup.sh "http://www.techrepublic.com/" wget -O - https://www.directadmin.com/setup.sh) auto

The script will download and install all necessary requirements for DirectAdmin. During the installation, you will be asked for the following information:

  • The device associated with the LAN IP (such as eth0 or ens5)
  • External license IP
  • ID associated with your license
  • Your trial license number

If you're not asked for this information, fret not, you will still be able to access DirectAdmin under a trial license. No matter, you will eventually have to pony up for a full license to continue using the platform.

When the script completes, it will display your login credentials (Figure A).

Figure A

directadmina.jpg

When the DirectAdmin installation completes, you'll be presented with your authentication credentials.

Not only will you be given your authentication credentials, but also the IP address used to access the control panel. This IP will be the WAN-facing address. Instead of using that, point your browser to the LAN address with the port being 2222, as in http://SERVER:2222 (where SERVER is the internal IP address of the hosting server). 

You will be presented with the DirectAdmin login page (Figure B).

Figure B

directadminb.jpg

The DirectAdmin login page is ready for your credentials.

Use admin as the login name and password you were given at the end of the script run. Once you successfully authenticate, you'll find yourself on the DirectAdmin main page (Figure C).

Figure C

directadminc.jpg

DirectAdmin is installed and ready for you to discover all that it has to offer.

And that's all there is to getting this powerful hosting platform up and running on the equally powerful AlmaLinux. Enjoy your new favorite cPanel replacement (should you choose to stick with it).

Subscribe to TechRepublic's How To Make Tech Work on YouTube for all the latest tech advice for business pros from Jack Wallen.

Also see

Fibo Quantum