Language Selection

English French German Italian Portuguese Spanish

HowTos

today's howtos

Filed under
HowTos
  • How to install Signal Private Messenger on Linux | FOSS Linux

    Are you looking for an open-source messenger that respects your privacy? Here's how to install Signal Messenger on your Linux PC. We show the installation on popular Linux distros such as Ubuntu, Fedora, and Manjaro.

  • UBlock Origin and custom filters - Mini tutorial

    Several months ago, I wrote a review of UBlock Origin. It's a powerful, nerdy browser extension, available across the wider range of browsers out there, with the sacred purpose of making the Internet palatable for intelligent use. It does so by being a sophisticated adblocker and content blocker.

    Since, I've received requests for additional tutorials - and also found myself tackling a few real-world issues with somewhat overzealous content blocking. For example, on Bing images, if I clicked on an image, they would show up for a second, flicker and then disappear. Not consistently - but always with UBlock Origin active. So I used this opportunity to write a little guide on how to create custom filters. Let's have a look.

  • Scribus 1.5.6.1 Available to Install via PPA in Ubuntu 20.04, 20.10 | UbuntuHandbook

    For those prefer installing applications via apt method, the desktop publishing software Scribus 1.5.6 is finally made into PPA available for Ubuntu 20.04, Ubuntu 20.10, and Linux Mint 20.

    Scribus 1.5.6 was released a few months ago as the latest development release for the next major version 1.6.0. It feature

  • apt-key Is Deprecated. How To Add OpenPGP Repository Signing Keys Without It On Debian, Ubuntu, Linux Mint, Pop!_OS, Etc.

    This article explains how to securely add OpenPGP keys and third-party APT repositories on Debian, Ubuntu, and Linux distributions based on these, like Linux Mint, Pop!_OS, Elementary OS and so on, to replace the deprecated apt-key.

    When you try to add an APT repository key using apt-key on Debian, Ubuntu and Linux distributions based on these, you'll see the following message: "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))".

    The apt-key man page mentions that the "use of apt-key is deprecated, except for the use of apt-key del in maintainer scripts to remove existing keys from the main keyring". What's more, "apt-key will last be available in Debian 11 and Ubuntu 22.04."

  • How to count lines of source code in Linux

    For various reasons you may want to know in how many lines of code given open-source software is implemented. For example, you want to estimate the effort devoted to developing a particular open-source program. Or you want to gauge the size and complexity of a program before trying it. There is some controversy as to using source lines of code (SLOC) as a metric to determine the size of a software program, since existing programming languages differ greatly in terms of clarify and brevity.

    In any rate, if you would like to count the number of source code lines quickly and accurately, you can use a command-line tool called cloc (short for "Count Lines Of Code"). cloc is a Perl program that is dedicated to counting the number of lines of code. To estimate the size of codebase accurately, cloc automatically detects different types of programming/scripting languages, and discounts comment lines and blank lines based on the type appropriately.

  • How to List Directory Contents on Linux - buildVirtual

    When working with the Linux file system, its important to know some of the different ways you can list directory contents on Linux.

    This article will look at some of the commands you can use to list directory contents, which will work on whichever version of Linux you are using. These commands will also work to list directory contents on VMware ESXi.

    It will cover how to do a basic directory listing, how to list specific information such as file size and permissions, and how to sort and filter the directory list output.

    Let’s start by looking at the basic usage of the ls command, before moving onto some more advanced examples of how you can use ls to list directories and their contents.

today's howtos

