Tag Archives: linux news

How to install and configure Varnish cache on Ubuntu Linux 16.04 LTS

How to install and configure Varnish cache on Ubuntu Linux 16.04 LTS

How do I install Varnish Cache server to improve the performance of my existing Apache web server especially caching dynamic content on Ubuntu Linux 16.04 LTS server?
Halal Vitamins

Powered by WPeMatico

How to protects Linux and Unix machines from accidental shutdowns/reboots with molly-guard

How to protects Linux and Unix machines from accidental shutdowns/reboots with molly-guard
Oops! I did it again. I thought I was logged into my home server. Turns out I rebooted the db server. Another my not so favorite is typing “shutdown -h 0” into the wrong terminal. I know a few people who have admitted to doing that here.

My anger that can't be contained
Is there any end to the madness? Do I need to suffer from accidentally random reboots and shutdowns? After all, it is human nature to make mistakes, but one should not keep on making the same mistakes again and again.
Halal Vitamins

Powered by WPeMatico

How to create a new config file in Ansible playbook

How to create a new config file in Ansible playbook
I wanted to create a file named /etc/apt/apt.conf.d/1000-force-ipv4-transport with the value set to ‘Acquire::ForceIPv4 true;’ on 20 cloud servers hosted in AWS. I already setup Ansible playbook to automate stuff. How do I create a new file using Ansible playbook? Is it possible to create a complex file with many lines of text (say squid.conf) using Ansible IT automation tool?
Halal Vitamins

Powered by WPeMatico

How to enable KVM virsh console access for Ubuntu Linux VM

How to enable KVM virsh console access for Ubuntu Linux VM

I just followed your tutorial and setup KVM with Ubuntu Linux as a new guest virtual machine. However, I am unable to use the command: ‘virsh console vm’. How do I setup and enable console access in order to gain shell access on the newly created Ubuntu Linux 16.04 LTS VM?
Halal Vitamins

Powered by WPeMatico

How to add disk image to KVM virtual machine with virsh command

How to add disk image to KVM virtual machine with virsh command

How do I add additional disk storage to a guest operating system to KVM virtual machine with virsh command on Linux operating system?
Halal Vitamins

Powered by WPeMatico