Error connecting to MySQL: Access denied for user: ‘da_admin@localhost’ (Using password: YES)
When connecting to the MySQL screens in DirectAdmin, if this error appears, that would indicated that the “da_admin” user has not been setup correctly. To resolve this do the following.Desired…
SSL Certificate Locations in DirectAdmin
General information for default certificate locations for various services.The order will be cert,key, ca/chain, combined (cert+ca)and their related directadmin.conf settings, where applicable. Apache/LiteSpeed apachecert=/etc/httpd/conf/ssl.crt/server.crtapachekey=/etc/httpd/conf/ssl.key/server.keyapacheca=/etc/httpd/conf/ssl.crt/server.ca OpenLiteSpeed openlitespeed_cert=/usr/local/lsws/ssl.crt/server.crtopenlitespeed_key=/usr/local/lsws/ssl.key/server.keyopenlitespeed_ca=/usr/local/lsws/ssl.crt/server.ca Nginx nginx_cert=/etc/nginx/ssl.crt/server.crtnginx_key=/etc/nginx/ssl.key/server.keynginx_ca=/etc/nginx/ssl.crt/server.ca/etc/nginx/ssl.crt/server.crt.combined Exim +…
How to Install Java JDK in Kali Linux
Download the latest Java SE SDK version Go to the following link and download jdk7. At the time of writing this guide, the jdk version was jdk-7u45-linux-x64. Note that I’m…
How to Install mozjpeg
Mozilla announced their ‘mozjpeg’ project with the aim of improving lossless jpeg compression and making the web a faster place. Forked from libjpeg-turbo, mozjpeg is more concerned with reducing filesize…
How to revoke LetsEncrypt hostname certificate
To revoke the certificate, please run the following (if the cert is still in-place): cd /usr/local/directadmin/scripts./letsencrypt.sh revoke `hostname -f` To stop the auto-renewal: rm -f /usr/local/directadmin/conf/cacert.pem.creation_time
How to issue multi-domain certificate for hostname/mailserver using LetsEncrypt
Exim and Dovecot do support multi-IP ssl certificates, but their setup can be a little bit tricky to try and maintain. With LetsEncrypt, we can setup multi-domain certificates for the…
The process cannot access the file because it is being used by another process. (exception from HRESULT: 0x80070020) Plesk control panel unable to start
Cause Another service is listening to TCP port 8880 or 8443. Connect to the server via RDP Find the process ID from the service listening to ports 8880 or 8443:…
How to optimize PHP perfomance on Windows
In order to optimize PHP performance on Windows Server, the following steps can be performed:
Unable to send mail using postfix STARTTLS authentication: 4.7.0 TLS not available due to local problem
Unable to send an email using the STARTTLS authentication: 454 4.7.0 TLS not available due to local problem Cause TLS misconfiguration in Postfix: Connect to the server via SSH. Create…
List all physical devices
Type the following command:# camcontrol devlist How do I list current partition information? Use the following command:# gpart showSample outputs: => 34 31277165 ada3 GPT (14G) 34 1024 1 bios-boot…