Set Up Valet on macOS for Local WordPress Development

valet-wordpress-development

This is a guide on how to set up Laravel Valet on macOS for a WordPress local development environment. Using Valet as a WordPress local development solution has the main benefits of speed, being lightweight and using fewer configurations to…

Tweaking RunCloud Servers After Deployment

Tweaking Runcloud Servers

Here are some references for various fix ups or tweaks that I apply to servers with the RunCloud control panel. These are not all done inclusively, it depends on the need.Change root passwordThe root password initially generated by your host provider…

Add Monit to monitor MariaDB or MySQL database on a CloudPanel instance on Ubuntu 22.04

Cloudpanel Monit Mariadb

Get up and running with Monit on Ubuntu 22.04 on CloudPanel. Monit can be used to monitor your MariaDB or MySQL database and restart it if it is stopped – the database may be stopped due to a lack of…

MySQL/MariaDB [Warning] Could not increase number of max_open_files to more than 32768 (request: 100000)

Mariadb Tuning

Seeing the warning recently on a number of VMs running MySQL/MariaDB.[Warning] Could not increase number of max_open_files to more than 32768 (request: 100000)A MariaDB process has requested a larger amount of open files, you can verify the current limit by…

Set monit to monitor mariadb on a RunCloud instance on Ubuntu 22 & 24

Monit Mariadb

Get up and running with Monit on Ubuntu 22.04Install MonitSSH as root into your VM instance and install Monitapt updateapt install monitStart/stop/restart and see the status of monitsystemctl status monitsystemctl start monitsystemctl stop monitsystemctl restart monitStatus will tell if it’s…

Using MySQL Tuner with MariaDB on Ubuntu 22.04

Mariadb Tuning

Leaving MariaDB settings out of the box may work for some people but not so productive for others, MariaDB can be a resource hog if not checked and result in issues like OOM-Killer(Out of memory) knocking it off.You can use…

Change WordPress Database Table Prefix Back To wp_

Wordpress Table Prefix

Here is how to change the WordPress database tables back to the default wp_ prefix.First thing is to change the php constant table prefix in wp-config.phpChange the wp-config.php constant$table_prefix = ‘wp_’;Change the table prefixes in phpMyAdminNext open your WordPress database…

Increase the Upload Size for MySQL Database in cPanel with phpMyAdmin

Increase Size Upload Mysql Php

cPanel/WHM Server imposes a limit on the size of importing a WordPress MySQL database that can be imported into phpMyAdmin. The default size is 50MB which is set in the cPanel/WHM settings. You can change the settings either in cPanel or…

Remove MySQL database server from macOS or OSX via the command line

Remove Mysql Databse Macos

To remove an instance of MySQL Database Server from your macOS or OSX installation you need to delete a number of files via the command line, but first ensure that you have database dumps of your databases and that then…