Official way to install Sublime text editor on for Ubuntu

Step 1: Install the GPG key wget -qO – https://download.sublimetext.com/sublimehq-pub.gpg |sudo apt-key add – Step 2: Ensure apt can work with https. sudo apt-get install apt-transport-https Step 3: Select the stable release. echo “deb https://download.sublimetext.com/ apt/stable/” | sudo tee /etc/apt/sources.list.d/sublime-text.list Step 4: apt get update Step 5: sudo apt-get install sublime-text Step 6: To run…

Renew letsencrypt with easy engine, the proper way.

You may use these Easy Engine commands, ee site update example.co –letsencrypt=off ee site update example.co –letsencrypt=on ee site update example.co –letsencrypt=renew but only the last one is actually needed to renew the certificate. If you do not have letsencrypt from some reason you can intall it with apt-get install letsencrypt but always good to…

debug.log setup for WordPress

// Enable WP_DEBUG mode define( ‘WP_DEBUG’, true ); // Enable Debug logging to the /wp-content/debug.log file define( ‘WP_DEBUG_LOG’, true ); // Disable display of errors and warnings define( ‘WP_DEBUG_DISPLAY’, false ); @ini_set( ‘display_errors’, 0 ); // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) define(…

Tagged ,