Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Moving away from Google services, 8 years in

    This blog post covers how I migrated away from a dozen Google services to privacy-friendly (and sometimes self-hosted) services instead. Let’s go over those one-by-one and see how they all work (and how you can set them up yourself) Hint: it’s quite fun.

  • Let’s Talk OpenZFS Snapshot

    If you’re already using snapshots and aren’t an aggressive snapshot pruner, you’ve probably wondered: How many snapshots is too many? Since there’s no such thing as infinite storage capacity, your available disk space is an obvious limiting factor. But at what point will snapshots result in a performance hit? Unlike other filesystems, the existence of one or one thousand snapshots has no impact on the performance of the filesystem, reading and writing files performs the same either way. However, the performance of administrative operations, like listing and deleting snapshots, are impacted by the number of snapshots that exist in each dataset. Is it OK to have hundreds of snapshots? Assuming sufficient storage capacity, what about having thousands or tens of thousands of snapshots? In our experience, over 1000 snapshots per dataset starts to cause significant performance issues when listing, creating, replicating, and destroying snapshots. The performance impact is not related to the total number of snapshots on the system, but the snapshots on each dataset. A hundred datasets each with one hundred snapshots will see no performance impact on listing, while a single dataset with 2000 snapshots may take many seconds to return the list of snapshots. While you may never need to store that many snapshots, you still want to get the most value for the space snapshots consume over time.

  • Studying the impact of being on Hacker News first page

    I don't have much more data than this, but it's already interesting to see the insane traffic drag and audience that Hacker News can generate. Having a static website and enough bandwidth didn't made it hard to absorb the load, but if you have a dynamic website running code, you could be worried to be featured on Hacker News which would certainly trigger a denial of service.

  • How to use Lynis Linux Security Audit Tool on Ubuntu – VITUX

    Lynis is an open-source security auditing tool for extensive scanning of systems and its security defense to achieve compliance testing and system hardening. This software has been distributed under a GPL license since 2004. It assists in server hardening guidelines, software patch management, fully automatic auditing, Actually lynis doesn’t harden the server by itself but it will provide information about the vulnerability and suggest a different way to harden the software.

  • How to Use Apache JMeter to Load Test Web Applications - LinuxBabe

    Apache JMeter is an open-source load testing tool, available for Linux, macOS, and Windows. In a previous tutorial, we explained how to use Netdata to monitor the performance of Apache/Nginx web servers. Apache JMeter is a great complementary tool for testing your website performance under various load scenarios.

  • How to Install and Configure DHCP Server on Ubuntu 20.04

    If you are a system administrator and working in a large environment then you may often need to set up a new client system and assign IP addresses and other network-related information manually. It is a very time-consuming process for you. This is the case, where DHCP comes into the picture.

    DHCP also known as a "Dynamic Host Configuration Protocol" is a service that can be used to dynamically assigns unique IP addresses and other information to client systems. You can assign the IP address, domain name, hostname, default gateway, and DNS server using the DHCP service.

    In this post, we will show you how to install the DHCP Server and Client on Ubuntu 20.04 server.

  • How to Install LEMP WordPress Ubuntu and Debian With Virtualhost - Unixcop

    LEMP is the acronym for Linux, Nginx, MySQL, and PHP. This tutorial is to host WordPress on the LEMP stack.

  • How to Install KVM/QEMU on Manjaro/Archlinux

    KVM is an acronym of Kernel-based Virtual Machine, it is a technology solution for virtualization based on the Linux kernel module. KVM is an open-source software solution running on the Linux x86 machine with the support of hardware virtualization extensions Intel VT or AMD-V. The KVM kernel module has been shipped to Linux kernel since version 2.6.20 and has been ported to other operating systems such as FreeBSD and Illumos as a loadable kernel modules.

    The KVM technology will turn the Linux machine into hypervisor virtualization, which is called the host machine. On the host machine, you will be able to create multiple isolated systems called virtual machines (VM). Each virtual machine has its system (it can be Linux, Windows, or BSD), also has private virtualized hardware such as memory, CPUs, network card, disk, graphic, etc.

  • Guides and Snaps Use | Inkscape

    This is the sixth part of Inkscape for Students the series. After previously we learn Drawing and Coloring, now we will learn about drawing once again but with guide lines and snapping mainly to help us place objects and make copies of them tidily. Let's exercise!

  • 3 Useful Tips on How to Use History Command in Linux

    You must aware of using the up and down arrow keys to scroll through the list of executed commands in your Bash history, but do you realize that there’s plenty more to Bash history than simply repeating commands?

    One such feature of the Bash shell that can be changed in your customized settings is the history command, which is affected by some environment variables and some shell options (shopt – a command to set and unset shell options).

  • How to Install Craft CMS with Nginx on Ubuntu 20.04

    Craft CMS is a free, open-source content management system for websites. Supported by a large and growing community of developers and designers, it offers a range of innovative features with an elegant design that makes it easy to use. It also allows you to control every aspect of your site's development.
    It’s a great alternative to WordPress and Drupal, which are two of the most popular content management systems in use today.
    A Content Management System (CMS) is software used to make managing web content easier, such as editing content or adding new pages and pictures. Operating a website can be difficult if you need to create each page individually in code using HTML or other markup languages; this can cause problems if you have multiple people working on your site at once since there may not be agreement over how certain elements should look or behave.
    Using a CMS allows you to set the general structure of each page as well as specific elements, such as a blog post or product description; then when someone else needs to edit that information they only need to use the CMS.
    This guide shows how to install Craft CMS on Ubuntu 20.04 LTS (Focal Fossa). It will show you how to install Craft CMS on your Ubuntu server. If you want to use the MySQL/MariaDB database, then this guide will help you install that too.
    The process for installing Craft CMS on Ubuntu is similar regardless of which distribution and version you are using, so you should be able to follow this guide even if your system is slightly different. This tutorial was created with a fresh installation of Ubuntu in mind; however some steps may vary slightly depending on your current server setup.

  • Avoiding dual writes in event-driven applications

    Dual writes frequently cause issues in distributed, event-driven applications. A dual write occurs when an application has to change data in two different systems, such as when an application needs to persist data in the database and send a Kafka message to notify other systems. If one of these two operations fails, you might end up with inconsistent data. Dual writes can be hard to detect and fix.

  • Fedora Magazine: 4 cool new projects to try in Copr from July 2021

    Copr is a collection of personal repositories for software that isn’t carried in Fedora Linux. Some software doesn’t conform to standards that allow easy packaging. Or it may not meet other Fedora Linux standards, despite being free and open-source. Copr can offer these projects outside the Fedora Linux set of packages. Software in Copr isn’t supported by Fedora infrastructure or signed by the project. However, it can be a neat way to try new or experimental software.

    This article presents a few new and interesting projects in Copr. If you’re new to using Copr, see the Copr User Documentation for how to get started.

  • Get the disk health status with SMART monitor tools on Debian and Ubuntu Linux

    Every current disk includes a built-in monitoring feature known as SMART that keeps track of faults. On Linux, there is a software package called smartmontools that may be used to query the SMART status of the disk to see if it will fail soon.

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.