Disable Livepatch either through the GUI or by running canonical-livepatch disable as root Uninstall Livepatch with snap remove canonical-livepatch as root (optional. Try it first without doing this) Run the command rm /etc/machine-id as root to remove your current machine ID (if it says the file or directory doesn’t exist, you can safely ignore it) Run the command systemd-machine-id-setup as root to regenerate […]
valid hours: 0-23 — valid minutes: 0-59 example #1 30 * * * * your_command this means “run when the minute of each hour is 30” (would run at: 1:30, 2:30, 3:30, etc) example #2 */30 * * * * your_command this means “run when the minute of each hour is evenly divisible by 30” (would run […]
Compress components with gzip Compression reduces response times by reducing the size of the HTTP response. Gzip is the most popular and effective compression method currently available and generally reduces the response size by about 70%. Approximately 90% of today’s Internet traffic travels through browsers that claim to support gzip. Use cookie-free domains When the […]
In CentOS or RHEL, the failed SSH sessions are recorded in /var/log/secure file. Issue the above command against this log file to identify failed SSH logins. A slightly modified version of the above command to display failed SSH logins in CentOS or RHEL is as follows.