Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  1. How To Install Apache Server on Fedora 35 - idroot

    In this tutorial, we will show you how to install Apache Server on Fedora 35. For those of you who didn’t know, Apache HTTP is a popular web server for Linux servers. It is a free cross-platform web server that is supported on various operating systems. Developers prefer Apache for its speed, security, reliability, robustness, and ease of customization. In addition, Apache is able to meet the needs of many environments as it allows the installation of various extensions and modules.

    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 through the step-by-step installation of the Apache webserver on a Fedora 35.

  2. How To Easily Set Up Secure OTA Firmware Updates On ESP32 | Hackaday

    Fortunately, over-the-air (OTA) firmware updates are a thing, allowing embedded devices to be reprogrammed over their wireless data connection instead of with a physical hardware device. Security is of course a concern, and thankfully [Refik] explains how to set up a basic framework so that ESP32 OTA updates can happen securely, allowing one to deploy devices and still push OTA updates in confidence.

    [Refik] begins by setting up a web server using Ubuntu Linux, and sets up HTTPS using a free SSL certificate from Let’s Encrypt, but a self-signed SSL certificate is also an option. Once that is done, the necessary fundamentals are in place to support deploying OTA updates in a secure manner. A bit more configuration, and the rest is up to the IoT devices themselves. [Refik] explains how to set things up using the esp32FOTA library, but we’ve also seen other ways to make OTA simple to use.

  3. How To Install UVdesk on Debian 11 - idroot

    In this tutorial, we will show you how to install UVdesk on Debian 11. For those of you who didn’t know, UVdesk is a free, open-source, and SaaS-based helpdesk solution for any business process to deliver the best customer service. It is a simple, flexible, user-friendly, and alternative to other popular support platforms. Uvdesk supports Enterprise service desk features like workflow, Email piping, knowledgebase, Mailbox, Ecommerce and Multichannel Integration.

    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 through the step-by-step installation of the UVdesk helpdesk system on a Debian 11 (Bullseye).

  4. How to Copy Files Between Kubernetes Pods and Your Machine – CloudSavvy IT

    Containers running in Kubernetes Pods are meant to be self-contained compute units that you don’t need to manually interact with. Sometimes you might have to copy files to or from a Pod’s filesystem though, perhaps because you’re debugging a problem and want to archive logs, config files, or caches stored in a container.

    Here’s how to move files between your machine and containers in a Pod, using Kubectl’s built-in transfer feature or a manual alternative.

  5. How to Install Firefox Next (Beta) or Firefox Quantum (Nightly) on Linux Mint - LinuxCapable

    Mozilla Firefox is a free and open-source web browser developed by the Mozilla Foundation. Firefox utilizes the Gecko rendering engine to display web pages, which implements current and future anticipated web formats and standards.

    For the most part, Firefox is often up to date with the latest stable release on Linux Mint and Ubuntu-based desktops, however non-stable builds such as beta or the more bleeding edge nightly builds can be installed tested the new features or test your websites before its hits the stable repository.

    For the most part, the beta build is what curious users should be installing, and the nightly build should never be used by anyone other than sysadmins or developers looking to test a particular feature.

    In the tutorial, you will learn how to add and install the beta and nightly build for Firefox using a PPA maintained by the Mozilla team.

  6. How to Install Grafana 8 on Ubuntu 20.04

    Grafana is a tool for monitoring, analysis, and visualization of real-time system data. From a series of data collected, we will obtain a graphical panorama of the situation of a company or organization. It generates graphs and dashboards from a time-series database (Graphite, InfluxDB, or OpenTSDB). It also allows you to share them as snapshots with other users.

  7. How to Repair File System Errors in Debian Based Systems

    In Linux, using heavy hardware components can be checked and recovered. Specifically, on Ubuntu and Debian systems, finding out the hard-disk bad sectors is easy. Once your hard disk or drive gets some bad sectors or gets corrupted, it gets spread day by day. On Ubuntu and other Debian Linux machines, you can use a few tools or commands to find out the file system errors and repair the errors. Not fixing errors or bad sectors might make your system boot slower and can also affect initialization.

  8. How to Securely Transfer Files between Ubuntu Systems Using Croc – VITUX

    Croc is an open-source CLI-based tool that allows to securely transfer files between systems. During file transfer, a code is generated for the sender and the receiver systems to use for end-to-end encryption. Whether the sender and receiver are on the same network or the different networks, Croc can easily and quickly transfer files between them without the need for port forwarding. Croc can be installed and used on Linux, Windows, and MacOS, allowing you to share files between different operating systems.

    In today’s tutorial, we will install Croc to securely transfer files between Ubuntu systems. To install Croc on Ubuntu, you should have root or sudo privileges.

    Note: The procedure has been demonstrated on Ubuntu OS. You can use the same installation procedure for Debian OS.

  9. How to Set or Change Hostname in Linux System

    Hostname is the label of a system or in other words it is a human readable name of a system, after setting up the hostname of the device then it becomes easy to manage and access based on their label or hostname.

  10. How to Setup SSH Login Without Password

    In this article I will show you how to setup SSH login without passwords in a Linux operating system by using key-based authentication.

    SSH is used to remotely log into servers for running the commands and programs. However, sometimes you might want or even need to automatically log in to an SSH server without entering your username and password.

    The two most popular mechanisms to log into remote systems via SSH are password-based authentication and key-based authentication.

    Username and password combination is the most common authentication method for SSH and is a suitable method for most people. But if you regularly use SSH to connect to remote servers, the key-based authentication method is best for you.

    So, can you SSH without a password? In short, yes! Here’s how to do it.

  11. How to create a VPC Peering between 2 VPCs on AWS

    A VPC peering connection is a connection between two VPCs that enables you to route traffic between them. We can create a VPC peering connection between our VPCs, or with a VPC in another AWS account. The VPCs can also be in different regions.

    We can peer the VPCs across accounts to create a network filesystem and we can also use a VPC peering connection to allow other VPCs to access resources we have in one of our VPCs.

  12. How to install Travis CI on Ubuntu 20.04 – NextGenTips

    In this tutorial, I am going to take you through the installation of Travis CI on UIbuntu 20.04.

    Travis CI is a hosted continuous integration service used to build and test software projects hosted on Github and Bitbucket. Travis CI provided services to Open-source projects for free.

    Travis CI enables teams to test and ship apps with confidence. You can easily sync your projects with Travis CI. Travis CI automatically detects when a commit is made and pushed to the GitHub repository that is using Travis CI, and each time this happens, it will try to build the project and run tests.

  13. How to list all running & stopped Docker containers - Linux Shout

    Docker is the popular platform to run container virtual machines using the pre-built app images. The installation and its usage are pretty simple, yet, if you are new to it and want to know how to list all the created or stopped Docker containers to delete or manage them easily. Then here are the commands to follow.

  14. How to monitor domain expiry date using shell script in Linux

    The shell is an interface that helps users to operate the system through different commands, scripts, and utilities provided by Linux and Unix-based operating systems.

    For most of the Linux distros, Bash shell is the popular and default shell. You can identify your current shell using the following command.

  15. Getting access to somebody else's Ansible Galaxy namespace | die-welt.net

    TL;DR: adding features after the fact is hard, normalizing names is hard, it's patched, carry on.

    I promise, the longer version is more interesting and fun to read!

    Recently, I was poking around Ansible Galaxy and almost accidentally got access to someone else's namespace. I was actually looking for something completely different, but accidental finds are the best ones!

  16. Fedora Magazine: Use Diffoscope in packager workflows

    In the role of a packager, updating packages is a recurring task. For some projects, a packager is involved in upstream maintenance, or well written release notes make it easy to figure out what changed between the releases. This isn’t always the case, for instance with some small project maintained by one or two people somewhere on github, and it can be useful to verify what exactly changed. Diffoscope can help determine the changes between package releases.

    Diffoscope is a “smart binary diff” tool that was born in the Reproducible Builds project in Debian, which is also available in Fedora. It “knows” about various types of text and binary formats, and will try to recursively unpack and compare two blobs. In particular it knows that some objects need to be decompressed before comparing, that archives need to be unpacked, and how to deconstruct binary objects like ELF programs and libraries, Java .jar files, Windows .cab files, etc.

  17. A Step-By-Step Guide to Installing Xubuntu 20.04 Linux

    Xubuntu is a popular lightweight Linux distribution that is based on Ubuntu. It ships with an Xfce desktop environment which is light, stable, and highly configurable.

    Being a lightweight distribution, Xubuntu is a perfect choice for users who are running modern PCs with low RAM and CPU resources. It also works quite well on older hardware.

