linux
How do you continuously watch / monitor a Linux command?
Sometimes you want to continuously observe a Linux command. Instead of up arrow and enter the whole time, try this: watch -n 1 “systemctl is-active
How to see what’s running on a port in Linux
user@hostname ~ $ sudo lsof -i -P -n | grep LISTEN | grep 1025 mailcatch 1104 root 9u IPv4 27240 0t0
Linux Disk Space File System Management Commands
Introduction Here are some commands to assist with mastering disks and file space management on Linux. TL;DR ncdu is my preferred option. Disk Usage by
How to set up a fault tolerant / failover system on Linux
Problem: You need to make sure that your disks are 100% redundant. Solution: A popular way on Linux to do this is DRBD. Here are
Two good configuration files for DRBD and OCFS2
Problem: You need to know if your DRBD and OCFS2 disk fault tolerance has been setup correctly but the configuration options are overwhelming. Solution: See
How to install LAMP (Linux, Apache, Mysql (MariaDB) and PHP on Debian
Here is a link on how to install LAMP on a Debian server: Solution: Follow this article straight from the Debian website: https://wiki.debian.org/LaMp#Installation
How to check what version of Linux Mint you are running
To see which version of Linux Mint you are using, issue the following command: user@host ~ $ cat /etc/issue Linux Mint 19.1 Tessa \n \l
Cannot find Mintupdate icon, shield, or program in the menu
Issue: You’re trying to update Linux Mint 18.x to the latest 18.x version. You google that there is a program called Mintupdate, which is supposed
How to upgrade from Linux Mint 18.1 to 18.3 and then to 19.x
Solution: You want to upgrade your Linux Mint but you’re unsure how to do it. Following this article: https://www.tecmint.com/upgrade-to-linux-mint-19/ The steps are basically to first