Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
  • Junichi Uekawa: Memo on using a KVM switch with my Debian desktop and ChromeBox.

    Memo on using a KVM switch with my Debian desktop and ChromeBox. KVM these days mean Kernel virtualization things but before it used to mean KVM switch; where PS/2 and DSUB15 pin was a popular interface. These days it's USB + HDMI; USB-C with dP alt mode would make connections simpler including power supply, but that doesn't exist as much. This ends up 3 cables each for PC and display, with 2 USB cables and 1 HDMI cable per endpoint. I bought a cheap manual switcher.

  • How To Extract Icons from Ubuntu

    You may want to make use of icons or symbols which are bundled with Ubuntu but do not know how to get them. There are so many of them, for example, Firefox logo, even hardware symbols you can include in your designs or articles like you might saw often in Ubuntu Buzz. Then, this is where and how to extract them.

  • What To Do If your Passwords are Compromised?

    How if somebody tells you with proof he found out your passwords? You should immediately change your passwords with better ones then. Below I share with you my experience and several examples & suggestions you can do.


    For example, to create a password that is strong, we can press Password Generator button in KeePassXC and try to make our own password and program will automatically measure how secure your password is. Alternatively, simply believe password generator creating a new password and use it.

  • Installing the DNS server on Ubuntu - Linux Concept

    DNS, also known as name server, is a service on the Internet that provides mapping between IP addresses and domain names and vice versa. DNS maintains a database of names and related IP addresses. When an application queries with a domain name, DNS responds with a mapped IP address. Applications can also ask for a domain name by providing an IP address.

    DNS is quite a big topic, and an entire chapter can be written just on the DNS setup. This recipe assumes some basic understanding of the working of the DNS protocol. We will cover the installation of BIND, installation of DNS server application, configuration of BIND as a caching DNS, and setup of Primary Master and Secondary Master. We will also cover some best practices to secure your DNS server.

  • 3 Linux ps command tips/tricks for advanced users

    The ps command in Linux, as you might already know, is one of the most frequently used command-line tools. For the uninitiated, the utility basically reports a snapshot of the current processes on the system.

    The ps command provides a plethora of options, and as you might agree, it's not possible to know about or practice each and every feature that it offers. So, in this article, we will quickly discuss three ps-related tips/tricks that advanced users may find useful.

    Before we move ahead, it's worth mentioning that all the commands and instructions present in this tutorial have been tested on Ubuntu 20.04 LTS.

  • Install and configure squid proxy server on Ubuntu - Linux Concept

    In this article, we will install and configure the squid proxy and caching server. The term proxy is generally combined with two different terms: one is forward proxy and the other is reverse proxy.

    When we say proxy, it generally refers to forward proxy. A forward proxy acts as a gateway between a client’s browser and the Internet, requesting the content on behalf of the client. This protects intranet clients by exposing the proxy as the only requester. A proxy can also be used as a filtering agent, imposing organizational policies. As all Internet requests go through the proxy server, the proxy can cache the response and return cached content when a similar request is found, thus saving bandwidth and time.

    A reverse proxy is the exact opposite of a forward proxy. It protects internal servers from the outside world. A reverse proxy accepts requests from external clients and routes them to servers behind the proxy. External clients can see a single entity serving requests, but internally, it can be multiple servers working behind the proxy and sharing the load.

    In this article, we will discuss how to install a squid server. Squid is a well-known application in the forward proxy world and works well as a caching proxy. It supports HTTP, HTTPS, FTP, and other popular network protocols.

  • How to find ID of the display connected to your Linux system

    Mostly, we have only a single display connected to computer systems. However, you can have multiple displays connected to a system.

    While working with more than one display, sometimes you might find yourself in a situation where-in you need to perform a display-specific task. For example, taking a screenshot. In these scenarios, you need to know the ID of the display you want to perform the action on.

    In this tutorial, we will learn how you can find the ID corresponding to a particular display. Please note that all the commands and instructions mentioned in this article have been tested on Ubuntu 20.04 LTS.

  • How To Install Mahara on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install Mahara on Ubuntu 20.04 LTS. For those of you who didn’t know, Mahara is a free and open-source electronic portfolio management system written in PHP. Mahara is designed to provide users with the tools to create a personal and professional learning and development environment.

    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 Mahara on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.

  • How To Update Samsung SSD Firmware on Linux - nixCraft

    Typically, we apply firmware updates to fix a security issue and enhance SATA/PCIe/NVMe solid-state (SSD) drive performance. Failing to install available updates may lead to vulnerable SSD. This quick guide explains how to update Samsung SSD firmware on Linux without using Windows operating system.

    Linux comes with firmware update manager client utility called fwupdmgr. It makes updating firmware on Linux automatic, safe and reliable. The same command can update Samsung SSD. The fwupd service runs on Linux and BSD, which is part of LVFS. It allows firmware to update device firmware on the local machine. GNOME maintainer Richard Hughes develops it. LVFS is an acronym for The Linux Vendor Firmware Service, a secure portal for hardware vendors to upload firmware updates.

  • Install and configure NTP on Ubuntu - Linux Concept

    Network Time Protocol (NTP) is a TCP/IP protocol for synchronizing time over a network. Although Ubuntu has a built-in clock that is helpful for keeping track of local events, it may create issues when the server is connected over a network and provides time-critical services to the clients. This problem can be solved with the help of NTP time synchronization. NTP works by synchronizing time across all servers on the Internet.

    NTP uses hierarchies of servers with top-level servers synchronizing time with atomic clocks. This hierarchy levels are known as stratum, and the level can range between 1 and 15, both inclusive. The highest stratum level is 1 and is determined by the accuracy of the clock the server synchronizes with. If a server synchronizes with other NTP server with stratum level 3, then the stratum level for this server is automatically set to 4.

