Categories
Linux Security Useful

SOLOVED: signatures were invalid EXPKEYSIG 97BD1A0133449C3D Gerardo Orellana

If after the linux apt update command you receive an error similar to what is seen below: root@epyc:~# apt update Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Ign:2 http://dl.google.com/linux/mod-pagespeed/deb stable InRelease Hit:3 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease Get:4 http://dl.google.com/linux/mod-pagespeed/deb stable Release [2154 B] Hit:5 http://de.archive.ubuntu.com/ubuntu focal InRelease Get:6 http://dl.google.com/linux/mod-pagespeed/deb stable Release.gpg [819 B] Get:7 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease [114 […]

Categories
Useful Wordpress

W3 Total Cache HTTP ERROR 500, Call to undefined function W3TC\wp_unslash()

At the last update for W3 Total Cahe to Version 2.2.3 we reached the situation that the site no longer works, it returns a classic HTTP ERROR 500 error. The only solution to restore operation was to manually delete the entire cache plugin folder /wp-content/plugins/w3-total-cache and the object-cache.php + db.php files from /wp-content/ folder. The error […]

Categories
Linux Useful

Hot to find your Linux Kernel Version

Below are the usual 4 Commands to Find Linux Kernel Version uname uname -r # find Linux kernel version uname -a # for all information related to kernel version, lsb_release lsb_release -r # for the exact version lsb_release -a # for all information related to the Ubuntu version, lsb_release -sr # distribution version number: proc/version cat /proc/version # details about for […]

Categories
Linux Servers Useful

How to Update Linux Kernel to 5.5.0

To upgrade to linux 5.5.0 kernel, you can perform the following steps: 1st) Download the following files to an empty folder (for 64bit & generic kernel): wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-headers-5.5.0-050500_5.5.0-050500.202001262030_all.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-headers-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-image-unsigned-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-modules-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb 2nd) execute the command: sudo dpkg -i *.deb 3rd) In the end, after the installation has taken place, all you have […]

Categories
Linux Useful

Automatic REBOOT if needed after apt-get upgrade – Linux

Sometimes after the execution of the apt-get upgrade command is finished, a restart is required, but this is not displayed after the command is completed, but you have to do it manually. To do this, you need to check the existence of the /var/run/reboot-required file and then restart the system if the file exists. To […]

Categories
Linux Useful

Change the extension of multiple files in Linux

1). Using Linux find command Using find command to rename all .oldext files under directory structure with a new extension: .newext find . -type f -name “*.oldext” -exec rename ‘s/\.oldext$/.newext/’ ‘{}’ \; 2). Using Linux find command, but in a different approach for f in `find . -iname ‘*.oldext’ -type f -print`;do mv “$f” ${f%.oldext}.newext; […]

Categories
Linux Useful

du – Get the Size of a Folder in Ubuntu Linux

The linux du command displays the size of file space used by the specified files or folders. If the specified path is a directory (folder), du summarizes disk usage of each subdirectory in that directory. Otherwise, du reports the disk usage of the current working folder. To get the total size of the /srv folder, […]

Categories
Linux Networks Useful

Find Available Network Interfaces On Linux/Ubuntu – 6 Quick Solutions

If you need a solution for quickly finding information about the network interfaces attached to the server or computer, then choose one of the solutions below, any of which is useful for certain technical situations. 1) using lshw , a small tool to extract detailed information on the hardware configuration of the machine: root@byrev:/# sudo […]

Categories
Useful

jQuery On Load and Ready not firing for dynamically loaded content ?

Trying to distribute the resources loaded on a page through a function that loads the JavaScript as dynamic files and not all at once, I ran into a problem: None of the following function calls was useful for dynamic scripts: .on (“load”, handler) .on (“ready”, handler) $ (document) .ready (handler) $ (window) .load (handler) window.onload […]

Categories
Linux Servers Useful

Reload new entry in fstab – fast and easy way – Linux

A fast and easy way to reload new entries in /etc/fstab is to use the linux mount command: @ sudo mount -a or with verbose mode: @ sudo mount -av / : ignored /boot : already mounted /boot/efi : already mounted //srv/TOSHIBA-3T-V300 : already mounted //srv/WD-2T-USB : already mounted //srv/TOSHIBA-3T-ENTERPRISE: already mounted //srv/SAMSUNG-850-PRO : already […]