New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Guide to installing DirectAdmin on CentOS 7
Thanks to @Francisco and free DirectAdmin licenses with every BuyVM KVM Slice VPS server, I managed to play with DirectAdmin for the first time learning the ropes so I thought I'd document a DirectAdmin CentOS 7 install guide on a new site I built just for reviewing/test cPanel alternatives like DirectAdmin https://servermanager.guide/162/how-to-install-directadmin-control-panel-on-centos-7/.
Comments, suggestions and corrections are welcome
Comments
I'm sure others will find your efforts very useful and appreciated. I see some really helpful stuff in there - thanks. You've certainly included a lot in that one post and bonus points for covering DKIM etc. :-)
My own viewpoints..
XFS instead of ext4, no thanks - I don't want to lose the ability to shrink the filesystem.
Swap space is always an area of contention. I haven't read to the bottom yet but I'd advocate scaling the swap right back, after installation to something like 1GB, even for low-end VPS.
Install path of "mkdir -p /root/tools" = why? Go for the accepted normal of /opt.
That's a lot of messing about with firewalld, when CSF is later mentioned - just disable firewalld from the outset.
EDIT4: I totally agree with the ccache comment but would actually install that at the beginning, Something like "yum install epel-release ccache" ;-)
[Karen/Fran disnae like me, so can't try on the same platform. ;-) ]
Hey WSS how you doin bro
PS: Great guide! Thank you eva
LOL
With @eva2000 's skillset, I'm looking forward to an all signing, all dancing curses-based installer. :-D
LOL - certainly can whip up a DirectAdmin wrapper install script to automate the entire install + optimisations and tweaks. Already have ideas swirling around in my head LOL
Never really used /opt for that just use to it I guess heh
Wasn't sure how involved DirectAdmin's source compilation routines use for memory so better safe than sorry.
Yeah just went with whatever BuyVM KVM Slice VPS gave me and that was EXT4
Yeah wasn't sure how DirectAdmin compilations will handle ccache so started without it first. Will be writing a ccache install and setup script for DirectAdmin which can turn ccache on/off so can benchmark DirectAdmin install and compilation routines and time them to see how ccache can benefit compilations
Figured some folks prefer firewalld vs CSF Firewall so did both and well had to test DirectAdmin under native firewalld on CentOS 7 to see what's what. Looks like I'd probably be writing my own DirectAdmin wrapper install script to put all the stuff in place out of the box including switching to CSF Firewall
Glad to see my constructive criticism is taken in the manner I gave it. :-)
(Never like the use of /usr/src with CSF ;-) )
great work. now debian. thx. ;-)
^_^
LOL - CentOS only guy
Did some DirectAdmin + ccache compiler cache benchmarks as well https://servermanager.guide/162/how-to-install-directadmin-control-panel-on-centos-7/#step14
I HIGHLY HIGHLY appreciate you putting this much effort on your guide.
Here we go boys BACK TO the TERMINAL. Let's GO!
@eva2000
The free directadmin licenses are gone it seems
No.
Its linked right on the page.
Francisco
You're welcome
looks to be still available to me
maybe add alias redirect to i.e. buyvm.net/directadmin or something ? easier to remember
@eva2000 My apologies for taking so long to publicly express my appreciation for creating such a guide. You put an amazing effort into this, and such a guide from a real person is much better than any marketing material. I find it interesting to read questions/comments (especially about why you chose one thing over another) because it shows that personal preference/familiarity plays a big part in server setup.
appreciate the guide!
where to get directadmin-compiler-bench.sh script?
The script isn't for public consumption right now - just for my own testing and experiments which are just done on a test buyvm vps for now so if I screw up the system it's no big deal heh
You're welcome @DA_Mark. Still lots to learn about DirectAdmin admin side - still haven't really touched reseller/user (non-admin) side of things yet ! But from what I have learnt about admin side, I like as it plays to my preferences of being able to customise everything to my own liking even pre-installed as I can see myself writing a DirectAdmin wrapper install script to automate most of the customisations outlined in my guide My philosophy when it comes to LEMP/LAMP stack setups has always been = 'never use defaults but always better than defaults' and DirectAdmin does give me the tools to configure better than DirectAdmin defaults for new installs especially with compiler optimisations I can apply
Cool guide! Thks!
That's awesome guide!
Thank You
@eva2000 Can I ask why you prefer CentOS only? I know you made Centmin Mod so I’m sure you know CentOS inside and out, but are their other reasons or just familiarity?
cheers @jureve @MGarbis
@theblackesthat CentOS familiarity is main reason. When it comes to OSes, it's really not what you use but how you use it that matters. And I know how to use CentOS very well ^_^
You are such an expert. Why don't you include features to host multiple users in centminmod with a simple php front end only for end users?
I would guess because Centminmod wasn't made to be a control panel for selling web hosting to people?
for me:
and for me personally with my own Centmin Mod LEMP stack, I prefer no gui/frontend = one less vector for compromise/being hacked
Hope to get the automated DirectAdmin wrapper install script soon