Language Selection

English French German Italian Portuguese Spanish

HowTos

today's howtos

Filed under
HowTos
  • How to Boot Raspberry Pi 4 from USB SSD? – Linux Hint

    Raspberry Pi 4 firmware supports USB boot. You can easily boot your favorite operating system on your Raspberry Pi 4 from a USB HDD, SSD, or a USB thumb drive instead of the traditional microSD card.

    [...]

    In this section, I am going to show you how to enable USB boot on Raspberry Pi 4.

    Before you can enable USB boot on your Raspberry Pi 4, you must update all the existing packages of your Raspberry Pi OS. So that we can update the firmware and enable USB boot.

  • Monitoring Temperature in Raspberry Pi – Linux Hint

    Monitoring temperatures may be a requirement in many of your Raspberry Pi projects. It is relatively easy to do in Raspberry Pi and the components required for this project are not too costly.This article shows you how to use the DS18B20 digital thermometer module to monitor temperature using Raspberry Pi. The article also demonstrates how to create a web app to display the temperature.

  • Raspberry PI VPN Server with PiVPN - peppe8o

    Raspberry PI can provide a number of linux services able to easily solve problems to manage your home network with cheap solutions. Using an OS based on Debian, it can run Open Source software and drastically help you with your home ICT needs as well as small office needs.

    A common need for increasing networking security and access your home services from outside is having a VPN (Virtual Private Network) server which grants secure access from an external network to your internal services.

    A simple solution to implement OpenVPN or WireGuard (the 2 most widely known VPN open source serices) is using the convenient PiVPN setup tool.

    In this tutorial I’m going to show you how to setup a VPN server with a cheap Raspberry PI Zero Wusing PiVPN and send certificate via email. This guide applies also to newer Raspberry PI boards.

  • Understanding YAML for Ansible | Enable Sysadmin

    If you write or use Ansible playbooks, then you're used to reading YAML configuration files. YAML can be deceptively simple and yet strangely overwhelming all at once, especially when you consider the endless possible Ansible modules at your disposal. It feels like it should be easy to jot down a few options in a YAML file and then run Ansible, but what options does your favorite module require? And why are some key-value pairs while others are lists?

    YAML for Ansible can get complex, so understanding how Ansible modules translate to YAML is an important part of getting better at both. Before you can understand how YAML works for Ansible modules, you must understand the basics of YAML.

    If you don't know the difference between a mapping block and a sequence block in YAML, read this quick introduction to the basics of YAML article.

  • Using TRIM and DISCARD with SSDs attached to RAID controllers | Enable Sysadmin

    SSDs are now commonplace and have been the default choice for performance-oriented disks in the enterprise and consumer environments for the past few years. SSDs are cool and fast but most people on high-end machines face this dilemma: My SSD is behind a RAID controller which doesn't expose the device's DISCARD or TRIM capabilities. How do I discard the blocks to keep the best SSD performance? Here's a trick to do just that without having to disassemble your machine. Recent improvements in SSD firmware have made the need for the applications writing to SSDs less stringent to use DISCARD/TRIM.

    There are, however, some cases in which you may need to have the filesystem inform the drive of the blocks which it discarded. Perhaps you have TLC (3bits per cell) or QLC (4bits per cell) drives instead of the usually more expensive enterprise-class SLC or MLC drives (the latter are less susceptible to a performance drop since they put aside more extra blocks to help with overwrites when the drive is at capacity). Or maybe you once filled your SSD to 100%, and now you cannot get the original performance/IOPS back.

  • How to play Among Us on Linux

    Among Us is incredibly popular, but, sadly, the game does not have a native port for Linux. Thankfully, with a little tweaking, it is possible to get Among Us working on the Linux platform!

  • How to add file folders to the XFCE4 menu

    XFCE4 is an excellent Linux desktop environment, but one of its shortcomings is that users aren’t able to access folders directly from the menu like other modern desktops such as Gnome, KDE, Cinnamon, etc.

  • How To Install Apache JMeter on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install Apache JMeter on Ubuntu 20.04 LTS. For those of you who didn’t know, The Apache JMeter application is open-source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

    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 Apache JMeter 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.

today's howtos

