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

today's howtos

  • How to use the W3M text-based web browser on Linux

    Do you need a text-based web browser on Linux to use in your terminal? Don’t like using Lynx, as it seems dated and sluggish? Hoping for something better? Check out W3M. It’s a modern text-based terminal web browser for Linux that has much more to offer.

  • How to Install or Enable Cockpit on AlmaLinux 8 - Linux Shout

    The Cockpit on AlmaLinux is a server management platform that allows administrators to easily manage and control their GUI or CLI Linux server systems remotely using a browser. Among other things, admins can take a look at the systemd journal, check the load or start and stop services. It has a responsive design thus we can also use it conveniently on tablet s and smartphones. We can monitor our remote server performance using just a browser without actually having physical access to it. Furthermore, we can also access the command shell with root access to issue commands and install various packages over the server remotely. Since AlmaLinux 8 is based on RHEL just like CentOS 8, this means by default out of the box, the Cockpit is already installed on your system. Just we need to enable it.

  • How to Export and Delete Saved Passwords in Firefox - Make Tech Easier

    Firefox comes with a built-in password manager, also known as Lockwise. The Lockwise password manager is safeguarded with your Firefox account and allows you to access your passwords on the desktop and mobile. If you have been using Lockwise but now want to migrate to another password manager app, here we show how you can export and delete your saved passwords in Firefox.

  • How to Install Docker on Ubuntu Linux

    Docker has taken the software engineering industry by storm, and it has not only revolutionized the way we ship and deploy software but has also changed how engineers set up software development environments on their computers. This guide shows you how to get started with Docker by installing it on Ubuntu Linux 20.04 (Focal Fossa), the latest Long Term Support (LTS) version of Ubuntu at the time of this writing.

EndeavourOS: Our April release is available

We are proud to announce our second release of 2021 and this one is a bit more than a refresh ISO release, so before you hit the download button and go play with it, just sit back and let us inform you first because we are really excited about this release. [...] The other new feature on the knowledge base are video tutorials, like the wiki articles, this category will expand over time and at the moment it contains general Linux and Arch specific tutorials from the Youtube channels Chris Titus Tech and EF Linux. Very soon videos from DistroTube, Eric Adams and TechHut will also be added to enhance the experience. Read more

Zorin OS 16 Beta Released with Remarkable Changes. Download and Test Now.

The Zorin OS team announced the release of the Zorin OS 16 Beta which is immediately available for download and testing. With this pre-release, Zorin OS promises some massive changes. Let's take a look. Read more

Android Leftovers