On most Linux systems services install logrotate configuration files in /etc/logrotate.d/. Sometimes you want to temporarily disable log rotation for a service without deleting the configuration file. So how do you do that? A look at the man page shows us this option:
WP-CLI: A swiss army knife for WordPress developers
WP-CLI is a command line WordPress administration tool. You can use it to perform various tasks on your WP installation while logged in via SSH.
Installing only Nginx from Dotdeb
Dotdeb is a repository of extra packages for Debian. Dotdeb has newer versions of Nginx, PHP, MySQL, Redis and other server software than you’d find in the official Debian repos. The instructions provided on Dotdeb tell you how to install various versions of PHP and MySQL but they don’t tell you how to install only Nginx. Here’s how you can do that.
Getting an SSL certificate with SHA256 hash
A hash function takes arbitrary sized data and outputs a number in a fixed range. It always outputs the same number for the exact same data. If the data changes by even one bit the hash also changes. Hashes are used to ensure data integrity by creating “fingerprints” of data.
Customize when apticron runs
Apticron is a debian package that emails you when there are updates that you have to install. To customize when apticron runs you can do the following: