Posted in CloudLinux 7 DirectAdmin Linux PHP

DirectAdmin change MySQL PHP module on every user

I recently updated a server with DirectAdmin to MariaDB 10.2, which requires a different php module to talk to PHP….

Posted in favicons Web Servers

Steal a Favicon

If you need a favicon for your favourite website but it’s not available as https://sitename.com/favicon.ico as in the old school…

Posted in Azure Cloud Services Linux SSH

Locked out of your Azure VM’s SSH

If you get locked out of your SSH client Log into the azure portal https://portal.azure.com Navigate to the VM from…

Posted in Backups Linux

Backup Tool

Looking for simple one solution to create and restore backups for a number of difference sub-systems http://backup.github.io/backup/v4/

Posted in SSH

Remove IP from known hosts via command line

If you ever get the following test or similar:- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT…

Posted in Fail2Ban Linux Security

Fail2Ban – Unban all the IPs you’ve just added to your ignore list

for IP in $(grep ^ignore /etc/fail2ban/jail.local | awk ‘{for(i=4;i

Posted in MariaDB / MySQL

Recover MySQL Accounts when innodb gets corrupted

Add the following line to your mysql configuration /etc/my.cnf innodb_force_recovery = 6 Then stop the service and run mysqld_safe without…

Posted in LiteSpeed Web Servers

Quickly Set or Change LiteSpeed Admin Console Password

Often when LiteSpeed is installed automatically by DirectAdmin you can miss the admin password being displayed in all of the…

Posted in CentOS 7 CloudLinux 7

Convert CentOS 7 to CloudLinux 7 & Adding KernelCare

I’ve put this information here, so I don’t have to keep looking it up! Install/Convert to CloudLinux wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy sh…

Posted in CentOS 7 DirectAdmin

Install DirectAdmin on CentOS 7

Lets install of the packages that DirectAdmin will need before we start the install. yum install wget gcc gcc-c++ flex…