eva2000
Verified User
- Joined
- Jul 1, 2019
- Messages
- 122
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
I’d like to thank @smtalk and @bdacus01 for their answers to my questions and wonderful and insightful replies and knowledge provided by @zEitEr on the DirectAdmin forums and his Poralik site.
edit: Extended and added to my DirectAdmin installation guide:
edit 2: I also did benchmarks with dovecot compile, so here's combined times https://servermanager.guide/162/how-to-install-directadmin-control-panel-on-centos-7/#step14
cheers
George
Comments, suggestions and corrections are welcome
I’d like to thank @smtalk and @bdacus01 for their answers to my questions and wonderful and insightful replies and knowledge provided by @zEitEr on the DirectAdmin forums and his Poralik site.
edit: Extended and added to my DirectAdmin installation guide:
- step 9 extended for SPF/DMARC setup for main hostname
- step 12 added for DirectAdmin log location info
- step 13 added for Updating DirectAdmin
- step 14 added for DirectAdmin compiler speed optimisation example benchmarks with ccache compiler caching. DirectAdmin Apache recompile had 20-30% faster compile times and PHP-FPM recompile times being 68-72% faster even on single 1 cpu core VPS server
edit 2: I also did benchmarks with dovecot compile, so here's combined times https://servermanager.guide/162/how-to-install-directadmin-control-panel-on-centos-7/#step14
Huge improvements in CustomBuild recompile timesfor DirectAdmin Apache + PHP 7.3/7.2/5.6 + Dovecot recompile builds via CustomBuild 2.0 called from my directadmin-compiler-bench.sh wrapper script resulted in total compile times as follows:
- total without ccache compiler cache = Compile time = 200.293 + 4509.820 + 879.963 = 5590.076seconds
- total run 1 with ccache compiler cache 1st run which is uncached and populates the cache ready for 2nd run use = Compile time = 231.493 + 5141.003 + 976.800 = 6349.296 seconds which is ~13.6% slower than without ccache for 1st uncached compile run.
- total run 2 with ccache compiler cache 2nd run which can use ccache’s cache to speed up subsequent recompiles of same versions = Compile time = 1439.342 + 159.888 + 363.582 = 1962.812 seconds which is ~64.9% faster than without ccache and ~69.1% faster than with ccache’s uncached 1st run.
cheers
George
Last edited: