Language Selection

English French German Italian Portuguese Spanish

HowTos

today's howtos

Filed under
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.

today's howtos

Filed under
HowTos
  • How to Install Fail2ban on Ubuntu 22.04

    Fail2ban is a free and open-source IPS that helps administrators safeguard Linux servers against brute-force assaults. Python-based Fail2ban has filters for Apache2, SSH, FTP, etc. Fail2ban blocks the IP addresses of fraudulent login attempts.

    Fail2ban scans service log files (e.g. /var/log/auth.log) and bans IP addresses that reveal fraudulent login attempts, such as too many wrong passwords, seeking vulnerabilities, etc. Fail2ban supports iptables, ufw, and firewalld. Set up email alerts for blocked login attempts.

    In this guide, we’ll install and configure Fail2ban to secure Ubuntu 22.04. This article provides fail2ban-client commands for administering Fail2ban service and prisons.

  • How to install software packages on Red Hat Enterprise Linux (RHEL) | Enable Sysadmin

    There's a lot of flexibility in how you install an application on Linux. It's partly up to the software's developer to decide how to deliver it to you. In many cases, there's more than one "right" way to install something.

  • What is the /etc/hosts file in Linux – TecAdmin

    /etc/hosts is a text file on a computer that maps hostnames to IP addresses. It is used for static name resolution, which is not updated automatically like the Domain Name System (DNS) records.

    /etc/hosts are usually the first file checked when resolving a domain name, so it can be used to block websites or redirect users to different websites.

today's howtos