Filed under
HowTos

  • Introduction to Blender for Beginners – Linux Hint

    If you are a 3D computer graphics or animation enthusiast and are in search of some 3D modeling software, then you have come to the right place. There are many 3D modeling software programs available, many are good and are doing their jobs quite well, but they all come with a hefty price tag and high subscription fees. There is no need to pay heavy subscription fees when you have a free and powerful 3D creation tool at your fingertips, known as a Blender. Blender is a popular and open-source 3D creation software that can be used in 3D printer designs. It is a robust program that supports the entire pipeline of 3D creation, which includes modeling, shading, rigging, animation, and rendering. There is no need to get any supplementary programs because Blender lets you make games and edit videos.

    Blender is quite easy to learn and has a great community to support you. This article introduces the basics of the Blender software to beginners. We will discuss the Blender user interface and some essential shortcut keys. If you are a beginner and want to start 3D modeling in Blender, then this article is for you.

  • How To Install Wireguard on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install Wireguard on Ubuntu 20.04 LTS. For those of you who didn’t know, Wireguard is an open-source, dependable, advanced, VPN tunneling software you can install and use right now to create a secure, point-to-point connection to a server. It is cross-platform and can run almost anywhere, including Linux, Windows, Android, and macOS. Wireguard is a peer-to-peer VPN. it does not use the client-server model. Depending on its configuration, a peer can act as a traditional server or client.

    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 Wireguard 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 Use Dockerfiles In Docker - Anto Online

    This post will explain how to use Dockerfiles in Docker. Learn how to launch Wordpress and MariaDB using your own Dockerfile.

  • How To Install Wine on Linux Mint 20 - idroot

    In this tutorial we will show you how to install Wine on Linux Mint 20, as well as some extra required package by Wine

  • How to Extract and Open a .gz File in Linux Command Line – Linux Hint

    We know that a file in a computer system can be as small as a few Bytes or as large as a thousand Gigabytes. When you want to transmit a file from one end to another, its size plays a very important role in deciding whether you want to send it as it is or compress it. The .gz file format is a very commonly used compressed file format for the Linux operating system. Today, we will explore the methods of extracting and opening a .gz file in Linux.

  • How to Install and Configure an FTP server (vsftpd) with SSL/TLS on Ubuntu 20.04

    In this tutorial, we will learn how to install and configure an FTP Server using vsftpd on an Ubuntu 20.04 based server. We will also learn how to sec...

  • How to Reset Forgotten Root Password in Ubuntu? – Linux Hint

    In any UNIX or Linux system, the root account is the top in the hierarchy. It holds the utmost power over the system. For any system change, the root has to grant permission. The root user can also override any user’s permission and read or write data. Because the root account holds so much power, it is important to protect it from unwanted access.In the case of Ubuntu, the root account is disabled by default. However, you can still perform system changes. To do so, you need to know the root password. The problem arises when you have forgotten the root password.

today's howtos

Filed under
HowTos
  • OpenVPN as default gateway on OpenBSD

    If you plan to use an OpenVPN tunnel to reach your default gateway, which would make the tun interface in the egress group, and use tun0 in your pf.conf which is loaded before OpenVPN starts?

    Here are the few tips I use to solve the problems.

  • How to Setup a Firewall with UFW on Ubuntu 20.04 - Linux Concept

    Nowadays, a Firewall is an essential utility and property of any system for security; by default Ubuntu Operating system having a firewall configuration tool named UFW (Uncomplicated Firewall). UFW is a user-friendly front-end tool to manage iptables firewall rules. It provides you more straightforward methods to manage iptables as the name of this tool start from Uncomplicated.

  • Install Ubuntu on a USB Hard Drive | Pen Drive Linux

    How to Install Ubuntu on a USB hard drive using live media. Believe it or not, creating a completely Portable Ubuntu Installation on USB is a relatively simple process. As a matter of fact, it's almost as simple as a regular Ubuntu internal hard drive installation. Due to popular demand, we have decided to write a simple tutorial on the full Ubuntu USB hard drive installation procedure. So go grab an available external USB hard drive and a nice cold beverage and lets get started.

  • Best Tools to Create a Bootable Linux USB Drive

    Unlike Windows, Linux distributions require a third-party tool to create a bootable USB. It is particularly handy with modern PCs which have done away with the old DVD-drives. Also, installation DVDs were quite delicate and would scratch or in worst-case scenarios, break apart under stress. This guide covers some of the best tools that you can use to create a bootable Linux USB drive.

  • 5 new sudo features you need to know in 2020 | Opensource.com

    When you want to perform an action on a POSIX system, one of the safest ways to do so is to use the sudo command. Unlike logging in as the root user and performing what could be a dangerous action, sudo grants any user designated as a "sudoer" by the sysadmin temporary permission to perform a normally restricted activity.

    This system has helped keep Linux, Unix, and macOS systems safe from silly mistakes and malicious attacks for decades, and it is the default administrative mechanism on all major Linux distributions today.

today's howtos

