How to check CPU temperature on Raspberry Pi

How to check CPU temperature on Raspberry Pi

It is always a good idea to keep an eye on the temperature of your Raspberry Pi’s CPU. Although this small processor packs a punch for its size, it is important to remember that it does not have a fan or any other cooling ability by default. That means that if the processor is constantly working hard, CPU temperatures could get high and eventually damage the device. Similar to how to check raspberry pi cpu frequency, monitoring temperature is essential for optimal performance.

Read more

How to retrieve and change partition’s UUID Universally Unique Identifier on linux

Hard drive partitions on Linux systems rely on a UUID (universally unique identifier) for unique labels. This is basically a unique string of characters that the operating system will use to identify your hard disk partitions and other storage components.

You can see this for yourself by examining the fstab file on your own system.

$ grep UUID /etc/fstab

In this guide, we’ll go over several command line methods to retrieve the UUIDs of hard disk partitions. We’ll also show you how to generate UUIDs and change a partition’s UUID.

In this tutorial you will learn:

  • How to retrieve, generate, and change the UUID of a partition

Read more

NFS vs SAMBA vs CIFS

NFS, SAMBA, and CIFS are three different terms that get thrown around a lot whenever someone mentions file sharing between two or more systems. But, do you know what these three implementations do, and how they do it differently from one another? For some reason these technologies remain in a shroud of mystery to even some seasoned system administrators.

Read more

How to Disable Swap in Linux for Kubernetes

Part of the official requirements for Kubernetes is to disable swap space completely before attempting to launch Kubernetes. In some recent patch notes, Kubernetes has begun implementing support for swap space in some scenarios, but it is not fully supported. The official reason for not supporting swap space is because it is hard to predict how a pod might utilize memory when swap is enabled.

Read more

Live CD/DVD Linux Download

In this article, we’ll cover and compare some of the most popular Linux distributions to use for a live CD/DVD. Furthermore, you’ll be given the information you need to make a decision about which one to use, as well as the links to the official Linux downloads pages for each Linux distribution.

Many Linux distributions offer an environment that you can boot your computer into without having to install anything to a hard drive. For some Linux distros, this is actually their main purpose. This is called a “live file system” and it allows you to boot into Linux like normal from a CD, DVD, or USB drive.

With a live file system, changes you make normally aren’t saved after a reboot. When you boot to a live CD/DVD/USB, system files and everything else are stored temporarily in RAM, and RAM is always cleared when a system shuts down or reboots.

Read more

How to recover partition table in Linux

The partition table of a hard disk holds all the information about where each partition begins and ends. If the partition table gets deleted or becomes corrupt in some way, most likely your operating system will not be able to boot or you will face other hard disk issues. But there is good news: if your partition table is lost, it is possible to recover it using software such as testdisk.

Read more

hdparm acoustic management: Reduce hard drive’s noise level

Most of the non-SSD hard drives allow for a noise reduction by decreasing head movement speed while accessing data. This ability is called Automatic Acoustic Management or AAM. In this tutorial, you will see how to install the hdparm software package on all major linux distros and use it to manipulate AAM values to reduce or increase head movement, thus directly affect hard drive’s noise level.

Read more

How to Extend LEDE/OpenWRT System Storage with an USB Device

LEDE/OpenWRT is a Linux-based operating system which can be used as an alternative to proprietary firmwares on a wide range of routers.

Installing it provides increased security, let us tweak our router and give us a wide range of software packages to install from the system repositories.

Installing packages is
very easy, thanks to the opkg package manager, but often the available
space on common routers is quite limited. In this tutorial we will see how to
extend the available system space using an USB device.

Read more