https://www.percona.com/forums/questions-discussions/percona-xtradb-cluster/42921-unable-to-start-mysql-service ERROR: When there is a database error where your sites can’t connect to the db. This happened to me when I used the ‘Duplicator’ plugin for wordpress to install a new site which also connected and setup the db tables. I’m not sure why, but it is probably the setting in the plugin’s package […]
List All Packages That Have Updates Available In Ubuntu
https://askubuntu.com/questions/99834/how-do-you-see-what-packages-are-available-for-update /usr/lib/update-notifier/apt-check -p or https://askubuntu.com/questions/49958/how-to-find-the-number-of-packages-needing-update-from-the-command-line $ sudo cat /var/lib/update-notifier/updates-available The normal way to upgrade: $ sudo apt-get upgrade The alternative way (to use when the normal way above does not completely update everything???): $ sudo apt-get dist-upgrade dist-upgradein addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; […]
Repo Key Expired Error For EasyEngine On Ubuntu 16.04
Alt title: Software updater fails because of error in signature verification. http://community.rtcamp.com/t/repo-key-expired-error-for-easyengine-on-ubuntu-16-04/9227 The expiry date for the key has been extended. You can update it on existing installations using: $ sudo apt-key adv –keyserver keyserver.ubuntu.com –recv 3050AC3CD2AE6F03 Users installing EasyEngine on a fresh VPS will not have to do anything extra. The updated key will […]
Ubuntu 16.04 Shutdown & Restart
https://askubuntu.com/questions/187071/how-do-i-shut-down-or-reboot-from-a-terminal For shutdown: $ sudo poweroff For restart: $ sudo reboot
How To Optimize A Table In MySQL Or MariaDB
http://stackoverflow.com/questions/5474662/mysql-optimize-all-tables $ mysqlcheck -u root -p -o dbname In MariaDB you will see: … note : Table does not support optimize, doing recreate + analyze instead status : OK information for the result above is below. Basically, InnoDB (the storage engine used my MariaDB) is doing a different set of tasks to accomplish the same […]
How To Install And Configure Sendmail On Ubuntu
https://gist.github.com/adamstac/7462202 https://www.abeautifulsite.net/configuring-sendmail-on-ubuntu-1404 1. Install Sendmail $ sudo apt-get install sendmail 2. Configure /etc/hosts file: Find your hostname by typing: $ hostname Then: $ sudo nano /etc/hosts On the line starting with 127.0.0.1, add the hostname to the end so it looks the same as: 127.0.0.1 localhost hostname (You willl notice that your hostname can also […]
How To Clear System Cache In Ubuntu
http://www.ubuntugeek.com/how-to-clear-cached-memory-on-ubuntu.html $ sync; echo 3 | sudo tee /proc/sys/vm/drop_caches