Filed under
HowTos
  • Install Inkscape 1.0.2 In Ubuntu / LinuxMint / Debian | Tips On UNIX

    Inkscape is a free and open-source professional vector graphics editor software that runs on Linux, Mac OS X, and Windows desktop computers.

    It is suitable for illustrators and web designers and it is an alternative to Adobe Illustrator. It supports many SVG features (markers, alpha blending, clones, etc..) and easy to use.

  • How to enable PowerTools on CentOS 8

    The PowerTools repository, which is available on CentOS/RHEL 8, provides developer related tools and libraries. Some EPEL packages depend on packages available from PowerTools. Thus if you have set up the EPEL repository on your CentOS, it is recommended that you enable PowerTools as well.

  • Install gscan2pdf 2.11.0 in Ubuntu / Linux Mmint

    gscan2pdf a GUI tool used to produce PDF’s or DjVus from Scanned documents,gscan2pdf works on all Linux / BSD machines

    gscan2pdf team released a newer version 2.11.0 recently and yet to be updated in official Jeffrey Ratcliffe PPA for Ubuntu 20.04 and lower versions.

    This tutorial will be helpful for beginners to install gscan2pdf 2.11.0 in Ubuntu 20.10, Ubuntu 20.04, Linux Mint 20.1, and lower versions of Ubuntu and Linux Mint.

  • How to set up WireGuard VPN server on Ubuntu 20.04

    Traditionally, VPN implementation has existed in two forms. In-kernel VPN implementation such as IPsec performs heavy-duty per-packet crypto processing in the kernel in a "bump-in-the-stack" fashion (i.e., between IP stack and the network drivers). This gives speed as there is no context switch between kernel and userspace during packet processing. But it comes with high management complexity in separate userspace control plane (e.g., IKE). An alternative form of VPN implementation is userspace TUN/TAP-based solutions such as OpenVPN, Tinc, n2n, where crypto processing is performed by a userspace VPN daemon. Naturally, these TUN/TAP-based VPN solutions have poor performance compared to IPsec mainly because network packets traverse the kernel and userspace boundary multiple times, resulting in frequent context switches and packet copies. Despite their performance disadvantage, userspace VPN solutions enjoy more popularty than the in-kernel counterpart due to their ease of use and configuration.

  • How to create a lifecycle policy for an S3 Bucket on AWS

    We can use the Lifecycle Policy to manage the objects in S3 Bucket so that they are stored cost-effectively throughout. An S3 Lifecycle Policy is a set of rules used to define actions that Amazon S3 applies to objects in the bucket.

  • How to change the hostname on Ubuntu 20.04 LTS

    In a Local Area Network (LAN) environment, computer systems need to communicate with each other based on their IP addresses. To learn and remember these IP addresses and sharing them when needed is a tricky business. In order to avoid such trouble, users tend to rename their system’s hostname for their own ease. The simpler hostnames will allow all computer users to coordinate easily without an exchange of large IP addresses. This whole scenario is quite related to the URLs and DNS server address, where the user is totally unaware of long addresses and simply use the URLs in their search engine.

    In this tutorial, I will show you two methods to change the hostname of an Ubuntu 20.04 system via the command line terminal and GUI. Users can opt either way to update the names and share them once they have finalized them.

  • How To Delete Outdated Vagrant Boxes In Linux - OSTechNix

    You might have downloaded several versions of Vagrant boxes and some of them might be pretty outdated! If they are no longer required, you can safely delete outdated Vagrant boxes in Linux as described in this brief guide.

    Check for outdated Vagrant boxes

    I have been using Vagrant for the past few months for testing purposes. Since Vagrant version 1.5, boxes support versioning. The Box Versioning allows the developers who make boxes to push updates or fixes and the users to easily update the underlying box.

  • LHB Digest #21.02: Uptime Monitoring, Terminal Shortcuts, Linux Commands Tips and More
  • How To Install Java on Linux Mint 20 - idroot

    In this tutorial, we will show you how to install Java on Linux Mint 20. For those of you who didn’t know, Java is a very popular language when it comes to programming. It is a common language for android development and other enterprise solutions. It was first released by Sun Microsystems in 1995. Many programs and scripts require Java to run it, but usually, Java is not installed by default on a VPS or Dedicated Server.

  • building a simple KVM switch for 30€ | die-welt.net

    Prompted by tweets from Lesley and Dave, I thought about KVM switches again and came up with a rather cheap solution to my individual situation (YMMY, as usual).

    As I've written last year, my desk has one monitor, keyboard and mouse and two computers. Since writing that post I got a new (bigger) monitor, but also an USB switch again (a DIGITUS USB 3.0 Sharing Switch) - this time one that doesn't freak out my dock \o/

    However, having to switch the used computer in two places (USB and monitor) is rather inconvenient, but also getting an KVM switch that can do 4K@60Hz was out of question.

    Luckily, hackers gonna hack, everything, and not only receipt printers. There is a tool called ddcutil that can talk to your monitor and change various settings. And udev can execute commands when (USB) devices connect… You see where this is going?

  • An introduction to hashing and checksums in Linux | Enable Sysadmin

    Always wondered how to make use of a checksum? This introduction shows you what they mean, and how to use the proper tools to verify the integrity of a file.

  • How to remove background microphone noise in Windows, Mac, Linux

    Noisetorch is an open-source Linux application that allows you to create a virtual microphone that suppresses background noise. To filter out background noise in an application, simply select the virtual microphone instead of your regular microphone, and the application will filter out background noise.

  • Craig Small: Percent CPU for processes

    The ps program gives a snapshot of the processes running on your Unix-like system. On most Linux installations, this will be the ps program from the procps project.

    While you can get a lot of information from the tool, a lot of the fields need further explanation or can give “wrong” or confusing information; or putting it another way, they provide the right information that looks wrong.

    One of these confusing fields is the %CPU or pcpu field. You can see this as the third field with the ps aux command. You only really need the u option to see it, but ps aux is a pretty common invokation.

today's howtos

Filed under
HowTos
  • Easily rename your Git default branch from master to main

    You might say, "I'm all for not using master in master-slave technical relationships, but this is clearly an instance of master-copy, not master-slave."

  • How to get IP Address in Linux using Command terminal - Linux Shout

    To connect some local running server application via browser, access FTP server, and many other times we require to know our system Ip address. Thus, if you are running some Linux operating system then here is the way to check out your current IP Address using the command terminal.

  • How To Use NMAP

    Nmap (or Nmapper) is a free and open-source network scanner used for analysis, security audits, and network exploration. You use it to discover hosts and services on a computer network by sending packets and analyzing the responses all in an easy-to-use manner. Let us take a look at how to use Nmap.

  • How to get the best Arch Linux servers to update your system | Arcolinux.com

    You may have seen me struggle with the Arch Linux servers in one of my videos.

    Time to dive into the application reflector. Read all about it on your own computer.

    Type reflector –help in the terminal and read more.

    Servers speed and service all depend on your own network, your isp, your country’s policy (port blocking) and the servers around you.

    As a result we have now several aliases to get the best servers out there.

  • How to Install Terraform on Ubuntu 20.04

    Terraform is an infrastructure as a code platform developed by HashiCorp. You can simply write code in the human-readable format following HashiCorp Configuration Language (HCL) and deploy it to get the infrastructure in the cloud. Terraform is supported in many cloud providers like Google, Amazon, Alibaba, etc.

    Here in this article, we are going to install the latest version of terraform on Ubuntu. We are performing terraform installation on Ubuntu 20.04 however you can do the same procedure on all Linux platforms.

    Also, learn how to use terraform with simple example by launch an ec2 instance and create s3 bucket.

  • Operator integration testing for Operator Lifecycle Manager - Red Hat Developer

    Operators are one of the ways to package, deploy, and manage application distribution on Red Hat OpenShift. After a developer creates an Operator, the next step is to get the Operator published on OperatorHub.io. Doing this allows users to install and deploy the Operator in their OpenShift clusters. The Operator is installed, updated, and the management lifecycle is handled by the Operator Lifecycle Manager (OLM).

  • Deploy your own Matrix server on Fedora CoreOS - Fedora Magazine

    Today it is very common for open source projects to distribute their software via container images. But how can these containers be run securely in production? This article explains how to deploy a Matrix server on Fedora CoreOS.

  • Set up a minimal server on a Raspberry Pi | Opensource.com

    Recently, the microSD (secure digital) card in my Raspberry Pi stopped working. It had been in constant use as a server for almost two years, and this provided a good opportunity to start fresh and correct a few problems. After its initial installation, it began experiencing disk problems and the official Raspberry Pi operating system (OS) received a significant update (and was renamed from Raspbian to Raspberry Pi OS). So I acquired a new microSD card and preceded to rebuild.

    Although this Raspberry Pi 3 Model B isn't the latest hardware, it is still adequate for running a minimal server for various services. I think my original installation used the full operating system image that includes the graphical user interface and a lot of other software packages unnecessary for my needs.

    This step-by-step guide shows how I set up my Raspberry Pi with the most minimal configuration to conserve precious system resources.

