How to run PHP-FPM 7.3 with a Debian Apache 2.4 HTTP Server

PHP-FPM (FastCGI Process Manager) is an alternative to PHP FastCGI. It provides features like Adaptive process spawning, basic statistics, and advanced process management with graceful stop/start. PHP 7.3 is not available for Debian Jessie so you will need to get it from a third party repository: $sudo apt-get -y install apt-transport-https lsb-release ca-certificates $sudo wget […]

Exclude Packages from apt-get upgrade

If you need to prevent a package from upgrading during ‘apt-get upgrade’, you need to put that package on hold: $ sudo apt-mark hold package_name When you run ‘apt-get upgrade’ with a package on hold, the output will look like this: $ sudo apt-get upgrade Reading package lists… Done Building dependency tree Reading state information… […]

How To Find The Largest Top 10 Files and Directories On a Linux System

The du (i.e., disk usage) command reports the sizes of directory trees inclusive of all of their contents and the sizes of individual files: -h, –human-readable print sizes in human readable format (e.g., 1K 234M 2G) -s, –summarize display only a total for each argument -x, –one-file-system skip directories on different file systems The sort […]

Error Mounting NFS Share on Raspbian

$ sudo mount 192.168.1.4:/some-nfs-share /media/some-local-path mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use ‘-o nolock’ to keep locks local, or start statd. mount.nfs: an incorrect mount option was specified Solution: Enable the rpcbind and nfs services: $ sudo update-rc.d rpcbind enable $ sudo update-rc.d nfs-common enable Restart the rpcbind […]