Tag Archives: ubuntu

How to create snapshot in Linux KVM VM/Domain

How to create snapshot in Linux KVM VM/Domain
Before upgrading my virtual machine, I would like to make a snapshot. I want to revert a domain/VM to a snapshot if something goes wrong with my upgrade. Is there a command to create a snapshot of virtual machine (VM) while it is running? Does qemu-kvm support live snapshot creation?
Halal Vitamins

Powered by WPeMatico

Shell script to reset ebtables on Linux

Shell script to reset ebtables on Linux
Ebtables is an application program used to set up and maintain the tables of rules (inside the Linux kernel) that inspect Ethernet frames. It is analogous to the iptables application, but less complicated, due to the fact that the Ethernet protocol is much simpler than the IP protocol. ebtables used with bridges on Linux. The following script will stop and clean all ebtables rules:
Halal Vitamins

Powered by WPeMatico

Disabling Google Chrome PDF viewer

Disabling Google Chrome PDF viewer
Google Chrome has “Chrome PDF Viewer” to view or open pdf files. It is an unwanted feature. I do not need it at all. I want my PDF open in Preview on a MacOS X or default pdf viewer in Linux. This feature was hidden. I want to disable it from my Google Chrome browser because it was slow scrolling with a large pdf file sizes.
Halal Vitamins

Powered by WPeMatico

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

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?
Halal Vitamins

Powered by WPeMatico

How to install KVM on Ubuntu 16.04 LTS Headless Server

How to install KVM on Ubuntu 16.04 LTS Headless Server

Kernel-based Virtual Machine (KVM) is a virtualization module for the Linux kernel that turns it into a hypervisor. How can I install KVM with bridged networking, setup guest operating system as the back-end virtualization technology for non-graphic Ubuntu Linux 16.04 LTS server?
Halal Vitamins

Powered by WPeMatico

How to configure Postfix relayhost (smarthost) to send eMail using an external smptd

How to configure Postfix relayhost (smarthost) to send eMail using an external smptd

How do I configure Postfix MTA to send eMail using an external cloud-based SMTP server (with username: password) from a web server on Linux or Unix-like system? How do I configure an Ubuntu server and postfix as the relay server (smarthost)?
Halal Vitamins

Powered by WPeMatico

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

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?
Halal Vitamins

Powered by WPeMatico