today's howtos

Filed under
HowTos
  • How to kill all user sessions on Linux using shell script

    There are multiple ways to automate the system administrator task on Linux.

    It drastically reduces human efforts and saves reasonable time.

    shell script is one of the methods to automate frequent jobs.

    For a scenario, you want to run a weekly job or EOD job to populate some data for reporting purposes.

    To do so, you need to kill all ssh sessions that are currently accessing the application on the system before beginning the job.

  • How to install GSnap in Audacity on a Chromebook - VST Plugins

    Today we are looking at how to install GSnap, a free VST plugin, in Audacity 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.

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

  • How to Install GitLab on Debian 10 (Buster)

    GitLab is a free and opensource front-end Git repository that features a Wiki and an issue tracking feature. It allows you to host Git repositories on your own server and setup DevOps platform. In this guide, we are going to install GitLab CE (Community Edition) on Debian 10 (Buster) system.

  • Unix Tutorial - Annual Digest - 2020

    Wow, 2020 just flew by! With one lockdown after another, most of the year was spent working from home and checking local government websites for guidance around when schools and after-schools would re-open.

    I didn’t blog as much as I hoped but stayed sane and otherwise productive - so can’t complain much about 2020.

today's howtos

Filed under
HowTos
  • How to install ShellCheck on FreeBSD to analysis scripts - nixCraft

    ShellCheck is easy to use, free, and open-source static analysis tool that automatically finds bugs in your shell scripts. If you write shell scripts for automation or containers, you need this tool. Let us see how to install and use ShellCheck on the FreeBSD development Unix server.The post How to install ShellCheck on FreeBSD to analysis scripts appeared first on nixCraft.

  • How to Install and Configure Squid Proxy on Linux System

    Squid proxy server is an open-source proxy server for Linux distributions. You can install the Squid proxy server on your network to pass all your bandwidth through the proxy server. Now, you may ask why you would use the Squid proxy server? Here is the answer, the Squid allows you to connect your computers without an active internet connection through the proxy server.

    You can also enable the DNS cache, web cache, memory cache, and other internet caching to faster load the web pages. You can see that the Squid proxy server can enable caching, increase your server’s efficiency, improve the network performance, reduce bandwidth usages, and make your server secure.

  • Save a copy of all debian packages in the form in which they are installed and configured on your system
  • Install Kubernetes Dashboard

    Dashboard is a web-based Kubernetes user interface.

  • Pulling changes from GitHub to Git - The Linux Juggernaut [Ed: Careful not to conflate Microsoft proprietary software with Git, which is Free software. Git is not GitHub.]

    In our previous article, we demonstrated how we would push our git repositories from our local system out to GitHub. In this article, we will demonstrate how we would actually make changes in a file within a repository on GitHub and then pull the changes/updates to our local machine.

  • Fixing git/github merge conflicts - The Linux Juggernaut

    In our previous article on the git version control system, we explained how we could modify our files in repositories in our GitHub account and then pull the changes from GitHub to the git repositories on our local system and keep the files in synchronization. Now, what if we modified the same piece of information in a file on GitHub as well as within our local git repository? In this article, we will demonstrate how we would proceed if we modified the same information in a file on GitHub as well as locally within our git repository.

  • How To Install Ubuntu Mate On The Raspberry PI 400

    In this guide I will show you how to install Ubuntu Mate on the Raspberry PI 400.

    [...]

    Raspberry PI Imager is available for Windows, MacOS, Ubuntu and Raspberry PI OS.

    If you are using Windows open Windows Explorer and double click on the downloaded file (called something like imager_n where n is the verson number).

    When the installer pops up click “Install” and then click “Finish”. Raspberry PI Imager should start automatically but if it doesn’t you can find it by clicking on the Windows start menu and searching for “Imager”.

    If you are using Ubuntu, the downloaded file can be found in the “Downloads” folder. Open the file manager and click on the downloaded Raspberry PI imager file and you will be able to install the application as you would any other .deb file.

  • List of Commands to get Linux system info using terminal - Linux Shout

    In Linux, we can use the command terminal to check various system hardware configurations and information such as CPU, Memory, hard disk, etc., and here are those to use…

    Although there are tools that can display Linux system info graphically, however, here we are going to use the inbuilt commands.

    The question of how a system is equipped and how it performs in harsh everyday life is not only of theoretical interest. Lot’s of time to solve a problem we need to know hardware and its utilization to remove some bottleneck. Thus, if you are new to Linux systems or running any cloud server where you want to know about the system load, the network interface, and type of processor and chipset, or what hardware is actually in the system? Then here some top commands to follow…

  • How to Install and Use Yarn on Ubuntu 20.04 - LinuxBuz

    Yarn is an open-source dependency manager for javascript developed by Facebook. It is an alternative to the popular npm package manager. Yarn provides an easier way to automate the process of installing, updating, configuring, and removing packages from the system. Yarn is faster because it caches every package it downloads. So you don't need to download it again.

  • How to Install Cockpit in Debian 10 – Linux Hint

    Cockpit is an open-source and free remote server management software that is sponsored by Red Hat. This software has a simple, web-based interface for managing the administrative tasks of a Linux-based server through a web browser. Cockpit can run on several Linux-based operating distributions, including Ubuntu, Debian, Fedora, CentOS, and more.

    Cockpit gives you a real-time report of the CPU, RAM, and disk utilization of your system. Using this application, you can perform server tasks management remotely, such as creating user accounts, configuring the network, managing services, monitoring the system, managing the firewall, configuring OpenVPN, and more. Cockpit supports the Openshift cluster and Kubernetes. You can also measure your system performance and update your system using the Cockpit tool.

  • How to Check Version and Update Fedora Linux Kernel – Linux Hint

    For any operating system, the kernel is at the core. Linux is the kernel, rather than the entire operating system, of any Linux distribution. The kernel is responsible for interacting between the hardware of the computer and the software.

    The Linux kernel is regularly updated to offer the best possible experience. This guide shows you how to check the version and update the kernel of Fedora.

  • How to Run Google Chrome OS from a USB Drive – Linux Hint

    Google Chrome OS is based on the open-source Chromium OS. It is a browser-based operating system. You will only have the Google Chrome web browser installed on it. You can install Chrome web apps or extensions from the Chrome Web Store and add more functionality to the operating system.
    Sadly, the Google Chrome OS is not publicly available for download, and only the source code of Chromium OS is publicly available. So, you can’t run the Google Chrome OS or Chromium OS directly on your computer.

    Luckily, a few Chromium OS-based operating systems are available that you can download and install on your computer. The most popular one is Neverware’s CloudReady OS.

    This article will show you how to make a Live bootable USB thumb drive of Neverware’s CloudReady OS and run it from the USB thumb drive. So, let’s get started.