Filed under
HowTos
  • How to install CentOS 8 workstation

    CentOS is a rock-solid, reliable Linux distribution similar to Debian, but with RPMs and RedHat technology rather than DEB and Debian tech. It’s used a lot on servers, but did you know that you can also use it as a desktop Linux distribution?

  • Adding a USB Datastore and Creating a VM on ESXi on Arm -- Virtualization Review

    I downloaded the Ubuntu 20.04 LTS iso and used SCP to copy it over to the USB drive on my ESXi server. I also used the host client to create a 3 vCPU, 2GB RAM VM on it.

    I started the VM, opened a console to it, and installed Ubuntu by using the defaults. This took longer than it did on my x86 servers, but it did get created nevertheless, and I was able to use the console and SSH to access it.

  • How to install Minecraft on Deepin 20 - YouTube
  • TCP Analysis with Wireshark | Linux Journal

    Transmission Control is an essential aspect of network activity and governs the behavior of many services we take for granted. When sending your emails or just browsing the web you are relying on TCP to send and receive your packets in a reliable fashion. Thanks to two DARPA scientists, Vinton Cerf and Bob Kahn who developed TCP/IP in 1970, we have a specific set of rules that define how we communicate over a network. When Vinton and Bob first conceptualized TCP/IP, they set up a basic network topology and a device that can interface between two other hosts.

today's howtos

Filed under
HowTos
  • Do You Need a Boot Partition in Linux? - Make Tech Easier

    If you fire up a partitioning tool and point it at your hard disk drive, it’s quite probable you will see a small boot partition before everything else. It may only eat up a tiny fraction of your hard disk drive and not appear when actively using the computer. Is that partition essential? Can you delete it? Read on to find the answers to whether you need a dedicated boot partition on your Linux installation.

  • How To Install SQLite on Ubuntu 20.04 LTS - idroot

    In this tutorial we will show you how to install SQLite on Ubuntu 20.04 LTS, as well as some extra required package by SQLite

  • How to Quickly Set Up a Mail Server on Ubuntu 20.04 with Modoboa

    Quickly set up your own email server on Ubuntu 20.04 with Modoboa, which is a free and open-source mail hosting and management platform designed to work with Postfix SMTP server and Dovecot IMAP/POP3 server.

  • How to install the Kubernetes dashboard > Tux-Techie

    The Kubernetes dashboard provides a way to manage your Kubernetes cluster from your browser. You can easily check CPU usage, memory usage, and overall health of your cluster with the dashboard. You can also deploy applications from the dashboard and much more. In this tutorial, we will show you how to install the Kubernetes dashboard on a cluster running in Ubuntu 20.04. We will also set up an admin account and log in to the dashboard with a token. Check out this article to learn how to set up a Kubernetes cluster.

  • Beginner's guide to NGINX SSL CONFIGURATION - The Linux GURUS

    Security is one of the main concerns that needs to be addressed on priority for all applications or websites. All websites are required to have a valid SSL certificate installed in order to encrypt the data packets/traffic between users & websites. Even web browsers show a warning when we visit a website that does not have SSL certificate installed.

    In this tutorial, we will discuss how we can perform Nginx SSL configuration to configure a SSL certificate to secure our websites hosted on Nginx. So start the complete process for Nginx SSL configuration but let’s discuss the prerequisites first.

  • Pandora Client Pithos 1.5.1 Released [Ubuntu PPA] | UbuntuHandbook

    Pithos, native Pandora Radio client for Linux, released version 1.5.1 a day ago with minor bug-fixes and improvements.

    [...]

    If you’re OK with the containerized flatpak package. Pithos 1.5.1 has been made into flathub.org for most Linux systems.

    For those prefer .deb package, the unofficial PPA is available for Ubuntu 18.04, Ubuntu 20.04, Linux Mint 20, Ubuntu 20.10.

today's howtos

