Category: Unix
All things Unix/Linux

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….
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…
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…
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/

Remove IP from known hosts via command line
If you ever get the following test or similar:- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT…

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

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…

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…

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…
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…