Postgresql service failed because the control process exited with an error code

Filed under
HowTos

PostgreSQL is a free and open-source, community-driven, standard-compliant, and most popular object-relational database management system. It is used by popular IT companies like Uber, Netflix, Instagram, Spotify, etc.

Recently I installed PostgreSQL and getting an error while running daemon. This is mainly because PostgreSQL not getting sufficient permission to create the folder required to store database information.

Read more

today's howtos

Filed under
HowTos
  • How to install Balena Etcher on Manjaro Linux? - Linux Shout

    Balena Etcher is an open-source software to quickly create a bootable USB drive using ISO and raw images of the various Linux flavours including Windows 10/8/7 and others. Its interface is very straightforward, after the installation the user just needs to Select ISO or raw image than a USB drive which he wants to create bootable and simply Flash it.

    There are two ways to install Balena Etcher on Manjaro, one is using the AUR package repository and build Etcher from its source package and the second is to directly download the App image from the official website. I will show both.

  • GNU Linux Debian and others – how to view play RTSP (surveillance and webcam and other cams) streams with mplayer

    if the user wants to know who or what is lurking behind the house… the user needs to view live streams of surveillance cams on GNU Linux.

  • How to Find and Replace Text in Chrome and Firefox

    A browser, as its name implies, is meant for browsing the Web. It is not meant to be used as a text editor. That’s why you seldom find text-editing features like “Find and Replace Text” in the browser. However, there are times where you are writing your blog post, typing a comment, composing emails or moderating forums, and find yourself wanting to replace a couple of words that appear multiple times throughout. This is where a “Find and Replace Text” function is useful.

  • How to run a Linux distribution in a container

    The page that you are reading now is very much developer-perspective, looking at how a different Linux distribution can be converted to run in a container in EasyOS.
    So far, I have only done this with various Puppy Linux derivatives, as the 'dir2sfs' conversion script is aware of certain Puppy features. However, in theory, any Linux distribution can be converted.
    The case study for this page is for 64-bit EasyOS running on the Raspberry Pi4, and to convert RasPup to run in a container. At the time of writing, EasyOS is not yet released for the Pi4, but is expected to be soon -- monitor my blog.

  • Code to check if a module is used in python code
  • How to install Master PDF Editor on Ubuntu 20.04 LTS - Linux Shout

    Master PDF Editor is a freemium solution available for Linux, Windows, and macOS systems. Here we will see the steps to install it on Ubuntu 20.04 LTS.

    One of the popular PDF editors that is Adobe Acrobat is not available for Linux systems, thus in such a case Master PDF editor in both free and premium version could be a good option. It comes with various features such as Edit PDF text, images; create new PDFs, Encrypts, and/or protect PDF files using 128-bit encryption, convert XPS files into PDF, and more… However, the free edition is limited in features and allow only the creation of new PDF documents, Fill PDF forms, add and/or edit bookmarks in PDF files; comment and annotate PDF documents;
    Split and merge PDF documents.

  • How to Check and print PHP version installed On Linux / Unix Server

    How do I find out PHP version under Linux operating systems? What command do I need to type to show the PHP version under Unix-like systems?

today's howtos

