Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Configuration of the APC UPS Daemon on my Linux server

    For obvious reasons my Linux home server supplying NAS and Web services 24/7 is connected to a UPS. The UPS model (now discontinued) I use is a 700VA 230V APC Back-UPS ES-BE700G-UK. It is connected to one of the server’s USB ports via an APC-supplied cable so that the server can interrogate the UPS and so that the UPS can send unsolicited messages to the server (e.g. mains power supply interrupted, mains power supply restored, shut down the server now, and so on). The open-source APC UPS Daemon apcupsd that I installed on the server enables the server to react automatically to UPS events. apcupsd provides a Bash script apccontrol and various other Bash scripts to act on these events. All these scripts can be customised by the user. As users with an APC UPS that supports this functionality are likely to be interested in configuration of apcupsd, I think it might be useful for me to explain how I configured apcupsd.

    An Ethernet switch in the same room as the server is also connected to the UPS. If my router were in the same room as the server then it would be connected to the same UPS as the server but, as it has to be in a different room next to the broadband provider’s master socket, it is instead connected to a separate mini UPS so that the server can still send e-mails after an interruption to the mains power supply.

  • 15 things to do after installing Manjaro

    Manjaro is by far one of the most popular and widely recommended Linux distros for beginners. This is why we see so many new users pick up Manjaro as their introductory distro to the Linux space. However, despite Manjaro’s user-friendly and welcoming environment, absolute beginners might be a little lost on what to do after a clean installation.

    For example, updating your system is always a good idea, and we all know that. But did you know pointing to the fastest mirrors before an update can significantly boost the update speed? Similarly, if you’re coming from Windows, you might not know that you have free control over which Linux Kernel you use. And depending on the kernel, you will get varying levels of system performance. Cool right?

  • How to install Puppy Linux [Comprehensive Guide]

    Another day, just another Linux distro installation article? That’s not the case with Puppy Linux. If you are looking for an ultra-light Linux distro where the entire system can be run from random-access memory, Puppy Linux is a strong contender. The latest version takes about 300 MB of space, allowing the boot medium to be removed after the distro has started.

  • How to create and enable Swap Partition on Centos / RHEL 8

    Have you experienced a memory spike? A moment where your system is getting slower due to lack of physical memory. Linux has a mechanism to overcome this issue. It introduced a Swap Space. Swap Space is a space on hard disk which is a substitute of physical memory. The kernel will search the idle memory pages in the RAM, then the kernel will write the idle page to the swap area.

  • Kafdrop – WebUI for Kafka

    Kafdrop is a webUI for Apache Kafka. Kafdrop is an open-source tool which displays the information like broker details, creates a topic, delete a topic, browses messages and view ACLs. It is a lightweight tool and very easy to set up.

    What is Kafka?

    Apache Kafka is an open-source platform. Kafka was originally developed by Linkedin and was later incubated as the Apache Project. It can process over 1 million messages per second.

  • How to run Virtual Machines on your Linux Server (Ubuntu/RHEL/CENTOS 7)

    What is a Virtual Machine (VM)?

    A virtual machine (VM) is a virtual environment that functions as a virtual computer system with its own CPU, memory, network interface, and storage, created on a physical hardware system (located off- or on-premises). Software called a hypervisor separates the machine’s resources from the hardware and provisions them appropriately so they can be used by the VM.

    How do VMs Work?

    Virtualization technology allows you to share a system with many virtual environments. The hypervisor manages the hardware and separates the physical resources from the virtual environments. Resources are partitioned as needed from the physical environment to the VMs.

  • Puppet Server 6+ Client Ubuntu 20.04/21.04

    Puppet is a configuration management tool to automate infrastructure management and configuration i.e., it manages configuration data on other systems, including users, packages, processes, services. It helps in the concept of Infrastructure as code. Puppet written in Ruby DSL language, which can be easily managed and configured. Puppet follows client-server Model, where one machine acts as server known as puppet master and the other acts as client known as slave or agent machine. The Puppet Master is a Machine where all manifests will be developed and ready to be implemented on the agents. The agent implements Puppet manifests, or files containing Puppet configuration language that declare the desired state of the node..

    Special Features And Work Flow n Puppet, one can safely run the same set of configuration multiple times on the ;ame machine. In this flow, Puppet checks for the status of the target machine and Nill only make changes when there is any specific change in the configuration.

  • How to install and configure Chef server on ubuntu

    Chef is a ruby based technology which makes the work of developers easy and smooth. Like if a developer wants to push an update of its working application on a running server he has to go through all the node server of the company to get the job done. But what if there are 100 of node servers in the company, that’s an havoc. He has to go through all the server nodes and push that update in each of that nodes separately. That’s an Hectic, tedious and time consuming stuff. So now ‘CHEF’ comes into play .Using the chef technology the developer has to push and configure the update to the CHEF server from his chef workstation and the node servers will automatically extract the update from the chef server using the ‘Knife tool’.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. 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 MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.