Tag: Linux

Migrate MySQL from native installation to docker(ubuntu)

June 12, 2021

“It worked yesterday” — Unknown Please let me know in the comments if this process can be improved, or if I forgot a step. Remember to make proper backups/snapshots of your Server before proceeding with the steps below Export your Databases From the command-line, you can use mysqldump to export all your databases Docker-compose file…

Read more

Glances – a ‘top’ replacement on linux

June 11, 2021

Glances is a cross-platform system monitoring tool written in Python. Glances will run on almost any platform: GNU/Linux, FreeBSD, OS X and Windows. You can also use the built-in Web UI and monitor your system from any device. Features CPU Memory Load Process list Network interface Disk I/O IRQ / Raid Sensors Filesystem (and folders)…

Read more

Automate the creation of nginx sites on Ubuntu

August 26, 2018

This has been adapted from a script by a DigitalOcean mod by the name of Jellingwood. Script has been modified to take PHP into account. This assumes your www directory is /var/www and that you are running PHP 7.0 Save the file as create-site.sh, and make the file executable Run the file by executing something…

Read more