Filed under
HowTos
  • Wildcards in Linux explained with 10 examples | FOSS Linux

    Wildcards, a.k.a. meta characters, are a godsend when it comes to searching for particular filenames from a heap of similarly named files. For example, by using Wildcards in Linux, you can use the ls command, rm command, or any other Linux command for that matter, on multiple files as long as they match the defined criteria.

  • Set Raspberry PI Swap Memory - peppe8o

    Beside CPU, RAM is the most valuable resource in every computer. It is where data are stored for running programs and it is one the most important resource for applications managing a big amount of data. Raspberry PI Swap Memory, like other linux systems, can reduce small RAM impact avoiding Out of Memory errors

  • Install and Configure a Multi-Master HA Kubernetes Cluster with kubeadm, HAProxy and Keepalived on CentOS 7

    The kubeadm tool is great if you need a simple way to deploy Kubernetes, and integrate it into provisioning systems such as Ansible. I use Ansible a lot nowadays, but before I got to the point of automating my Kubernetes homelab, I had to do it by hand. You can’t automate what you don’t understand.

    As we will be deploying three Kubernetes control plane nodes, we need to deploy a kube-apiserver load balancer in front of them. The load balancer distributes traffic to all healthy control plane nodes in its target list. HAProxy is my homelab load balancer of choice, and we will configure it with Keepalived to provide node redundancy. If one of the HAProxy servers becomes unavailable, the other one will serve traffic.

    We will use three KVM hosts to deploy resources. The goal is to sustain data and maintain service in the event of a loss of a (single) hypervisor host.

  • How to Find a Directory in Linux

    Looking for a specific directory in your Linux file system? Fortunately, you have many search tools at your disposal. We'll look at several easy-to-use options, and how to use them to search for folders efficiently.

  • How to Install and Use Terraform on Ubuntu 20.04 - LinuxBuz

    Terraform is an open-source software tool created by Hashicorp. It is used to automate and manage your infrastructure, your platform and services that run on that platform. It uses a declarative language that means you don't have to define every step of how this automation and management is done. With Terraform, you can create a VPS, AWS users and permissions, spin up servers and install the application on servers.

  • Transition from Thunderbird to Mutt

    I was going OK with Thunderbird and enigmail(though it have many problems). Normally I go through changelogs before updating packages and rarely do a complete upgrage of my machine. Couple of days ago I did a complete upgrade of system which updated my Thunderbird to latest version and throwing of enigmail plugin for using their native openPGP support. There is a blog from Mozilla which I should’ve read earlier. Thunderbird’s builtin openPGP functionality is still in experimental, atleast not ready for my workflow. I could’ve downgrade to version 68. But I chose to move to my secondary MUA, mutt. I was using mutt for emails and newsletters that I check twice in a year a so.

    So I started configuring mutt to handle my big mailboxes. It took three evenings to configure mutt to my workflow. Though the basic setup can be done in less than an hour it is the small nitpicks consumed much of my time. Currently I have isync to pull and keep mails offline. Mutt to read, msmtp to send, abook as the email address book and urlview to see the links in mail. I am still learning notmuch and virtual mailbox ways to filter.

  • Setting up Tomcat 9.0.41 && mariadb-server 10.5 on Debian Bullseye/sid

    Setup Tomcat via original tar.gz ball and JDK 11 allow to deploy "war" archive been built for Web Servlet Application from http://lxer.com/module/newswire/view/295844/index.html . Thus CRUD Server side Java Apps might be moved on Debian Bullseye/sid in 3-5 minutes .

today's howtos

Filed under
HowTos
  • My ISP Is Killing My Idle SSH Sessions. Yours Might Be Too.

    We found the culprit! The connection tested after waiting slightly more than 60 minutes didn’t work, meaning they dropped the connection from their NAT table. 1 hour is too short time for them to wait – they should wait at least 2 hours and 4 minutes. I documented my findings, and sent an email to my ISP. I quickly got a response back acknowledging that this is a bug on their side, and thanking me for my research. They still haven’t fixed the problem though.

    The tcp-keepalive-test gave the same result, but strangely enough the tcp-recv-test reported all connections as working. I assume this is because I pay my ISP to have a static public IPv4 mapped to my CGN address. But then why did the server’s keepalive packages get dropped in the SSH example? I speculate that my ISP drops those because they don’t refer to a valid TCP session anymore.

    Actually they shouldn’t track my connections at all – they should just forward all packages, and only translate the source or destination IP. But that’s a problem for another day.

  • Converting from CentOS Linux 8 to CentOS Stream - YouTube
  • How to Install V Lang on Ubuntu 20.04 - Cloudbooklet

    How to Install V Lang on Ubuntu 20.04. V is a simple language to build maintainable programs. You can learn V language within 1 hour using the documentation. It is similar to Go language and improved upon some things like no null, no global state, no undefined values and many more.

    In this guide you are going to learn how to install V language on Ubuntu 20.04. This installation is tested on Google Cloud platform. So these steps will work well on other cloud hosting or VPS or dedicated servers running Ubuntu or Debian.

  • How to upgrade Alpine Linux 3.12 to 3.13

    Alpine Linux version 3.13 has been released. Here is how to upgrade Alpine Linux from 3.11/3.12 to the latest stable version, 3.13 using CLI.

  • How to find if a website using gzip / deflate compression using curl on Linux and Unix
  • OpenSUSE install Brotli module for Nginx

    How do I install or add Brotli compression support to Nginx on OpenSUSE Linux to speed up my webpages and apps?

    Brotli is a free and open-source generic-purpose lossless compression algorithm that compresses data using various methods. It is similar in speed to deflate or gzip but offers more dense compression for Apache or Nginx web server.

    Nginx does not support Brotli, but we can install a module developed by Google called ngx_brotli to add support to Nginx. This page explains how to add or install Brotli support to Nginx on an OpenSUSE Linux server 15.2 to speed up webpages.

  • How To List Disk Partitions In Linux - OSTechNix

    In this brief guide, we will see all the possible ways to find and list disk partitions in Linux and Unix-like operating systems. Before getting into the topic, let us take a quick look at what is disk partitioning and how disk partitions are named in Linux.

  • How to browse the internet using Debian Terminal

    Today, we are going to talk about text-based web browsers. But you might be wondering that what’s the need for a text-based browser in today’s graphical age. There might be several reasons for it. one reason might be because some people are more Terminal savvy and they want to perform everything from their command line. Another reason might be the slow internet connection and annoying advertisements of GUI browser. So text-based browsers are the best tool that can help them enjoy a faster browser experience without any distractions.

  • How to Setup and use Google Drive on Ubuntu 20.04 - Linux Shout

    Unlike Windows on Ubuntu’s latest versions such as 20.04 LTS, we don’t need to install any extra software to connect and use Google Drive account. Everything there and we just need to login to Ubuntu using a Google account.

    One of the popular public cloud services to store data is Google Drives because of free 15 GB storage. Most of the time to use that we visit Google Drive’s website to upload and download files, however, you can save your time by access G – Drive storage directly on your machine like any other network drive. However, there is no official client from Google for Linux systems, well, still we can use it using the default GNOME Online Accounts feature available on Ubuntu and other Linux systems.

