Similar Posts
Remove /tmp/ cronjob
BySam5 0 * * * /bin/find /tmp/ -type f -print0 | xargs -0 rm
How to Change OpenCart Timezone
BySamGo to system/startup.php and find following lines of code: if (!ini_get(‘date.timezone’)) { date_default_timezone_set(‘UTC’); } Replace with following lines of code by changing to your timezone date_default_timezone_set(‘Australia/Sydney’); Synchronize PHP and Database Timezone The query we use to set database timezone if you are super admin is below: SET time_zone=’offset’; But everyone has no super admin access…
Protected: Bash scripts to backup all databases in a MySQL server with the option to exclude some databases.
BySamThere is no excerpt because this is a protected post.
How To Create a Linux Swap File
BySamIn this article, we will explain swap space, and learn how to create swap space using a swap file in Linux: this is important in case we don’t have a swap partition created on the hard disk. Swap space/partition is space on a disk created for use by the operating system when memory has been…
Common SSH Commands
BySamHome and navigation When you first log into your server, you will be in your home directory. For the root user, this is /root/. Linux folder structure Linux uses a nested folder structure to store different files. The top-level directory is considered the root directory, and is designated by /. Folders beneath the root level…
How to Fix the XAMPP Error “Apache Shutdown Unexpectedly”
BySamXAMPP is a helpful development tool. However, you may run into problems at some point, such as receiving the notification: “Apache shutdown unexpectedly”. This error might seem to come out of nowhere, so identifying the cause – let alone the solution – can be puzzling. See how Kinsta stacks up against the competition. Fortunately, there is a…
