How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 20.04
Prerequisites Step 1 — Installing Apache and Updating the Firewall How To Find your Server’s Public IP Address Step 2 — Installing MySQL Step 3 — Installing PHP Step 4…
How To Manage Logfiles with Logrotate in Linux
Log files are an essential part of Linux system administration and monitoring. But log files also quickly grow and take up a lot of storage space. The good news is…
Nightly Reboot – Linux Cronjob Example
DISCLAIMER I’m not a certified financial planner/advisor nor a certified financial analyst nor an economist nor a CPA nor an accountant or a lawyer. I’m not a finance professional through…
How To Generate 4096-bit Secure ssh Key with ssh-keygen
Ssh is a secure protocol used to manage remote systems like Linux, BSD, UNIX, network devices event windows operating systems. The traffic between systems is encrypted. Ssh uses asymmetric keys…
How To Set up SSH Keys on a Linux / Unix System
I recently read that SSH keys provide a secure way of logging into a Linux and Unix-based server. How do I set up SSH keys on a Linux or Unix-based…
Ansible reboot Linux machine or server with playbooks
Indeed to reboot the VM or bare metal Linux machine/server using Ansible and wait for it to come back but it does not work with the playbook as described here.…
How to display listening ports using the netstat from the command line
If you’re troubleshooting a service that you know is running normally, the next step is to ensure it’s listening on the correct network port. The netstat command shows the services…
How to use buffers to copy and paste lines in VI/VIM
The vi and vim editors allow you to copy text from your file into temporary buffers for use in other places in the file during your current vi work session.…