today's howtos

Filed under
HowTos
  • How to Install and Use Xrdp Server (Remote Desktop) on Linux System

    The Xrdp server is the RDP tool (Microsoft Remote Desktop Protocol) for Linux distributions. You can install it on your Linux system to connect your server or desktop over the internet. The Xrdp server allows you to use the multi-channel connection through a graphical user interface (GUI). Besides these, the Xrdp server also allows you to connect and restart sessions if your connection gets lost. If you are a network engineer or a Linux system administrator, you can install the Xrdp server on your Linux system and access your server or desktop from anywhere over the internet.

    [...]

    If you are using a Linux server; probably, you might need to get a desktop environment installed on your system to use the Xrdp server on your machine. You can use either the Gnome DE or the Xfce desktop environment on your Linux server. Here, I am using a Gnome desktop environment on my Ubuntu machine.

    However, run the following command-lines given below to install your desired desktop environment on your server.

  • Petter Reinholdtsen: Latest Jami back in Debian Testing, and scriptable using dbus

    After a lot of hard work by its maintainer Alexandre Viau and others, the decentralized communication platform Jami (earlier known as Ring), managed to get its latest version into Debian Testing. Several of its dependencies has caused build and propagation problems, which all seem to be solved now.

    In addition to the fact that Jami is decentralized, similar to how bittorrent is decentralized, I first of all like how it is not connected to external IDs like phone numbers. This allow me to set up computers to send me notifications using Jami without having to find get a phone number for each computer. Automatic notification via Jami is also made trivial thanks to the provided client side API (as a DBus service). Here is my bourne shell script demonstrating how to let any system send a message to any Jami address. It will create a new identity before sending the message, if no Jami identity exist already...

  • PSI and Cgroup2

    In the comments on my post about Load Average Monitoring [1] an anonymous person recommended that I investigate PSI. As an aside, why do I get so many great comments anonymously? Don’t people want to get credit for having good ideas and learning about new technology before others?

    PSI is the Pressure Stall Information subsystem for Linux that is included in kernels 4.20 and above, if you want to use it in Debian then you need a kernel from Testing or Unstable (Bullseye has kernel 4.19). The place to start reading about PSI is the main Facebook page about it, it was originally developed at Facebook [2].

    I am a little confused by the actual numbers I get out of PSI, while for the load average I can often see where they come from (EG have 2 processes each taking 100% of a core and the load average will be about 2) it’s difficult to work out where the PSI numbers come from. For my own use I decided to treat them as unscaled numbers that just indicate problems, higher number is worse and not worry too much about what the number really means.

  • How to Create a New Virtual Machine using VMware
  • How To Install phpMyAdmin on Linux Mint 20 - idroot

    In this tutorial, we will show you how to install phpMyAdmin on Linux Mint 20. For those of you who didn’t know, phpMyAdmin is a web interface based database management tool for MySQL. Using phpMyAdmin users can interact with MySQL easily. phpMyAdmin provides the most useful functions to interact with the MySQL database.

    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 phpMyAdmin on a Linux Mint 20 (Ulyana).

  • How to install Garuda KDE Dr460nized 210107 - YouTube

    In this video, I am going to show how to install Garuda KDE Dr460nized 210107.

  • How to check NetworkManager version on Ubuntu

    NetworkManager is a standard network configuration daemon for Linux, whose primary goal is to keep network connectivity active at all time. Unlike stationary server environment, typical Linux laptop/desktop can connect to the network via more than one physical (wired/wireless) or virtual (VPN, VLAN, VxLAN) network interfaces, and can switch from one interface to another dynamically, depending on locations and user preferences. That is when NetworkManager really makes your life easy by enabling automatic connection setup and migration.

  • How to Install Discourse Forum with Docker on CentOS 8

    Discourse is a free and open-source platform built for the next decade of the Internet. It is a modern forum software that can be used as a mailing list, discussion forum, long-form chat room, and more. It uses Ruby on Rails for the backend, Ember.js for the front end, PostgreSQL as a data store, and Redis as a caching server. It is simple, efficient, mobile-friendly, customizable, and makes online discussion easy and fun.

  • How to Install ELK stack on Ubuntu 20.04

    The ELK stack is an acronym of three popular open-source projects: Elasticsearch, Logstash, and Kibana. It is an open-source and one of the most popular log management platform that collects, processes,sem

    and visualizes data from multiple data sources. It is mainly used for log analysis in IT environments. It is very helpful for a system administrator to search and analyze a large volume of data to make real-time decisions-all the time.

    Elasticsearch: It is a search engine used to store all of the collected data.
    Kibana: It provides a web-based interface used to search and visualize your data.
    Logstash: It is a data processing interface used to collect data from several sources concurrently then sends the data to your desired stash.

  • Running Bash Commands in the Background the Right Way

    There’s nothing more annoying than running a command in your terminal and having it run for minutes, sometimes hours, and not be able to use your terminal again. Sure, you can use tabs, but that’s a clunky solution, and it’s not always optimal because you may want to see updates as you’re working. Here we show you a few different ways to run bash commands in the background in Linux.

  • Install Wine 6.0 In Ubuntu 20.04 & Linux Mint | Tips On UNIX

    WineHQ is open-source and capable of installing Windows applications on Linux, BSD, and macOS.

    The wine team released a new Stable version 6.0 and this release represents a year of development effort and over 8,300 individual changes and it contains a larger number of improvements.

    This tutorial will be helpful for beginners to install wine 6.0 in Ubuntu 20.04, Ubuntu 20.10, and LinuxMint 20.1.

  • Time lapse video from Raspberry PI camera - peppe8o

    One of most common Raspberry PI accessories is the Raspberry PI Camera. Beside common usages (like videoconferencing), RPI gives a lot of advanced functions. One of most intrigating is getting a time lapse video from Raspberry PI camera

    In this tutorial I’m going to show you how to create a time lapse video with a Raspberry PI board and Camera. We’ll use Raspicam commands to get images and ffmpeg library to create new time-lapse video.

    Before digging in technical commands, a breaf introduction in what time lapse video is.

  • How to Create and Manage Archive Files in Linux - Linux.com

    In a nutshell, an archive is a single file that contains a collection of other files and/or directories. Archive files are typically used for a transfer (locally or over the internet) or make a backup copy of a collection of files and directories which allow you to work with only one file (if compressed, it has a lower size than the sum of all files within it) instead of many. Likewise, archives are used for software application packaging. This single file can be easily compressed for ease of transfer while the files in the archive retain the structure and permissions of the original files.

  • How to Use Crontab to Automate Repetitive Tasks in Linux

    Take advantage of the crontab Linux command to automate various mundane and repetitive tasks, simplifying your life. This excellent and easy to use tool, combined with some scripting, can not only automate all sorts of tasks, but also help avoid simple human errors or forgetfulness.

  • How To Install DokuWiki on CentOS Stream 8 with Apache and PHP 8

    In this tutorial, we’re going to show you how to install and configure DokuWiki on CentOS Stream 8 with the Apache webserver and the (currently) latest PHP 8.0.

    DokuWiki is a popular open-source wiki software that you can extend and customize with lots of plugins and themes. It doesn’t use a database, it’s lightweight, and DokuWiki has great syntax.