Filed under
HowTos
  • Split Audio Files into Parts

    I recently got in the need of splitting quite large amount of audio files into smaller equal parts. The first thought that came to my mind was – probably thousand or more people had similar problem in the past so its already solved – so I went directly to the web search engine.

    The found solutions seem not that great or work partially only … or not work like I expected them to work. After looking at one of the possible solutions in a bash(1) script I started to modify it … but it turned out that writing my own solution was faster and easier … and simpler.

    Today I will share with you my solution to automatically split audio files into small equal parts.

  • A Previous Sibling Selector

    In natural language, what I wanted was: “select every

    element that directly precedes an <hr> element and style the <a> link inside of it.”

    I know how to select the next sibiling of an element with div + p.

    And I know how to select any adjacent sibling of an element (which follows it) with div ~ p.

    And I learned how to select an element when it only has one child with p:only-child a (even though they are the only element on their line, markdown will wrap the [link](#) elements in a paragraph tag).

    But how do I select the previous sibling of an element? Something like p:before(hr) which would select all paragraphs that precede an <hr> element.

  • How to Set Static IP Address on Ubuntu 22.04

    Hello folks, in this guide, we will cover how to set static ip address on Ubuntu 22.04 (Jammy Jellyfish) step by step.

  • Make a temporary file on Linux with Bash | Opensource.com

    When programming in the Bash scripting language, you sometimes need to create a temporary file. For instance, you might need to have an intermediary file you can commit to disk so you can process it with another command. It's easy to create a file such as temp or anything ending in .tmp. However, those names are just as likely to be generated by some other process, so you could accidentally overwrite an existing temporary file. And besides that, you shouldn't have to expend mental effort coming up with names that seem unique. The mktemp command on Fedora-based systems and tempfile on Debian-based systems are specially designed to alleviate that burden by making it easy to create, use, and remove unique files.

  • Use a SystemTap example script to trace kernel code operation | Red Hat Developer

    SystemTap allows developers to add instrumentation to Linux systems to better understand the behavior of the kernel as well as userspace applications and libraries. This article, the first in a two-part series, shows how SystemTap can reveal potential performance problems down to individual lines of code. The second part of the series will describe how a SystemTap performance monitoring script was written.

  • How to Add Your Own Custom Color in LibreOffice - Make Tech Easier

    While writing or editing text in LibreOffice, there are times where you need to change the color of the text or the background. LibreOffice comes with its own set of color palette that you choose the color from and it is easily accessible from the toolbar. The problem is that if you want to use a custom color which is not available in the palette, you are out of luck because there are no visible options for you to add your own color to the palette.

  • How to Split Vim Workspace Vertically or Horizontally

    There is no better computing environment than the one availed by a Linux operating system distribution. This operating system environment gives its users a complete computing experience without too much interaction with the GUI (Graphical User Interface). The more experienced you are with Linux the more time you spend on the Linux command-line environment.

    The command-line environment is efficient enough to handle OS-centered tasks like file editing, configuration, and scripting. A command-line text editor like the Vim editor makes it possible to perform such tasks.

  • How to Create AWS VPC Peering in same account/region using Terraform

    Amazon VPC peering enables the network connection between the private VPCs to route the traffic from one VPC to another. You can create VPC Peering between your own VPC with the VPC in the same region or a different region or with other VPCs in a different AWS account in a different region.

    AWS create peering connection by using the existing infrastructure of the VPC. VPC peering connection is not a form of gateway or VPN connection. It helps to make easy to transfer the data from VPC to VPC.

    In this guice, it is assumed that the VPCs that you want to peer have been created. If you need help creating a VPC checkout this guide. We need to create the peering request from the peering owner VPC, accept the peering connection request in the accepter account and update the route tables in both the VPCs with entries for the peering connection from either side.

  • How to Install Darktable on Ubuntu 22.04 LTS - LinuxCapable

    Darktable is a free and open-source photography application program and raw developer. Rather than being a raster graphics editor like Adobe Photoshop or GIMP, it comprises a subset of image editing operations specifically aimed at non-destructive raw image post-production. In addition to basic RAW conversion, Darktable is equipped with various tools for basic and advanced image editing. These include exposure correction, color management, white balance, image sharpening, noise reduction, perspective correction, and local retouching. As a result, Darktable is an incredibly powerful tool for photographers of all experience levels. Best of all, it is entirely free to download and use.

  • How to Create a Sudo User on Fedora Linux

    Fedora Linux is not a new name in the world of computing. This Linux operating system distribution has Red Hat as its primary sponsor. Red Hat made its development possible via the Fedora Project. Through free and open-source licenses, Fedora hosts a variety of distributed software.

    This Linux distribution also functions as an upstream for the Red hat Enterprise Linux Community version. The latter statement implies that the Fedora Project is a direct fork for Red Hat. In other words, Red Hat directly borrows its features’ implementation from Fedora.

  • ulimit command usage in Linux - TREND OCEANS

    ulimit command is used by the administrator to limit hardware resources in a pool share and is mainly used by shared hosting providers to curb unwanted hardware resource usage by other tenants.

    There are two types of limits that you can set on your Linux machine.

  • How to Install Pinta on Ubuntu 22.04 LTS - LinuxCapable

    Pinta is an excellent image editing tool for both novice and experienced users. The user interface is straightforward yet still packed with features. The drawing tools are comprehensive and easy to use, and the wide range of effects makes it easy to add a professional touch to your images. One of the best features of Pinta is the ability to create unlimited layers. This makes it easy to keep your work organized and tidy, which is essential for anyone who wants to develop complex or detailed images. Pinta is a great all-around image editor in every artist’s toolkit.

  • History of Version Control Systems: Part 1

    First-generation version control systems made collaboration possible, but it was painful. Deleting, renaming, or creating new files wasn't easily done. Tracking files across multiple directories as part of one project was impossible. Branching and merging were confusing. Locks worked by copying a file with read-only or read-write UNIX permissions. Inevitably, programmers didn't want to wait for someone else to finish editing, so they got around the lock system with a simple chmod.

    The two widely used first-generation version control systems were SCCS and RCS.

  • How Learning To Code Can Change Your Life?

    The art of “Communicating with Computers” is called coding, It allows us to be able to communicate with computers, and make them do what we want them to. One of the most exciting aspects of learning to code is the potential to bring your ideas to life and that’s how popular games, software, apps, web apps, and various other algorithms are built.

today's howtos

Filed under
HowTos
  • Easily Get 3rd-Party Software on Ubuntu With Deb-Get

    Deb-get is a high-level software installation and management tool that works on top of the apt package manager to easily enable installing 3rd-party software.

    The developers of the utility have already identified a list of where most common 3rd-party applications are distributed, and they have simply programmed their utility to download software from these places and install them for you automatically, so that you don’t have to do it by yourself.

    You can check that list here.

    The usage syntax is quite simple. Just like apt, you can run commands like deb-get install, deb-get show, deb-get search and deb-get remove.

    If the 3rd-party application you are looking for is distributed in a Deb package repository, then that repository will be added to your system so that you can receive updates anytime you run the apt upgrade command. Otherwise, you will just need to run the deb-get upgrade command to update all your 3rd-party installed applications whenever there is a new version.

  • Install GVM 21.4 on Kali Linux

    In this guide, you will learn how to install GVM 21.4 on Kali Linux. Greenbone Vulnerability Management (GVM), previously known as OpenVAS, is a network security scanner which provides a set of network vulnerability tests (NVTs) to detect security loopholes in systems and applications. As of this writing, GVM 21.4.4 is the current stable release.

today's howtos

Filed under
HowTos
  • How to install Postman on Ubuntu 22.04 or 20.04 - ByteXD

    Postman, known initially as HTTPie, is an open-source HTTP client for developers to use when building APIs or making requests to various services online. Postman is compatible with any language that makes HTTP requests.

    The best thing about Postman is that it’s FREE and open-source, so anyone can use it on any platform they wish. It has collection management, request building, testing and mocking, response validation, and environment sharing that help you work faster and be more productive.

    You can also automate the same tasks with languages you already know, such as Python, Golang, Javascript, Java, and more.

    This tutorial will show you how to install Postman on Ubuntu Ubuntu 22.04 / 20.04 using different methods.

  • How to install PhpStorm 2022 on a Chromebook

    Today we are looking at how to install PhpStorm 2022 on a Chromebook. Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.

    Please take note that it comes with a 30-day free trial and afterward it is paid.

    If you have any questions, please contact us via a YouTube comment and we would be happy to assist you!

  • How to install FFmpeg on CentOS 9 Stream?

    In this post, you will learn how to install FFmpeg on CentOS 9 Stream. This increasingly popular system will serve as the basis for future editions of RHEL. So, it’s good to keep it in mind.

  • How to Install Darktable on Ubuntu 22.04 LTS - LinuxCapable

    Darktable is a free and open-source photography application program and raw developer. Rather than being a raster graphics editor like Adobe Photoshop or GIMP, it comprises a subset of image editing operations specifically aimed at non-destructive raw image post-production. In addition to basic RAW conversion, Darktable is equipped with a wide variety of tools for basic and advanced image editing. These include exposure correction, color management, white balance, image sharpening, noise reduction, perspective correction, and local retouching. As a result, Darktable is an incredibly powerful tool for photographers of all experience levels. Best of all, it is entirely free to download and use.

    The following tutorial will teach you how to install Darktable on Ubuntu 22.04 LTS Jammy Jellyfish using APT or Flatpak installation using the command line terminal.

today's howtos

Filed under
HowTos
  • How to Install Rhythmbox 3.4.6 via PPA in Ubuntu 22.04 | 20.04 | UbuntuHandbook

    Ubuntu’s default Rhythmbox music player got new release updates a few days ago. Here’s how to install it in Ubuntu via PPA.

    Rhythmbox released version v3.4.5 last month and v3.4.6 days ago after more than 2 years of development. Compare to previous Rhythmbox 34.4, Soundcloud plugin and mmkeys plugin have been removed since they are no longer work / useful. DAAP plugin now supports libdmapsharing 4 API, but no longer enabled by default.

    The new release has rewritten podcast downloader with better resume and retry, uses podcast episode GUIDs to handle episode URL changes, preserves original order of episodes in podcasts even if episodes have the same publication date. And, crossfading player backend now works much better with network streams. There are as well many bug-fixes and translation updates.

  • How to install Plex Media Server on Ubuntu 22.04

    Plex Media Server is an application that lets you store all your music, movies, TV shows, and other media files in one place – on your computer or an external hard drive connected to it.

    It means you can stream them to any device in your home (even smart TVs and gaming consoles). While Plex Media Server works excellent with Ubuntu out of the box, there are two optional steps you can take to make the installation process smoother and safer – adding the Plex repository.

    In this tutorial we’ll cover how to install Plex Media Server on Ubuntu 22.04 LTS.

  • How to Build an AWS EC2 Machine Images (AMI) With Packer

    An Amazon Machine Image (AMI) is a supported and maintained image provided by AWS that provides the information required to launch an instance. You must specify an AMI when you launch an instance. You can launch multiple instances from a single AMI when you require multiple instances with the same configuration. You can use different AMIs to launch instances when you require instances with different configurations.

  • How To Install Mirage on Debian 11 - idroot

    In this tutorial, we will show you how to install Mirage on Debian 11. For those of you who didn’t know, Mirage is a fast and simple GTK+ image viewer. Mirage is ideal for users who wish to keep their computers lean while still having a clean image viewer. It is an excellent option to consider.

    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 Mirage image viewer on a Debian 11 (Bullseye).

  • Access GNOME Shell's Advanced Settings Easily - OMG! Ubuntu!

    Are there parts of the GNOME Shell UI you wish you could configure and customise?

    If so, check out the Shell Configurator GNOME extension, recently updated to support GNOME 42.

    This free, open source add-on makes it incredibly easy to access GNOME Shell’s advanced backend settings without needing to use the command line or a tool like dconf-editor.

    You get a clean, organised design with fully searchable settings that are clearly labelled so that you know turning which toggle does what.

today's howtos

Filed under
HowTos

today's howtos

Filed under
HowTos
  • FreeBSD Quick Guide: Audio on FreeBSD

    Whether for music, communication, or notifications, audio is an important feature of many personal computer systems. In a new FreeBSD system, an audio card will need to be configured to process audio files and send them to the connected speakers. Our newest FreeBSD quick guide will walk through setting up and configuring audio, connecting a pair of headphones (including pairing Bluetooth models), and testing the system’s sound, all in under 10 minutes!

  • Speeding up autoconf with caching - Julio Merino (jmmv.dev)

    In the recent Remembering Buildtool post, I described how setting up a cache of configuration checks was an important step in Buildtool’s installation process. The goal was to avoid pointless repetitive work on every build by performing such common checks once.

    Episode 457 of BSD Now featured my post and Allan Jude wondered how much time would be saved in a bulk build of all FreeBSD packages if we could just do that same kind of caching with GNU Autoconf. And, you know what? It is indeed possible to do so. I had mentioned it en passing in my post but I guess I wasn’t clear enough, so let’s elaborate!

  • How To Put Linux On A Laptop

    Linux is an operating system that comes with different distributions like Ubuntu, Debian, and Arch Linux. Just like macOS and Windows, Linux is also a popular operating system that is installed on computers and laptops to manage the hardware of the respective machine and perform the different tasks requested by the users.

    In this guide, different ways of installing or putting the Linux operating system on a laptop have been discussed.

  • What Is cURL Command and How to Use It (With Examples)

    This article explains the curl command in Linux and how to use it with examples based on best practices.

today's howtos

Filed under
HowTos
  • How To Install Franz Messaging on Ubuntu 22.04 LTS - idroot

    In this tutorial, we will show you how to install Franz Messaging on Ubuntu 22.04 LTS. For those of you who didn’t know, Franz is a free messaging app that allows users to access various social media accounts. Franz centralizes all of the popular services like Facebook, Twitter, WhatsApp, and Line. You can choose to connect with whatever services right from your computer and use them.

    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 Franz 5 on Ubuntu 22.04 (Jammy Jellyfish). You can follow the same instructions for Ubuntu 22.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well.

  • WordPress: Fix Updating failed. The response is not a valid JSON response - kifarunix.com

    In this tutorial, I will show you a quick fix to the command WordPress Fix Updating failed. The response is not a valid JSON response related to default Gutenberg editor.

    Note that I experienced this issue while adding a specific block of text on WordPress post. Whenever i tried to save the post after adding that block, it always resulted in the annoying message;

  • How to Enable Function Keys on a Toshiba Laptop

    There are usually 12 different function keys ranging from F1 to F12 that you can find on a laptop, but their uses and functionality may vary depending on which company’s laptop you are using. These function keys provide the additional benefit of using them as a shortcut, which will also save you time. So, if you own a Toshiba laptop and are now looking for how you can enable the function keys, then you need to read this article.

  • EasyOS: Boot menu in initrd when no password

    Without setting up a password, the boot time choices for no-x, rollback or file check were not presented.
    A password is entered at first bootup, which has the important security feature of encrypting certain folders in the working-partition.

    However, you may opt not to have a password, or you might not be able to. Folder encryption requires that ext4 "encrypt" feature be enabled in the partition. However, some older boot-managers, such as grub4dos version 0.4.4 (there are later versions, that I don't know about), do not recognize enhanced ext4 features such as "encrypt" and "64bit" and won't even recognize the existence of such partitions.

    With such an old boot-manager, you are forced to bootup without a password.

today's howtos

Filed under
HowTos
  • Even for us, SSD write volume limits can matter

    Famously, one difference between HDDs and SSDs is that SSDs have limits on how much data you can write to them and HDDs mostly don't (which means that SSDs have a definite lifetime). These limits are a matter both of actual failure and of warranty coverage, with the warranty coverage limit generally being lower. We don't normally think about about this, though, because we're not a write-intensive place. Sometimes there are surprises, such as high write volume on our MTAs or more write volume than I expected on my desktops, but even then the absolute numbers tend to be low and not anywhere near the write endurance ratings of our SSDs.

  • Quick Reminder that Details/Summary is the Easiest Way Ever to Make an Accordion

    Gosh bless the <details> element. Toss some content inside it and you have an accessible expand-for-more interaction with just about zero work.

  • Download YouTube Videos with VLC (Because, Why Not?)

    VLC is one of the most popular video players for Linux and other platforms.

    It’s not just a video player. It provides a number of multimedia and network-related features among other things. You’ll be surprised to learn what VLC is capable of.

    I’ll demonstrate a simple VLC feature and that is to download YouTube videos with it.

    Yes. You can play YouTube videos in VLC and download them too. Let me show you how.

Syndicate content

More in Tux Machines

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.

Red Hat Hires a Blind Software Engineer to Improve Accessibility on Linux Desktop

Accessibility on a Linux desktop is not one of the strongest points to highlight. However, GNOME, one of the best desktop environments, has managed to do better comparatively (I think). In a blog post by Christian Fredrik Schaller (Director for Desktop/Graphics, Red Hat), he mentions that they are making serious efforts to improve accessibility. Starting with Red Hat hiring Lukas Tyrychtr, who is a blind software engineer to lead the effort in improving Red Hat Enterprise Linux, and Fedora Workstation in terms of accessibility. Read more

Today in Techrights

Android Leftovers