nixCraft Linux / UNIX Newsletter |
How to protects Linux and Unix machines from accidental shutdowns/reboots with molly-guard Posted: 19 Feb 2017 11:38 AM PST 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. 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. |
How to create a new config file in Ansible playbook Posted: 19 Feb 2017 09:57 AM PST 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? |
How to auto start LXD containers at boot time in Linux Posted: 19 Feb 2017 02:51 AM PST I am using LXD ("Linux container") based VM. How do I set an LXD container to start on boot in Linux operating system? |
How to enable KVM virsh console access for Ubuntu Linux VM Posted: 19 Feb 2017 01:54 AM PST |
You are subscribed to email updates from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |