Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • tmux lets you select and copy text with your keyboard

    Anyway, yes, tmux lets you select and copy text with your keyboard.

  • Prometheus and Aegis

    In order to help keep an eye on all of the services I run, I use Prometheus for collecting metrics. For an example of the kind of metrics I collect, see here (1). In the configuration that I have, Prometheus runs on a server in my apartment and reaches out to my other machines to scrape metrics over the network. This worked great when I had my major services listen over TCP, I could just point Prometheus at the backend port over my tunnel.

    When I started using Unix sockets for hosting my services, this stopped working. It became very clear very quickly that I needed some kind of shim. This shim needed to do the following things:

    Listen over the network as a HTTP server

    Connect to the unix sockets for relevant services based on the path (eg. /xesite should get the metrics from /srv/within/run/xesite.sock)

    Do nothing else

  • How to Host a Website on an Apache Web Server

    The Apache HTTP Server (commonly referred to simply as Apache), is a free and open-source web server software brought to you by the Apache Software Foundation. Apache has been around for more than 2 decades and is considered beginner-friendly.

    In this tutorial, you will learn how to install an Apache webserver to host a simple HTML website running on a Linux platform.

  • How to Give Sudo Permission to Users on Ubuntu Linux [Beginner’s Tip]

    When you install Ubuntu, you are asked to create a user and this user gets sudo access by default. This is good because you need root privileges to manage the system.

    But what about new users you created later on Ubuntu? What if the new user also needs to have sudo access for some valid reasons?

    In this beginner’s tutorial, I’ll show you the steps for adding a user to sudoer in Ubuntu using both GUI and command line methods.

    The GUI method is suitable for the desktop version while the command line method works for both desktop and server versions of Ubuntu.

    This tutorial is not about creating users in Ubuntu. I assume that the other user is already created. Needless to say that to give sudo access to another user, you must have sudo access yourself.

  • Apt and Apt-get - Which One to Use

    The Linux apt and apt-get tools are probably one of the most frequently used command-line tools in Debian-based distros when it comes to handling software packages. The two are very similar, however, a few subtle differences exist between the two. In this guide, we will aim to distinguish between apt and apt-get and how they are used.

    Evolution of apt command

    To get a better grasp of the two commands, let's go back in time and see how the apt command evolved over time. Prior to Debian 8 (Jessie) and Ubuntu 16.04 (Xenial Xerus), users interacted with the APT package manager (Advanced Package Tool) using the apt-get command. However, the command-line tool did not get much traction from the users, and most did not exhaustively use most of the options that came with it.

  • How to Enable Remi Repository to Install Latest LAMP Stack

    In this article we will introduce Remi, a third-party repository that includes up-to-date versions of Apache, MySQL / MariaDB, PHP, and related software.

  • How to Install PostgreSQL in Ubuntu 20.04 – TecAdmin

    PostgreSQL is a powerful, reliable, robust and open source object-relational database system.

    The latest version of this database system is PostgreSQL 3.2, while versions 112.6, 11.11, 10.16, 9.6.21, & 9.5.25 still getting the regular updates.

    This tutorial describe you to how to install the newest PostgreSQL on Ubuntu 20.04 LTS Linux system.

  • Setting up UEFI HTTP boot with libvirt | Enable Sysadmin

    I've been a big proponent of network-based provisioning pretty much my entire career. My second job out of college involved imaging ~800 computers multiple times a week. When I was hired, my predecessors used floppy disks to load a small operating system (OS), matching network interface card (NIC) driver, and imaging client (remember Ghost?). The bottom line was it was very time/labor-intensive and a horrible process. Imaging a group of systems took about 30-60 minutes. Long story short, we reduced that time to about five minutes after leveraging a combination of PXE, Wake-on-LAN, Universal Network Device Interface (UNDI) drivers, virtual LANs (VLANs), and IGMP snooping. My second iteration of the solution took the total attended time to less than 30 seconds. It's an amazing technology for provisioning and I even got hired at Red Hat by giving a presentation on the preboot execution environment (PXE). Needless to say, I'm a huge fan.

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.