Submit your Linux news story here.

Collection of Linux tutorials for 14/June/2017

Some how Linux howtos for you:

Lots of new guides for you:

  • How To Install Linux, Apache, MySQL, PHP (LAMP) Stack on Debian 9 Stretch : I am a new user of Debian 9 operating system. Can you tell me how to setup and install LAMP stack on a Debian 9 (Stretch)?
  • Awesome collection of SED commands : USEFUL ONE-LINE SCRIPTS FOR SED for Linux/Unix-like system.
  • An introduction to timekeeping in Linux VMs : Keeping time in Linux is not simple, and virtualization adds additional challenges and opportunities. In this article, I’ll review KVM, Xen, and Hyper-V related time-keeping techniques and the corresponding parts of the Linux kernel.
  • Exploring /dev/input : Linux is one of those operating systems in which once you know your way around, you are unstoppable. In this post, we will explore what you can possibly do with access to /dev/input directory. Now you typically need to have superuser privileges to access this directory but there is a way around it.
  • Linux iptables configuration : Learn configuration of iptables policies in Linux. Know how to add, delete, save Linux native firewall rules in iptables
  • 5 ways to check swap utilization in Linux server :Learn 5 different ways to check swap space utilization on Linux server using free, swapon, /proc/swaps, top and vmstat/sar commands.
  • MySQL Rabbit Hole: Adventure in data recovery : Recently, an old project of mine died mysteriously—I don’t think so, things rarely die mysteriously, something had gone wrong; MySQL wasn’t running and there was a potential data loss. What was more frustrating about this was the fact that I had procrastinated the database replication and backup for the longest of time. This was all my fault.
  • Async IO on Linux: select, poll, and epoll : This week I got a new book in the mail: The Linux Programming Interface. My awesome coworker Arshia recommended it to me so I bought it! It’s written by the maintainer of the Linux man-pages project, Michael Kerrisk. It talks about the Linux programming interface as of kernel 2.6.x.
  • How To Enable SFTP Without Shell Access on Ubuntu 16.04 : In this tutorial, we’ll set up the SSH daemon to limit SFTP access to one directory with no SSH access allowed on per user basis.
  • How to prevent sed -i command overwriting my symlinks on Linux or Unix : I am running the “ansible-playbook -i hostnames upgrade.yml” command but getting an error that read as follows fatal: [db1]: FAILED! => {“changed”: false, “failed”: true, “msg”: “Could not find aptitude. Please ensure it is installed.”}. How do I fix this?
  • How to prevent unprivileged users from viewing dmesg command output on Linux : I want to restrict both normal users and root user inside LXD container “hypervisor” from viewing and using dmesg command output. How do I prevent non-root (unprivileged) Linux users from viewing the Linux kernel’s log buffer?
  • How to allow root login from one IP address with ssh public keys only : I am using MacOS on the desktop and Ubuntu Linux on the server. I disabled root login over ssh and enabled ssh based public key login. However, I recently added second Ubuntu server. I need to sync file between two using rsync command. Is there any way that I can log from the second server into my first server with root user from second server IP address only ({[email protected] }# ssh [email protected]) without reducing OpenSSH server security option?
  • How to install tinc VPN on Ubuntu Linux 16.04 to secure traffic: I have two VPS running in the cloud. The first one is the database, and another one is the web server. I want to secure traffic that flows between private network which is insecure by design and I do not want to use OpenVPN due to complex settings. How do I install and setup tinc VPN server and secure my traffic over VPN on Ubuntu Linux 16.04 LTS server?
  • An introduction to parameter expansion in Bash: Get started with this quick how-to guide on expansion modifiers that transform Bash variables and other parameters into powerful tools beyond simple value stores.