Syndicate content

More in Tux Machines

today's leftovers

  • Meetup Will Discuss Survey Results, Project Improvements

    The openSUSE Project welcomes our followers to participate in two planned meetups to discuss results from the End of the Year Community Survey on Jan. 23 and Jan. 30. Both sessions will start at 13:00 UTC on openSUSE’s Jitsi instance and go for 1:30 hours. Members of the “let’s improve the openSUSE learning experience” initiative will share results and analysis from the survey.

  • LF‌ ‌Edge‌ ‌Adds‌ ‌New‌ ‌Members‌

    LF Edge has announced the addition of four new general members (FII, HCL, OpenNebula, and Robin.io) and one new Associate member (Shanghai Open Source Information Technology Association). Additionally, Home Edge has released its third platform update with new Data Storage and Mult-NAT Edge Device Communications (MNDEC) features.

  • Text Encoding Menu in 2021

    In mid-January 2021, the Text Encoding menu in Firefox looks like this: Automatic Unicode Western Arabic (Windows) Arabic (ISO) Baltic (Windows) Baltic (ISO) Central European (Windows) Central European (ISO) Chinese, Simplified Chinese, Traditional Cyrillic (Windows) Cyrillic (KOI8-U) Cyrillic (KOI8-R) Cyrillic (ISO) Cyrillic (DOS) Greek (Windows) Greek (ISO) Hebrew, Visual Hebrew Japanese Korean Thai Turkish Vietnamese [...] For users who have telemetry enabled, we collect data about whether the item “Automatic” was used at least once in given Firefox subsession, whether an item other than “Automatic” was used at least once in a given Firefox subsession, and a characterization of how the encoding that is being overridden was determined (from HTTP, from meta, from chardetng running without the user triggering it, from chardetng as triggered by the user by having chosen “Automatic” previously, etc.). If things go well, the telemetry can be analyzed when Firefox 87 is released (i.e. when 86 has spent its time on the release channel). The current expectation for this is 2021-03-23.

  • Wikipedia is twenty. It’s time to start covering it better. - Columbia Journalism Review
  • Jimmy Wales: “Wikipedia is from a different era”

    As the online encyclopedia turns 20-years-old, its founder reflects on the internet’s halcyon days.

  • Fact check: As Wikipedia turns 20, how credible is it?

    Wikipedia, which has been referred to as a world treasure, turns 20 on Friday. According to research conducted over the years — including a scientific study published by the journal Nature in 2005 and a report commissioned by the site's Wikimedia Foundation in 2012 — Wikipedia's entries are comparable in quality to those in prestigious encyclopedias such as Britannica. However, it is difficult to measure the consistency of information that can be altered at any time.

  • Odin is finally pleased so the open-world survival game Valheim releases on February 2 | GamingOnLinux

    Odin has finally had enough sacrifices and shall be releasing Valheim from Iron Gate AB will enter Early Access with Linux and Windows support on February 2. What is it? A brutal multiplayer exploration and survival game set in a procedurally-generated purgatory inspired by viking culture. Battle, build, and conquer your way to a saga worthy of Odin’s patronage! With low-poly artwork and a very flexible building system it looks absolutely brilliant. The early builds they had available were seriously promising back in 2018 so I'm personally excited to see how far they've progress with it in that time.

