today's howtos
-
How to optimize your memory settings in Linux
Many Linux distributions are not optimally configured out of the box. It is done in such a way that if your memory usage reaches a certain threshold or percentage of the total internal memory that is available for your Operating System, it is switching over to use what is called the swap space. The swap is a technique to use a special swap partition or swap file as additional virtual working memory, when the Operating System thinks that is required. But using swap, which is based on your hard drive or SSD, as virtual memory, is of course much slower than your physical internal memory, so it should be used only when this additional memory is really required. But in practice some Linux systems switch over much too soon. So let’s find out how we can optimize our memory settings in Linux, or in other words, how to configure our system swap settings optimally.
-
How to install Snapd and Snap Store on Linux Mint 21 Vanessa
Linux programs only run smoothly under the exact distribution for which they were created. Hence, this strictly restricts the developers to create their apps only for popular Linux such as Ubuntu. Making compatible a single app for multiple distros significantly increases the development effort. However, the software can also be packed into an independent container together with all the necessary components. This makes applications work in containers regardless of the operating system in which they are and also cannot interfere with other applications.
Apart from the actual program, software containers also contain all the necessary components of the operating system and libraries. In this way, you can use newer versions, even in parallel with a program traditionally installed as a “deb” package. Such an arrangement offers by Snap Apps.
-
How do you create zpools? Via @michaeldexter
For personal and family stuff, I use the (definitely not nasty) script below. I run ZFS on full drives which I’ve first configured with gpart(8) with a freebsd-zfs partition and a label (though I don’t think that’s strictly necessary anymore?). Normalisation is a big deal for us.
-
How I configure dma for mail delivery in jails on my internet hosts
This is based on a series of tweets which I now want to place into blog post. When I go searching for something I’ve done before, I usually check my blog first.
dma is “is a small Mail Transport Agent (MTA), designed for home and office use. It accepts mails from locally installed Mail User Agents (MUA) and delivers the mails either locally or to a remote destination. Remote delivery includes several features like TLS/SSL support and SMTP authentication.”
See the man page for more information.
-
How To Install Ansible on Rocky Linux 9 - idroot
In this tutorial, we will show you how to install Ansible on Rocky Linux 9. For those of you who didn’t know, Ansible is a free and open-source automation tool sponsored by Red Hat. The tool is designed to automate cloud provisioning, OS deployments, etc. It runs on many Unix-like systems and can configure both Unix-like systems as well as Microsoft Windows. It includes its own declarative language to describe system configuration.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the Ansible automation tool on Rocky Linux. 9.
-
How to Set Up a Private Git Server on Linux
A Git server hosts the repository of a project, which contains the source code and other core files. While, for the most part, you can rely on globally known Git hosting services like GitHub, in some cases, it is better to host your personal Git server for added privacy, customizability, and security.