More in Tux Machines

Kernel: Graphics and Linux M1 Support

  • AMD + Valve Focusing On P-State / CPPC Driver With Schedutil For Better Linux Efficiency - Phoronix

    As reported at the start of August, AMD and Valve have been working on Linux CPU performance/frequency scaling improvements with the Steam Deck being one of the leading motivators. As speculated at that time, their work would likely revolve around use of ACPI CPPC found with Zen 2 CPUs and newer. Published last week was that AMD P-State driver for Linux systems indeed now leveraging CPPC information. AMD formally presented this new driver yesterday at XDC2021.

  • DRM Driver Posted For AI Processing Unit - Initially Focused On Mediatek SoCs - Phoronix

    BayLibre developer Alexandre Bailon has posted a "request for comments" of a new open-source Direct Rendering Manager (DRM) driver for AI Processing Unit (APU) functionality. Initially the driver is catering to Mediatek SoCs with an AI co-processor but this DRM "APU" driver could be adapted to other hardware too. Alexandre Bailon sums up this DRM AI Processing Unit driver as "a DRM driver that implements communication between the CPU and an APU. This uses VirtIO buffer to exchange messages. For the data, we allocate a GEM object and map it using IOMMU to make it available to the APU. The driver is relatively generic, and should work with any SoC implementing hardware accelerator for AI if they use support remoteproc and VirtIO."

  • Apple M1 USB Type-C Linux Support Code Sent Out For Testing - Phoronix

    he latest patches sent out for review/testing on the long mission for enabling Apple M1 support on Linux is the USB Type-C connectivity. Sven Peter has sent out the initial USB Type-C enablement work for the Apple ACE1/2 chips used by Apple M1 systems. In turn this Apple design is based on the TI TPS6598x IP but various differences. The Linux kernel support is being added onto the existing TIPD driver.

Proprietary Security Issues

Audiocasts/Videos: GNU World Order, Sioyek, LUTs

today's howtos

  • How to Install VirtualBox on Debian 11 (Bullseye)

    As we all know that VirtualBox is a free virtualization tool which allows us to install and run multiple virtual machines of different distributions at the same time. VirtualBox is generally used at desktop level where geeks used to create test environment inside the virtual machines. Recently Debian 11 (bullseye) is released with latest updates and improved features. In this post, we will cover how to install VirtualBox and its extension pack on Debian 11 system.

  • How To Install Opera Browser on Debian 11 - idroot

    In this tutorial, we will show you how to install Opera Browser on Debian 11. For those of you who didn’t know, Opera is one of the most popular cross-platform web browsers in the world. Opera offers many useful features such as free VPN, AdBlocker, integrated messengers, and private mode help you browse securely and smoothly. Share files instantly between your desktop and mobile browsers and experience web 3.0 with a free crypto wallet. 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 Opera Web Browser on a Debian 11 (Bullseye).

  • Get your Own URL Shortening Service With YOURLS and Raspberry PI

    Online URL shortening are services able to transform a long, hard to manage url into a shorter one, usually composed by a domain ana a short casual string (the most famous being Bitly, Adfly and Shortest). With YOURLS and Raspberry PI you can create your own, private shortening service In this tutorial, I’m going to show you how to install and configure YOURLS with a Raspberry PI computer board and publish it. Please note that this can’t be performed with a Raspberry PI Pico as it is a microncotroller and not a Linux computer. YOURLS stands for Your Own URL Shortener. It is an open source software, running on a LAMP server and using a small set of PHP scripts that allow you to run your own URL shortening service.

  • How to play Orcs Must Die! 2 on linux

    Create your own, self hosted url shortener service with YOURLS and Raspberry PI. Step-by-step guide to have it working in a very few time

  • Configure External RAID on Ubuntu/Centos/RedHat - Unixcop

    RAID: Stands For Redundant Array Of Independent Disks (Hardware Raid) or Redundant Array Of Inexpensive Disks (Software Raid) and that is technology that keeps data redundant to avoid data loss if any disk falls or is corrupted .

  • Don’t like Visual Studio Code? Try these 5 Alternatives Apps - [Ed: Some of the 'alternatives' are also Microsoft and also proprietary software. Rather awful list...]

    When it comes to programming, we are going to need a plain text editor that allows us to easily modify files or take notes. One of the most complete and professional tools is Visual Studio Code. Although this Microsoft program is not indicated for users with little experience, so, if it is our case, surely we want to know what the best alternatives are. Anyone can download Virtual Studio Code, since it is completely free, but without a doubt, it has been designed to be used by programmers. In this field we find many other good options for professional work, especially if we are interested in knowing anything about a program developed by Microsoft.

  • How to Access BBSes in Linux Using Telnet

    In the '80s and early '90s, the most popular way to get online in the US was through Bulletin Board Systems or BBSes. While they're nowhere near as numerous as they were during their mid-90s heyday, there are still hobbyists operating these systems scattered around the world. And you can access them from Linux, without a dial-up modem.

  • How to solve the undefined variable/index/offset PHP error - Anto ./ Online

    This guide will you how to solve the notice undefined variable, index, or offset error that you are experiencing in PHP. This error is easy to spot in the warning and error message logs. Consequently, you will typically see a descriptive error message like this...