MobaXterm Personal 20.3 L2R6UCkkiZ - How to backup a VPS from the inside

How to backup a VPS from the inside

Here is how to backup a VPS “from the inside” Create a directory for the container: mkdir /backup Create an archive vpsbackup.tar.gz of all files and place it in this folder: tar -zcvpf /backup/vpsbackup.tar.gz --directory=/ ...

MobaXterm Personal 20.3 BpISlMbEyO - Disabling SELinux

Disabling SELinux

To disable SELinux for this boot:

setenforce 0

To permanently disable SELinux edit the configuration file:

nano /etc/selinux/config

or

nano /etc/sysconfig/selinux

find SELINUX=enforcing and replace it with SELINUX=disabled

then reboot the system.

wKf59EFJNH - The size of dynamic response body is over the limit, abort!

The size of dynamic response body is over the limit, abort!

When downloading large files in NextCloud from a LiteSpeed server the download fails after 500mb. The following error is recorded in error logs: The size of dynamic response body is over the limit, abort! This is set in LiteSpeed Admin Console under...

image - When the AWS EC2 instance was created

When the AWS EC2 instance was created

Here is how to check when an EC2 instance was created: Option 1. Check the Volume attachment time Option 2. Using a Python script import boto3 ec2 = boto3.resource('ec2', region_name='instance_region_name') volume = ec2.Volume('vol-id') print volume...

image 10 - Softaculous: No WordPress installations found !

Softaculous: No WordPress installations found !

I recently moved a WordPress website, and after that I attempted using Softaculous to access the admin panel, however the installation doesn’t import: I checked the usual: folder/file permissions & owner, .htaccess and wp-config.php Inside...

chrome KVNsQtnGi0 - How to disable Moodle Automated backups

How to disable Moodle Automated backups

Here are 2 ways to disable Moodle Automated backups: From the database (PHPMyAdmin)From the admin account Disable Moodle backups from PHPMyAdmin Login to PHPMyAdmin, select your database and under mdl_config_plugins set 0 for backup_auto_active...

install docker on cpanel - Install Docker on cPanel

Install Docker on cPanel

Side note: I think it’s a bad idea to run Docker on cPanel because, if a user is given root access inside the container, they are just one kernel exploit away from gaining control of the entire server. 1. Install Docker on cPanel From the...

Cover Image by MilesAndryPrower on DeviantArt

Auto-restart MySQL & MySQL Router if it crashes

Here is a small script that will restart the MySQL service in case it crashes. * * * * * /sbin/service mysql status || service mysql start Add it to /etc/crontab to run every minute. More complex script that does the same thing 😀 #!/bin/sh...