Google Earth is supposed to configure updates during installation. From the Google Linux Software Repositories site: The Linux Package Signing Keys Google’s Linux packages are signed with GNU Privacy Guard (GPG) keys. Google’s packages will automatically configure your package manager to verify product updates with the public signing key, but you may also install it […]
Blog
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 […]
Fix Incorrect MP4 Duration in Linux
I recently used a screen capture program to record a video of some actions in Firefox. When the video was complete, the Duration was incorrect. Windows Media Player doesn’t seem to mind and happily played the entire video even though the duration property was 16 seconds and the actual duration was 31 seconds. When I […]
Splitting Text Files in Linux
Check the number of lines in a text file using the wc command, which stands for “word count”. $ wc -l access.log146330 access.log We’re way over our limit. We’ll need to split this into 3 segments. We’ll use the split utility to do this. $ split -l 60000 access.log $ ls -l total 79124 -rw-rw-r– […]
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… […]
Remove Old Kernels from Debian
You should always leave the current kernel and one previous kernel in place on your system. The previous kernel is needed if an update to the current kernel leaves your system unable to boot. You will be able to boot the previous kernel using the advanced options of the grub boot menu. Show current kernel […]
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 […]
List files in a tar archive sorted by size
List files, filter by size, print only size+space+path, and sort by size only, descending order: size=10485760 tar tvf some.tar.gz \ | awk -v size=”$size” ‘$3 >= size {print $3″ “$6}’ \ | sort -t’ ‘ -k1,1nr
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 […]
Boot w/ BIOS vs Boot w/ UEFI
Highest rated post explains the difference precisely: https://superuser.com/questions/496026/what-is-the-difference-in-boot-with-bios-and-boot-with-uefi