Accessing Internet from cloud VM when you have only private network...
We have a couple of virtual servers hosted with Softlayer for processing data and backup purpose. The public interface is completely turned off i.e. no Internet access. We can only access VMs using a...
View ArticleDisabling Google Chrome PDF viewernixCraft
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...
View ArticleStart / Stop / Restart Lighttpd Web ServernixCraft
How do I start / stop or restart lighttpd web server under Linux / UNIX operating systems? Most Linux distro includes lighttpd control script. Try following as per your distribution / UNIX version....
View ArticleHow to live patch Ubuntu Linux Kernel without rebooting the servernixCraft
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?
View ArticleHow To Patch and Protect Linux Kernel Zero Day Local Privilege Escalation...
A very serious security problem has been found in the Linux kernel. A 0-day local privilege escalation vulnerability has existed for eleven years since 2005. This bug affects all sort of of Android or...
View ArticleDyn a cloud-based DNS service under DDoS attack and took down major sites...
A massive DDoS (distributed denial-of-service) attack against a popular cloud-based DNS provider Dyn.COM took down major websites. The DYN.COM confirmed it on twitter:We are aware of the ongoing...
View ArticleHow to install PHP 7 on Debian Linux 8.6/7.x [jessie/wheezy]nixCraft
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? PHP 7 is a dynamic...
View ArticleSchrodinger Backups: The condition of any backup is unknown until a restore...
A tweet about backups got pretty popular among sysadmin and IT community. The tweet read as follows: PictureThe condition of any backup is unknown until a restore is attemptedHere is a...
View ArticleIt is not UNIX’s job to stop you from shooting your foot. If you so choose to...
Here is Terry Lambert quote for you. It is not UNIX’s job to stop you from shooting your foot. If you sochoose to do so, then it is UNIX’s job to deliver Mr. Bullet to Mr Footin the most efficient way...
View ArticleHow do I learn coding in a single night?757064617465 – nixCraft
Here is another funny image: How do I learn coding in a single night?What do you think?
View ArticleHow to forcefully mark down pfSense Gateway as downnixCraft
I have two internet connections (fiber and 4G LTE) configured in load balanced mode using pfSense FreeBSD based firewall. One of my connection is running out of bandwidth quota. How can I force and...
View ArticleHow to delete KVM VM guest using virsh commandnixCraft
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?
View ArticleFind the oldest file in Unix or Linux file system757064617465 – nixCraft
So I wanted to know the oldest file on my Debian Linux box. find / -type f -printf '%T+ %p\n' | sort | head -n 1 Here is an another example for /etc/find /etc/ -type f -printf '%T+ %p\n' | sort | head...
View ArticleHave a great Halloween :)757064617465 – nixCraft
Here is a geeky joke for you:I was dressed up as an UDP packet for the Halloween. I don’t think anyone got it, but I couldn’t tell. Have a great Halloween 😀
View ArticleHow to automatically mount zfs file system on Linux/Unix/FreeBSDnixCraft
I have created a zfs file system called data/vm_guests on Ubuntu Linux server. After the server reboot, zpools do not automatically mount at /data/vm_guests. It is failing my KVM guest machines. How...
View ArticleHow to run commands on Linux Container (LXD) instance at provision launch...
I would like to perform common automated configuration tasks and run commands/scripts after the LXD instance starts. How to use cloud-init to run commands on my Linux Container (LXD) instance at launch...
View ArticleWindows and Linux according to mighty Google757064617465 – nixCraft
Here is a humorous take on age old Windows vs. Linux fanboy battel:MS-Windows as per mighty GoogleVSLinux as per mighty Google
View ArticleInterns are working hard to fix computer problems on National Cat...
Here are interns in our office. They are working hard to fix server problems on national cat day 😉Kittens working on computerWe did receive some additional trouble tickets though. Tom’s TT read as...
View ArticleComputer Security 101: Pray for it and hope for the best757064617465 – nixCraft
Please do give your best thoughts and prayers for the servers. Thank you 😉Hoping nobody hacks your server(via twitter)
View ArticleTouch ID Support for sudo in MacOS Terminal for MacBook Pro757064617465 –...
Well, that was fast. Touch ID is a fingerprint recognition security feature, designed and released by Apple. It is currently available on the iPhone 5s/6/7 and Macbook pro-2016 editions. Many consider...
View Article