Filed under
HowTos
  • How to Install and Setup Zsh in Ubuntu 20.04

    This article is about installing and configuring ZSH on Ubuntu 20.04. This step applies to all Ubuntu-based distributions. ZSH stands for Z Shell which is a shell program for Unix-like operating systems. ZSH is an extended version of Bourne Shell which incorporates some features of BASH, KSH, TSH.

  • Using Microsoft SQL Server on Red Hat OpenShift [Ed: Red Hat boosting Microsoft's proprietary software]
  • How To Install SSH Server on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install SSH Server on Ubuntu 20.04 LTS. For those of you who didn’t know, OpenSSH (OpenBSD Secure Shell) is a connectivity tool that enables remote login via the SSH protocol, hence eliminating eavesdropping, connection hijacking, and other attacks. It helps to secure all network communications by encrypting all network traffic over multiple authentication methods through a secured tunnel.

    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 SSH Server 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 Upgrade Linux Kernel On Various Distributions [Tutorial]

    A kernel is the core of any operating system. Before you start calling Linux an operating system, you need to know the basic concept and Linux’s birth history. Linux is not an operating system; mainly, Linux is a kernel. Now, Let’s get to know about what a Kernel is! A kernel is a program that interacts between your hardware and software. When you insert any flash drive into your system, the Kernel detects that you have plugged in a pen drive. As Linux is an open-source kernel, you can update, upgrade and replace the Linux kernel if you know what you’re doing.

  • How to Clear Terminal Screen in Ubuntu and Other Linux

    When you are working in the terminal, often you’ll find that your terminal screen is filled up with too many commands and their outputs.

    You may want to clear the terminal to declutter the screen and focus on the next task you are going to perform. Clearing the Linux terminal screen helps a lot, trust me.

    Clear Linux terminal with clear command

    So, how do you clear terminal in Linux? The simplest and the most common way is to use the clear command:

    clear

    You need no option with the clear command. It’s that simple but there are some additional things you need to know about it.

  • How to Install Oh My Zsh in Ubuntu 20.04

    When working with Unix-based environments our majority of time will be spent on working in a terminal. A good looking terminal will make us feel good and improves our productivity. This is where OH-MY-ZSH comes into play.

    OH-MY-ZSH is an open-source framework for managing ZSH configuration and is community-driven. It comes bundled with tons of helpful functions, plugins, helpers, themes, and a few things that will make you better at the terminal. There are currently 275+ plugins and 150 themes supported.

  • How to Install and Use Siege Benchmarking Tool on Ubuntu 20.04

    Siege is an open-source multi-threaded load testing and benchmarking tool for Linux. You can perform a stress test using a single URL with a specific number of users or you can put all URLs in files and. stress them simultaneously. It also allows you to test a web server with n number of users t number of times. Siege offers three modes of operation: Regression, internet simulation, and brute force.

  • How to add/remove PPA repositories in Debian

    Linux users install the majority of the programs from their centralized official repository listed in the sources.list file. However, if the program is not listed in the repository list, you can install it via its PPA (personal package archive). These are unofficial repositories that Launchpad made available to users. Launchpad is a collaboration platform developed by Canonical that allows developers to upload their source package on it. Launchpad then makes those packages available for users to install the application from.

    In this article, we will explain how you can use the Debian command line and GUI to manage PPA repositories in your system. We will explain in detail how to add, view, and remove a PPA repository.
    Please note that we have used Debian 10 for running the commands and procedures discussed in this article. However, the same commands and procedures can also be followed in other versions of Debian.

  • Getting started with systemctl | Enable Sysadmin

    How about a brief but thorough introduction to mastering systemctl? Enable yourself to use it today.

today's howtos

Filed under
HowTos
  • How do I Install an Entire Ubuntu on a USB Flash Drive? – Linux Hint

    Among all the Linux distros out there, Ubuntu is one of the most well-known and popular ones. Maintained by Canonical, Ubuntu is a Debian-based distro with tons of additional features. It’s a distro that can meet the needs of all sorts of workloads, be it casual or professional.
    Linux is an operating system that can run on almost any hardware. Thanks to its lower hardware resource requirement (depends on the distro, but on average, still lower), you can run it on even the most potato computer you can find in your attic.

    In this guide, let me demonstrate to you just that. Of course, it’s not something crazy, but really fun.

    Check out how to install an entire Ubuntu system on a USB flash drive.

  • What is MongoDB? How Does MongoDB Work?

    MongoDB is an open-source, modern, general-purpose, document-based distributed database management system developed, distributed, and supported by MongoDB Inc.

  • OpenStack Cluster Installer: the Debian way to deploy OpenStack
  • How to speed up Blender rendering – Linux Hint

    Blender, which was first launched in 1995 by Ton Roosendaal, a developer from the Netherlands, is a powerful 3D creation tool used to create 3D graphics, interactive 3D apps, video games, virtual reality videos, and animations. It has been available as an open-source software since 2002, and it runs on popular operating systems like macOS, Linux, and Windows. Blender has many features, and it can be used for 3D modeling, texturing, shading, rigging, particle simulation, sculpting, motion graphics, and compositing.

    Blender is easy to learn, and it has the support of a huge community. Blender is a very robust application, and its modeling, sculpting, and viewport navigation functions are smooth. However, for scenes with many 3D assets, glossy shaders, high-definition textures, particles, and volumetric lights, a significant amount of time is required for rendering. However, the time required for rendering can be reduced by employing the proper renderer settings. In this article, we will discuss methods for reducing the rendering time in Blender, and the effects of these methods on the final result.

    Rendering a scene in Blender is different than rendering an image in a photo editor or a video from a video editor. There are many factors to consider before rendering in Blender to avoid wasting time. For example, Blender (version 2.8) comes with two rendering engines: Eevee and Cycles. Eevee is much faster than Cycles, and it has lower time and resource requirements; however, while Eevee is a real-time viewport port renderer, Cycles is a ray-tracing rendering engine that achieves better results. A rendering engine can be selected based on personal preference, but professional designers tend to prefer Cycles due to its accuracy and realism, despite its higher time requirements.

  • How to Use the SAR Command in Linux: A Full Tutorial for Beginners – Linux Hint

    If you are a system administrator, then you probably perform many tasks related to monitoring, logging, and auditing. For such tasks to be completed successfully, all system activities must be recorded. Luckily, the Linux operating system provides the system activity reporter (SAR) command. The SAR command, which is used to track the activities performed in a computer system, is very useful to understand because it can facilitate various tasks related to system administration. This tutorial provides an in-depth look into Linux’s SAR command for beginners, beginning with the installation process. Please note that, for this tutorial, we use Linux Mint 20.

  • How to Copy a Folder in Linux? – Linux Hint

    The files and folders are commonly used in any operating system. At times, your folder contains some crucial data, and you prefer to keep several backup copies. The first solution that comes to our mind is to copy that folder somewhere else. Therefore, in this article, our target is to figure out all the methods of copying a folder in Linux, i.e., both the CLI-based methods and the GUI-based methods.
    Note: For explaining the different methods of copying a folder in Linux, we have made use of Linux Mint 20.

  • Configure Ansible and Run ad-hoc Commands

    In the first part of the Ansible series, you got acquainted with Ansible and learned to install it.

    In this tutorial, you will learn how to manage static inventory in Ansible. You will also understand various Ansible configuration settings.

    Furthermore, you will explore few Ansible modules and you will get to run Ansible Ad-Hoc commands.

today's howtos

Filed under
HowTos
  • How to Set Up WireGuard VPN on Ubuntu 20.04 | Linuxize

    WireGuard is a modern VPN (Virtual Private Network) technology that utilizes state-of-the-art cryptography. Compared to other popular VPN solutions, such as IPsec and OpenVPN , WireGuard is faster, easier to configure, and has a smaller footprint. It is cross-platform and can run almost anywhere, including Linux, Windows, Android, and macOS.

    Wireguard is a peer-to-peer VPN; it does not use the client-server model. Depending on its configuration, a peer can act as a traditional server or client. It works by creating a network interface on each peer device tha

  • [Older] How to use zip on Linux

    Compressed files with the .zip extension are commonplace throughout Windows systems, as it's been the native file compression method for the operating system since many years ago. On a Linux system, the nearest equivalent would have to be tar files and various methods of compression like gzip.

  • How to uninstall MySQL on Ubuntu 20.04

    You would like to remove MySQL database from your Ubuntu system ? In this short tutorial, you will learn how to safely uninstall MySQL .

    Make sure however to create backups of your databases before starting the procedure.

today's howtos

Filed under
HowTos
  • How to improve your bash/sh shell script with ShellCheck lint script analysis tool
  • How to install Minecraft on Deepin 20 - YouTube
  • openssl Generate Self Signed SSL Certifcate

    openssl req -newkey rsa:2048 -nodes -keyout /etc/ssl/private/myblog.key -x509 -days 365 -out /etc/ssl/private/myblog.pem - (openssl Generate Self Signed SSL Certifcate generating self signed ssl certificate to use in dovecot postfix nginx Self signed certificates can be used for private encryptions between server and client and must be manually accepted on browser/ client). The best command line collection on the internet, submit yours and save your favorites.

  • How to Add a Simple Progress Bar in Shell Script | Linux Journal

    At times, we need to write shell scripts that are interactive and user executing them need to monitor the progress. For such requirements, we can implement a simple progress bar that gives an idea about how much task has been completed by the script or how much the script has executed.

    To implement it, we only need to use the “echo” command with the following options and a backslash-escaped character.

  • How to install Steam on Deepin 20

    Firstly, we will enable 32-bit architecture on our device. Then we will update the system repositories. After that, we will install required 32bit packages. Lastly, with the last three commands, we will download and install Steam. Enjoy!

  • FISH | Friendly Interactive SHell on openSUSE – CubicleNate's Techpad

    BASH has been good to me and I have enjoyed my time with BASH very much. I have learned so much about the inner workings of Linux through the terminal and BASH has been there my whole experience. “Tab” completion has been a marvelous gift to the terminal user experience. I have never had a complaint about BASH and therefore never looked elsewhere.

    On the episode of BDL from 17 Oct 2020, I was told to try FISH as it would change my terminal life. I didn’t really believe it but proceeded to install it anyway. I also wasn’t ready to commit to it so I modified a profile in Konsole to use Fish instead of Bash. Typing in one solitary command and I was sold.

  • How to install Sublime Text editor on a Chromebook

    Today we are looking at how to install Sublime Text editor 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.

today's howtos

Filed under
HowTos
  • How to Fix Broken Packages in Linux - Make Tech Easier

    Linux package managers, like Apt and DNF, are extremely powerful and intuitive, but that doesn’t mean things can’t go wrong. Occasionally, a package install goes wrong, and you’re left to pick up the pieces. Package managers have the ability to fix broken packages and skip broken updates to get your system working again and avoid troubles in the future. This article covers how to fix broken packages in Linux.

    These tips and tricks should help you get unstuck in most instances. They’re all fairly universal, but every situation is different, so keep that in mind when trying to debug your own situation.

  • How to hide snap packages from lsblk on Linux

    Snap packages are an excellent Linux technology that the community is embracing, as it offers a lot of features and benefits. However, sometimes Snap packages can cloud out your command-line output when the lsblk command runs in the terminal, and it can be incredibly annoying.

  • How to run the sudo command without a password

    The sudo command is an excellent part of the Linux command-line. It allows users to execute root commands without needing to log into root, protecting their security. The problem is, to use the sudo command, you’ll need to enter your password.

  • How to Install RainLoop on Ubuntu 20.04 - RoseHosting

    RainLoop Webmail is a simple, modern, and fast web-based email client. Written in PHP, RainLoop provides an easy way to check your emails using your web browser. It comes with full support of both IMAP and SMTP protocols (SSL, STARTTLS), sieve scripts support, integration with Facebook, Google, Twitter, and Dropbox, a multi-level caching system, plugin support, keyboard shortcut support, and many other additional features.

    The installation is very simple. If you follow our instructions carefully, you can finish the RainLoop Webmail installation in less than 10 minutes. Let’s get started.

  • How to Install TYPO3 CMS with Let's Encrypt SSL on Ubuntu 20.04

    TYPO3 is a free and open-source content management system written in PHP. It is an enterprise-class CMS that combines open source code with reliability and true scalability. It runs on a web server and supports a lot of operating systems including, Windows, Linux, macOS, etc. It is a simple, responsive, mobile ready and secure CMS and can be easily customized and extended without writing any code. It is a very popular and great choice for getting your website up and running quickly.

    In this tutorial, we will show you how to install TYPO3 CMS with Apache web server and Let's Encrypt SSL on Ubuntu 20.04.

  • How To Install MailSpring on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install MailSpring on Ubuntu 20.04 LTS. For those of you who didn’t know, Mailspring is a free desktop email client, available for Windows, Mac OS, and Linux. Mailspring with modern features like unified inbox, snoozing, reminders, templates, offline search, and support for Gmail labels. It is free and supports all IMAP providers, including Gmail, Office 365, and iCloud. It also consists of a Pro Version which adds even more features into the already feature-rich application.

    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 MailSpring on a 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.

Syndicate content

More in Tux Machines

Kernel: XFS and WiMAX in Linux

  • Prepare To Re-Format If You Are Using An Older XFS Filesystem - LinuxReviews

    Linux 5.10 brings several new features to the XFS filesystem. It solves the year 2038 problem, it supports metadata checksumming and it has better metadata verification. There's also a new configuration option: CONFIG_XFS_SUPPORT_V4. Older XFS filesystems using the v4 layout are now deprecated and there is no upgrade path beyond "backup and re-format". The Linux kernel will support older XFS v4 filesystems by default until 2025 and optional support will remain available until 2030. A new CONFIG_XFS_SUPPORT_V4 option in Linux 5.10. In case you want to.. still be able to mount existing XFS filesystems if/when you upgrade to Linux 5.10. We previously reported that XFS patches for Linux 5.10 delay the 2038 problem to 2486. That's not the only new feature Linux 5.10 brings to the XFS filesystem when it is released early December: It supports metadata checksumming, it has better built-in metadata verification and there is a new CONFIG_XFS_SUPPORT_V4 configuration option. Make sure you don't accidentally say N to that one if you have an older XFS filesystem you'd like to keep using if/when you upgrade your kernel.

  • The Linux Kernel Looks To Eventually Drop Support For WiMAX

    With the WiMAX 802.16 standard not being widely used outside of the Aeronautical Mobile Airport Communication System (AeroMACS) and usage in some developing nations, the Linux kernel may end up dropping its support for WiMAX but first there is a proposal to demote it to staging while seeing if any users remain. Longtime kernel developer Arnd Bergmann is proposing that the WiMAX Linux kernel infrastructure and the lone Intel 2400m driver be demoted from the networking subsystem to staging. In a future kernel release, the WiMAX support would be removed entirely if no active users are expressed. The Linux kernel WiMAX infrastructure is just used by the Intel 2400m driver for hardware with Sandy Bridge and prior, thus of limited relevance these days. That Intel WiMAX implementation doesn't support the frequencies that AeroMACS operates at and there are no other large known WiMAX deployments around the world making use of the frequencies supported by the 2400m implementation or users otherwise of this Linux kernel code.

  • Linux Is Dropping WiMAX Support - LinuxReviews

    It's no loss. There is a reason why you have probably never seen a WiMAX device or heard of it, WiMAX was a wireless last-mile Internet solution mostly used in a few rural areas in a limited number of countries between 2005 and 2010. There is very little use for it today so it is almost natural that Linux is phasing out support for WiMAX and the one WiMAX device it supports. WiMAX is a wireless protocol, much like IP by Avian Carriers except that it has less bandwidth and significantly lower latency. WiMAX (Worldwide Interoperability for Microwave Access) is a set of wireless standards that were used to provide last-mile Internet connectivity where DSL and other solutions were unavailable. WiMAX can work over long distances (up to 50 km), something WiFi can't. The initial design could provide around 25 megabit/s downstream, which was competitive when WiMAX base-stations and modems become widely available around 2005. That changed around 2010 when 4G/LTE become widely available. The WiMAX Forum, who maintains the WiMAX standard, tried staying relevant with a updated standard called WiMAX 2 in 2011. Some equipment for it was made, but it never became a thing. WiMAX was pretty much dead by the time WiMAX 2 arrived. The standard NetworkManager utility GNU/Linux distributions come with supported WiMAX until 2015. The Linux kernel still supports it and exactly one WiMAX device from Intel as of Linux 5.9, but that's about to change.

Fedora Elections and IBM/Red Hat Leftovers

  • Fedora 33 elections nominations now open

    Candidates may self-nominate. If you nominate someone else, please check with them to ensure that they are willing to be nominated before submitting their name. The steering bodies are currently selecting interview questions for the candidates. Nominees submit their questionnaire answers via a private Pagure issue. The Election Wrangler or their backup will publish the interviews to the Community Blog before the start of the voting period. Fedora Podcast episodes will be recorded and published as well. Please note that the interview is mandatory for all nominees. Nominees not having their interview ready by end of the Interview period (2020-11-19) will be disqualified and removed from the election.

  • 12 Tips for a migration and modernization project

    Sometimes migration/modernization projects are hard to execute because there are many technical challenges, like the structure of legacy code, customer environment, customer bureaucracy, network issues, and the most feared of all, production bugs. In this post I'm going to explain the 12-step migration / modernization procedure I follow as a consultant using a tip-based approach. I have some experience with this kind of situation because I’ve already passed by different kinds of projects with several kinds of problems. Over time you start to recognize patterns and get used to solving the hard problems. So, I thought: Wouldn't it be cool to create a procedure based on my experience, so that I can organize my daily work and give the transparency that the customers and managers want? To test this out, I did this for one customer in my hometown. They were facing a Red Hat JBoss EAP migration/modernization project. The results of the project were outstanding. The customer said they were even more satisfied with the transparency. The project manager seemed really comfortable knowing all about the details through the project and pleased with reducing the risk of unexpected news.

  • Awards roll call: June 2020 to October 2020

    We are nearly at the end of 2020 and while the pace continues to increase, we want to take a moment to acknowledge and celebrate some of the successes of Red Hat's people and their work. In the last four months, several Red Hatters and Red Hat products are being recognized by leading industry publications and organizations for efforts in driving innovation.

  • How developers can build the next generation of AI advertising technology – IBM Developer

    As we look across the most rapidly transforming industries like financial services, healthcare, retail – and now advertising, developers are putting open source technologies to work to deliver next-generation features. Our enterprise clients are looking for AI solutions that will scale with trust and transparency to solve business problems. At IBM®, I have the pleasure of focusing on equipping you, the developers, with the capabilities you need to meet the heightened expectations you face at work each day. We’re empowering open source developers to drive the critical transformation to AI in advertising. For instance, at the IBM Center for Open source Data and AI Technologies (CODAIT), enterprise developers can find open source starting points to tackle some of your thorniest challenges. We’re making it easy for developers to use and create open source AI models that can ultimately help brand marketers go deeper with AI to reach consumers more effectively.

Programming: Qt, PHP, JS and Bash

  • Qt 6 To Ship With Package Manager For Extra Libraries - Phoronix

    Adding to the list of changes coming with the Qt 6 toolkit, The Qt Company has now outlined their initial implementation of a package manager to provide additional Qt6 modules.

  • Qt for MCUs 1.5 released

    A new release of Qt for MCUs is now available in the Qt Installer. If you are new to Qt for MCUs, you can try it out here. Version 1.5 introduces new platform APIs for easy integration of Qt for MCUs on any microcontroller, along with an in-depth porting guide to get you going. Additionally, it includes a set of C++ APIs to load new images at runtime into your QML GUI. As with every release, 1.5 also includes API improvements and bug fixes, enhancing usability and stability.

  • KDDockWidgets v1.1 has been released! - KDAB - KDAB on Qt

    KDDockWidgets v1.1 is now available! Although I just wrote about v1.0 last month, the 1.1 release still managed to get a few big features.

  • KDAB TV celebrates its first year - KDAB

    A year ago KDAB started a YouTube channel dedicated to software development with Qt, C++ and 3D technologies like OpenGL. We talked to Sabine Faure, who is in charge of the program, about how it worked out so far and what we can expect in the future.

  • How to build a responsive contact form with PHP – Linux Hint

    Contact forms are commonly used in web applications because they allow the visitors of the website to communicate with the owner of the website. For most websites, responsive contact forms can be easily accessed from various types of devices such as desktops, laptops, tablets, and mobile phones. In this tutorial, a responsive contact form is implemented, and the submitted data is sent as an email using PHP.

  • Applying JavaScript’s setTimeout Method

    With the evolution of the internet, JavaScript has grown in popularity as a programming language due to its many useful methods. For example, many websites use JavaScript’s built-in setTimeout method to delay tasks. The setTimeout method has many use cases, and it can be used for animations, notifications, and functional execution delays.Because JavaScript is a single-threaded, translative language, we can perform only one task at a time. However, by using call stacks, we can delay the execution of code using the setTimeout method. In this article, we are going to introduce the setTimeout method and discuss how we can use it to improve our code.

  • Removing Characters from String in Bash – Linux Hint

    At times, you may need to remove characters from a string. Whatever the reason is, Linux provides you with various built-in, handy tools that allow you to remove characters from a string in Bash. This article shows you how to use those tools to remove characters from a string. [...] Sed is a powerful and handy utility used for editing streams of text. It is a non-interactive text editor that allows you to perform basic text manipulations on input streams. You can also use sed to remove unwanted characters from strings. For demonstration purposes, we will use a sample string and then pipe it to the sed command.

Python Programming

  • Dissecting a Web stack - The Digital Cat

    Having recently worked with young web developers who were exposed for the first time to proper production infrastructure, I received many questions about the various components that one can find in the architecture of a "Web service". These questions clearly expressed the confusion (and sometimes the frustration) of developers who understand how to create endpoints in a high-level language such as Node.js or Python, but were never introduced to the complexity of what happens between the user's browser and their framework of choice. Most of the times they don't know why the framework itself is there in the first place. The challenge is clear if we just list (in random order), some of the words we use when we discuss (Python) Web development: HTTP, cookies, web server, Websockets, FTP, multi-threaded, reverse proxy, Django, nginx, static files, POST, certificates, framework, Flask, SSL, GET, WSGI, session management, TLS, load balancing, Apache. In this post, I want to review all the words mentioned above (and a couple more) trying to build a production-ready web service from the ground up. I hope this might help young developers to get the whole picture and to make sense of these "obscure" names that senior developers like me tend to drop in everyday conversations (sometimes arguably out of turn). As the focus of the post is the global architecture and the reasons behind the presence of specific components, the example service I will use will be a basic HTML web page. The reference language will be Python but the overall discussion applies to any language or framework. My approach will be that of first stating the rationale and then implementing a possible solution. After this, I will point out missing pieces or unresolved issues and move on with the next layer. At the end of the process, the reader should have a clear picture of why each component has been added to the system.

  • Introducing AutoScraper: A Smart, Fast and Lightweight Web Scraper For Python | Codementor

    In the last few years, web scraping has been one of my day to day and frequently needed tasks. I was wondering if I can make it smart and automatic to save lots of time. So I made AutoScraper!

  • django-render-block 0.8 (and 0.8.1) released!

    A couple of weeks ago I released version 0.8 of django-render-block, this was followed up with a 0.8.1 to fix a regression. django-render-block is a small library that allows you render a specific block from a Django (or Jinja) template, this is frequently used for emails when you want multiple pieces of an email together in a single template (e.g. the subject, HTML body, and text body), but they need to be rendered separately before sending.

  • Pyston v2: 20% faster Python | The Pyston Blog

    We’re very excited to release Pyston v2, a faster and highly compatible implementation of the Python programming language. Version 2 is 20% faster than stock Python 3.8 on our macrobenchmarks. More importantly, it is likely to be faster on your code. Pyston v2 can reduce server costs, reduce user latencies, and improve developer productivity. Pyston v2 is easy to deploy, so if you’re looking for better Python performance, we encourage you to take five minutes and try Pyston. Doing so is one of the easiest ways to speed up your project.

  • Pyston v2 Released As ~20% Faster Than Python 3.8 - Phoronix

    Version 2.0 of Pyston is now available, the Python implementation originally started by Dropbox that builds on LLVM JIT for offering faster Python performance. Pyston developers believe their new release is about 20% faster than the standard Python 3.8 and should be faster for most Python code-bases.

  • Python int to string – Linux Hint

    Python is one of the universal languages that support various types of data types like integer, decimal point number, string, and complex number. We can convert one type of data type to another data type in Python. This data type conversion process is called typecasting. In Python, an integer value can easily be converted into a string by using the str() function. The str() function takes the integer value as a parameter and converts it into the string. The conversion of int to string is not only limited to the str() function. There are various other means of int to string conversion. This article explains the int to string conversion with various methods.

  • Python isinstance() Function – Linux Hint

    Python is one of the best and efficient high-level programming languages. It has a very straightforward and simple syntax. It has very built-in modules and functions that help us to perform the basic tasks efficiently. The Python isinstance() function evaluates either the given object is an instance of the specified class or not.