≡ Menu

Easy

How to delete KVM VM guest using virsh command

I am a new Linux and KVM user. How do I delete a VM guest with virsh command line on Linux operating system? How do I delete a virtual machine called vps42 on Ubuntu or CentOS Linux server?
[click to continue…]

Sysadmin because even developers need heroes!!!

{ 0 comments }

How to forcefully mark down pfSense Gateway as down

I have two internet connections (fiber and 4G LTE) configured in load balanced mode using pfSense FreeBSD based firewall. One of my wan connection is running out of bandwidth quota. How can I force and turn off this interface to save bandwidth until month end and enable it again from next billing cycle?
[click to continue…]

{ 1 comment }

How to install PHP 7 on Debian Linux 8.6/7.x [jessie/wheezy]

I wanted to use PHP 7 on Debian 8.x. How do I install and configure PHP 7 on Debian Linux 8.x server? How do I install PHP 7 on Debian Linux 7.x “wheezy” VPS server hosted in cloud?
[click to continue…]

{ 4 comments }

How to live patch Ubuntu Linux Kernel without rebooting the server

Kernel live patching enables runtime correction of critical security issues in running kernel without rebooting. How do I enable or patch my Ubuntu Linux 16.04 LTS server without rebooting the box?
[click to continue…]

{ 10 comments }

How to force users to use secure passwords on Ubuntu/Debian Linux

My Linux shell user can modify their password using the passwd command. How can I force users to choose the secure password that will prevent users from using stupid passwords like “abc123”, “password”, “123456” and so on? How do I setup password quality requirements on my Debian or Ubuntu Linux server?
[click to continue…]

{ 6 comments }

cron Error: bad username; while reading /etc/cron.d file on Linux

I am getting the following error in my cron job log file /var/log/cron.log:
       Aug 22 01:59:01 server2 cron[7510]: Error: bad username; while reading /etc/cron.d/backups
I have job entry as follows to run a job at 00:50 every day for root user:
       50 0 * * * /etc/cron.d/backups
How do I fix this problem on Linux or Unix-like system?
[click to continue…]

{ 0 comments }

Ubuntu 16.04 Create a cron.log File To Log crontab Logs

I am a new Ubuntu Linux 16.04 user. How do I verify that my cron job is executing? I am unable to find /var/log/cron.log file. Where is the cron log file on Ubuntu 16.04 LTS server?
[click to continue…]

{ 0 comments }