More in Tux Machines

Review: UBports on the PinePhone

At the end of 2021 I posted a review about the PinePhone and what it was like running the device's default operating system: Manjaro Linux featuring the Plasma Mobile interface. While I've had decent experiences with Plasma Mobile in the past, the combination of Manjaro, the PinePhone, and this interface left a lot to be desired. It was slow, it was unstable, and there were issues with the battery charge indicator. To make matters worse, the default applications were not polished or well named. It was a rough experience and, though I can see where there is hope for Manjaro on the PinePhone, I was eager to try something different. In the past I have had mostly good experiences with the UBports distribution. UBports is a community project which has continued Canonical's Ubuntu Touch operating system for smart phones and tablets. Since I've run UBports on devices which didn't have any more memory or processing power than the PinePhone, I was optimistic about trying out the PinePhone with this alternative distribution. Read more

Switching from OpenNTPd to Chrony

A friend recently reminded me of the existence of chrony, a "versatile implementation of the Network Time Protocol (NTP)". Read more

today's howtos

  • How to Enable MySQL/MariaDB Query Logging

    In this short and easy to follow guide, we cover how to enable MySQL/MariaDB query logging and save queries to a file. When using a database, it often happens that developers want to know what’s going on behind the scene. Whether it is for troubleshooting, performance tuning, or out of sheer curiosity. General query logs remain one of the most popular sources of auditing and diagnostic information in MySQL/MariaDB databases. After logging is enabled, the database server will write information to the log file when clients connect or disconnect, and it will log each SQL statement.

  • How to install Zotero on Ubuntu 22.04 or 20.04 LTS - Linux Shout

    Zotero is a reference management system and academic network, here we learn the steps to install Zotero in Linux such as Ubuntu 22.04 Jammy JellyFish or Ubuntu 20.04 Focal Fossa. Zotero is an open-source and free tool that helps in collecting, organizing, citing, and sharing research. It consists of two components: Zotero standalone (Mac, Windows, Linux) with a plugin for Firefox, Google Chrome, and Safari; Zotero web application: computer-independent access to your library, finding and setting up groups on specific topics (see collaboration), making contacts with others. The two components of this tool can be synchronized with each other. If you are often involved in extensive projects at work or have to write a large-scale work during your studies, you quickly lose track of the sources used. With Zotero, you keep all information together and create a clear library for your project without much effort. It is particularly suitable for literature research on the Internet and the direct transfer of the researched data and works in groups that want to manage literature together.

  • How to Copy Directory in Linux: (Beginner to Advance)

    While working in several operating systems, we use to add files and folders, cut, copy, edit and delete them as per our choice. Just like all these, the Linux system provides us the opportunity to copy a single folder to another folder even though the folder is empty or not. Therefore, we will discuss some easy methods to copy one directory to another in Ubuntu 20.04 system. Let’s have a fresh start by using the different ways to copy a directory from one place to another in Linux. For this particular purpose, we must open up the terminal shell as we are going to do all things in it. There are two ways to open it. One is from the activity search area and the other is the shortcut key “Ctrl+Alt+T”. Practice one of the mentioned methods to open it and start implementing the commands in it one by one.

  • How to Change Default Torrent Client for Magnet Links in Ubuntu 20.04+ | UbuntuHandbook

    When clicking a magnet link in Chrome browser, it pops-up with “Open xdg-open” option allows to launch the default app to start the downloading. Unlike Firefox, Google Chrome does not offer an option to choose which app to handle the link. Instead, it launches the default app directly. For those want to change this default app to handle magnet links, here’s how to do the trick in Ubuntu.

  • How to install Microsoft Fonts on Elementary OS 6.0 - Invidious
  • How to install VCV Rack 2 on a Chromebook

    Today we are looking at how to install VCV Rack 2 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.

  • How to Install Papirus Icon Theme on Ubuntu - OMG! Ubuntu!

    Changing the icon theme on Ubuntu is an easy way to give your desktop a new look and feel. In this post we show you how to install Papirus icons on Ubuntu from a PPA. Why use the Papirus icon set? Because it’s good — in fact, it’s one of the best icon themes for Ubuntu not to mention other Linux distros like Linux Mint, Zorin OS, and Manjaro. Thousands of users use this set, and several Linux distributions ship it as their default.

  • Exploring GIT Commit Hashes & Generating Cryptographic Zeros – Jon's FOSS Blog

    So I was trying to research what goes into generating a GIT commit hash and I thought I would try to personalize the cryptographic hash output a little bit. My computer isn’t that powerful but it may be possible to generate more zeros!

Keyboards and Open-Source - Ignorance is bliss..

.

In my Keyboard Fun post from last year I talked a bit about my interest in mechanical keyboards. Since then, I played around with a few more keyboards/switches/keycaps/… Interesting enough, beside the actual hardware, naturally there is some software component to all these keyboards, too. Whereas most commercial keyboards still come with proprietary firmware, there is the trend within the keyboard enthusiast scene to go for open-source firmware. This allows you to properly update the firmware even from your Linux machine and do proper configuration of e.g. the keymap, too. Read more