Programming Leftovers

  • Ravgeet Dhillon: Offline Toast notification in Nuxt/Vue app

    We have often seen apps telling us that “You are offline. Check your network status.”. It is not only convenient to do so but adds to a great UX. In this blog, we will look at how can we display a toast notification in a Nuxt/Vue app whenever the user goes offline or online. This will also help us to understand how to use computed and watch properties together. [...] Hurray! Our toast notifications are working perfectly fine. So using the combined magic of computed and watch properties, we can create outstanding workflows and take our Nuxt/Vue app to next level. If you any doubts or appreciation for our team, let us know in the comments below. We would be happy to assist you.

  • Stephen Michael Kellat: Leveraging LaTeX In This Time

    From time to time I like to bring up fun adventures in LaTeX. In these stranges times in the United States it is important to look at somewhat practical applications beyond the normal reports and formal papers most people think of. With a Minimum Working Example we can mostly look at an idea. The Comprehensive TeX Archive Network has a package known as newspaper which is effectively subject to nominative determinism. You can make things with it that look like newspapers out of the 1940s-1960s in terms of layout. The page on CTAN shows nice examples of its use and provides a nice story as to why the package was created. The example source file on CTAN has a bug in it, though. We're going to make a new one based on it. I am also going to add but not yet utilize the markdown package to the example.

  • 2021.03 Course Topped – Rakudo Weekly News

    The course of the Raku Programming Language by Andrew Shitov made it to the top 20 of Hacker News and spurred quite a few comments. The first associated Grant Report was also published.

  • GCC 11 Is On The Final Stage Of Development With 60+ High Priority Regressions - Phoronix

    GCC 11 entered its final stage of development today as it works towards releasing around the end of Q1 / early Q2 if their past cadence holds up. Before GCC 11.1 can debut as the first stable version, there are some 60+ "P1" high priority regressions that need to be resolved or otherwise demoted to lesser priority regressions. GCC 11 release manager Richard Biener this morning announced GCC 11 is now in stage four development meaning only regression fixes and documentation fixes are allowed. As of this morning the code-base is at 62 P1 regressions, another 334 P2 regressions, 35 P3 regressions, and more than 200 regressions of the lower P4/P5 status.

Devices: Xtra-PC, Arduino and Inventor Coding Kit

  • Xtra-PC Reviews – Best Linux USB-Stick? - Product Review by Rick Finn

    The Xtra-PC Linux USB-Stick might be your solution if you have problems with your old and slow PC. It's a small flash drive stick and it's using Linux OS to boost you PC's operations. Check out now.

  • Arduino Blog » Old keyboard turned into a new children’s learning toy

    Peter Turczak’s toddler son loves “technical stuff,” especially things like keyboards and computers that adults use. After discussing this with other likeminded technical parents, the idea of giving new life to an old (PS/2 or AT) keyboard as a teaching tool was hatched.

  • SiFive Helping To Teach Kids Programming With RISC-V HiFive Inventor Coding Kit

    SiFive in cooperation with Tynker and BBC Learning have launched a Doctor Who themed HiFive Inventor Coding Kit. This Initial HiFive Inventor Coding Kit is intended to help kids as young as seven years of age get involved with computer programming through a variety of fun exercises and challenges involving the RISC-V powered mini computer and related peripherals like LED lighting and speaker control. [...] So for those looking to get their kids involved with computer programming and looking for an IoT-type device with some fun sensors and various themed exercises to get them experimenting, the HiFive Inventor Coding Kit is worth looking into further. More details on the programming platform can be found via Tynker.com and on the hardware at HiFiveInventor.com. The HiFive Inventor Kit is available from Amazon.com and other Internet retailers for $75 USD.

Security Leftovers

  • Security updates for Monday

    Security updates have been issued by Arch Linux (atftp, coturn, gitlab, mdbook, mediawiki, nodejs, nodejs-lts-dubnium, nodejs-lts-erbium, nodejs-lts-fermium, nvidia-utils, opensmtpd, php, python-cairosvg, python-pillow, thunderbird, vivaldi, and wavpack), CentOS (firefox and thunderbird), Debian (chromium and snapd), Fedora (chromium, flatpak, glibc, kernel, kernel-headers, nodejs, php, and python-cairosvg), Mageia (bind, caribou, chromium-browser-stable, dom4j, edk2, opensc, p11-kit, policycoreutils, python-lxml, resteasy, sudo, synergy, and unzip), openSUSE (ceph, crmsh, dovecot23, hawk2, kernel, nodejs10, open-iscsi, openldap2, php7, python-jupyter_notebook, slurm_18_08, tcmu-runner, thunderbird, tomcat, viewvc, and vlc), Oracle (dotnet3.1 and thunderbird), Red Hat (postgresql:10, postgresql:12, postgresql:9.6, and xstream), SUSE (ImageMagick, openldap2, slurm, and tcmu-runner), and Ubuntu (icoutils).

  • About CVE-2020-27348

    Well this is a doozey. Made public a while back was a security vulnerability in many Snap Packages and the Snapcraft tool used to create them. Specifically, this is the vulnerability identified as CVE-2020-27348. It unfortunately affects many many snap packages… [...] The problem arises when the LD_LIBRARY_PATH includes an empty element in its list. When the Dynamic Linker sees an empty element it will look in the current working directory of the process. So if we construct our search paths with an accidental empty element the application inside our Snap Package could be caused to load a shared library from outside the Snap Package’s shipped files. This can lead to an arbitrary code execution. It has been common to put a definition of the LD_LIBRARY_PATH variable into a Snap Package’s snapcraft.yaml that references a predefined $LD_LIBRARY_PATH as if to extend it. Unfortunately, despite this being common, it was poorly understood that SnapD ensures that the $LD_LIBRARY_PATH is unset when starting a Snap Package’s applications. What that means is that where the author tried to extend the variable they have inadvertantly inserted the bad empty element. The empty element appears because $LD_LIBRARY_PATH is unset so the shell will expand it to an empty string.

  • Wait, What? Kids Found A Security Flaw in Linux Mint By Mashing Keys!

    Security flaws can be incredibly stupid and dangerous. Of course, I’m not judging anyone, we are humans after all. But this little incident is quite funny.