Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Creating Comfy FreeBSD Jails Using Standard Tools

    Jails in FreeBSD is by no means a new tool (introduced in 4.X), but for a reason or another, I haven’t used them that often, which is a shame since they are so powerful. So I wanted to explore this concept in a concise and summarized manner.

  • Returning to Text

    I’ve been replacing the way I store personal todo lists and notes. Previously I was using Trello. Before that I used Tiddlywiki for a couple years. I used to work with a guy that swore by simply using a text file, so I started giving that a shot.

  • How to disable user accounts and enhance password authentication in Ubuntu

    Instead of deleting a user account in Ubuntu , it is possible to manually disable it (lock it) or unlock it.
    If an account is locked or disabled and someone tries to access it , the following message will show up :”This account is currently not available.”

  • Fedora 33 : Create a simple GUI Button on Unity 3D. [Ed: This is a Mono (Microsoft) issue]

    It is very useful to create applications in the Fedora 33 Linux distribution with the Unity 3D game engine.

  • How to install Flashprint 4.6.0 on a Chromebook

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

  • How to Install Flask in Ubuntu 20.04

    Two commonly used open-source Python web frameworks are Django and Flask. Django is a robust Python framework that allows users to rapidly develop and deploy their web applications by providing an MVC framework that aims at simplifying web app development with less code along with reusable components.

    Meanwhile, Flask is a microframework that is lean and devoid of extra libraries or tools. It is minimalistic as it ships with only the basic tools to help you get off the ground with developing your applications.

  • How to install the Screenshot Tool Shutter on Fedora | FOSS Linux

    The Shutter tool is a free and open-source screenshot capturing app essential for Linux. It is feature-rich and, to some extent, can be considered as an alternative to the SnagIt software, which is applicable in Windows operating systems. If you are looking for a screenshot tool better than the default GNOME clipping tool and compliments your Fedora OS’s workaround, we highly recommend that you make acquaintance with the Shutter screenshot tool.

    [...]

    The functional design and architecture of the Fedora Workstation elevate its built-in support for the Shutter screenshot tool. It is quick and seamless in taking one-off screenshots. Users that are constantly working on picture-filled projects that might require thorough documentation or tutorial setup will value what this tool has to offer. A typical Shutter session improves both the OS and the User workflow. Consider an active session where you have started to use the Shutter tool.

    Assume you have taken several screenshots inline with a project target or deadline. The Shutter tool interface will have these screenshots displayed on a session tab. The Shutter session feature lets you keep track of the screenshots you currently have so that you do not have to duplicate them mistakenly. You also have the flexibility of tracking down your previously taken screenshots, which is a plus to your OS or project management. You will then be able to edit, run filters, or delete the already acquired screenshots.

  • Highlighted Text Not Visible in Gedit in Dark Mode? Fix it!

    I love using dark mode in Ubuntu. It’s soothing on the eyes and makes the system look aesthetically more pleasing, in my opinion.

    One minor annoyance I noticed is with gedit text editor and if you use it with the dark mode in your system, you might have encountered it too.

    By default, gedit highlights the line where your cursor is. That’s a useful feature but it becomes a pain if you are using dark mode in your Linux system.

  • How to install Signal Messaging App on latest Ubuntu

    Signal messaging app is a high quality new entrant for person to person internet messaging with web based and phone based applications for communications around the world. It is known for privacy and has custom encryption techniques to keep all your messages for your eyes only. It is a secure application that uses an end-to-end encryption protocol and does not share data with any other app. You may be wondering if it is available for Linux or not? The answer is yes! it is a multi-platform application and available for mobile phones and desktops as well.

  • cPanel Tutorial

    cPanel is one of the most widely used web hosting control panel. It has a vast number of utilities and tools for website and server management. For example, you can manage and publish your websites, create email and FTP accounts, install applications like WordPress, secure your website with SSL certificates.

    cPanel is based on the Linux operating system, and it currently supports Centos 7, Cloud Linux 6 and 7, Red Hat Enterprise Linux version 7. Amazon Linux 1 was previously supported but has now been abandoned.

    cPanel requires a new server for installation. It may be because it requires different services running on a different port; thus, it tries to avoid any port conflict with previously installed services.

  • Ubuntu Blog: What is PostgreSQL and why do enterprise developers and start-ups love it?

    PostgreSQL is a powerful, open source object-relational database system that is known for reliability, feature robustness, and performance. PostgreSQL is becoming the preferred database for more and more enterprises. It is currently ranked #4 in popularity amongst hundreds of databases worldwide according to the DB-Engines Ranking. An enterprise class database, PostgreSQL boasts sophisticated features such as Multi-Version Concurrency Control (MVCC), point in time recovery, tablespaces, asynchronous replication, nested transactions, online/hot backups, a sophisticated query planner/optimiser, and write ahead logging for fault tolerance.

  • Install CMake on Debian 10 – Linux Hint

    CMake is a free and easily available open-source tool that is designed to build and then test the software. It is the compiler independent method used for generating the build files. CMake is a tool created by Kitware for a much powerful environment that is used as an open-source project like VTK, ITK, etc. In this tutorial, we are making use of this powerful tool and are going to walk users through the method of installation of CMake on Debian 10.

  • How To Install Squid Proxy on Debian 10 - idroot

    In this tutorial, we will show you how to install Squid Proxy on Debian 10. For those of you who didn’t know, Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and many more. It can be used to improve the web server’s performance by caching repeated requests, filter web traffic, and access geo-restricted content.

    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 Squid Proxy Server on a Debian 10 (Buster).

  • How to Copy a Docker Image

    I recently had the need to copy a docker image I had created locally to another docker host.
    If you need to move a Docker image to another system, or if you’d like to back up an image then you can do so by using the docker save and docker load commands.

  • How to Defragment a Btrfs Filesystem – Linux Hint

    Btrfs is an extent-based Copy-on-Write (CoW) filesystem. Large files are stored in multiple data extents; and when these large files are modified, the extents to be modified are copied to new, empty extents in another location of the storage device and are modified in the new location. Then, the extents of the large files are re-linked to point to the updated extents. The old extents are never removed instantly.

    This is how the Copy-on-Write (CoW) feature of the Btrfs filesystem causes fragmentation. Fragmentation means that the data extents of large files are scattered around the entire storage device. They are not instantaneous. So, the performance (read/write speed) of the filesystem may be reduced.

    To solve this problem, it is necessary to defragment the Btrfs filesystem every once in a while. This article shows you how to defragment the Btrfs filesystem.

  • How to Edit PDF Files in Linux Desktop

    PDF (Portable Document Format) is popular file system used specially for documentation. In all the Linux distribution you can find PDF viewer but not PDF editor. PDF editor allow you to edit, annotate, highlight and remove the content in PDF file. Not only editing it also allows you to merge, split the PDF files.

    In this article, I’m going to show how to install and use some popular PDF editor in Linux desktop environment. In this article, I have used Ubuntu 20.0 LTS desktop environment for the demonstration of these PDF editors.

  • How to Install GIMP on Ubuntu 18.04/20.04

    GIMP is a free and open-source cross-platform image editing software tool that comes with numerous sets of tools that enable you to edit and manipulate images to your own preference.

    You can perform almost any image editing task, from the simplest task to the most complex image manipulation technique. Gimp can be used for photo retouching, image composition, and image authoring.

  • How to Install Latest Vim Editor in Linux Systems

    Vim is a powerful, highly configurable, popular, and cross-platform text editor that runs on Unix-like systems such as Linux, OS X, Solaris, BSD, and Windows.

  • How to Install Python on Debian 10 – Linux Hint

    Python programming language is one of the most widely used high level and object-oriented languages. Python is becoming famous for beginners and experienced programmers due to its simplicity and easy to learn syntax. Python is a versatile and open-source programming language for a large community. You can use this language to build almost all kinds of applications, from a small, simple script to complex machine learning-based problems. The old version of python 3.7, you can install directly by using the apt package manager. Python 3.9, a stable version, has been launched with many other improvements and security updates. The company added multiple new modules and extended the existing modules with some extra features in this version.

    You can’t install Python 3.9 from the standard Debian 10 repositories. However, you can install it from the python source.

    This tutorial will cover the installation procedure Python 3.9 on the Linux system Debian 10 through the command line. All commands we will implement in the Debian 10 Terminal application. Therefore. Open the terminal application by pressing ‘Ctrl+Alt+t’ or open it directly from the Debian 10 installed applications and start the installation!

  • How to View or List Cron Jobs in Linux – TecAdmin

    Cron name originates from a Greek word Chronos, which is used for time. It is a daemon for the Linux systems to automate the execution of commands or scripts at a specified time intervals.

    This tutorial will show you the several options to list all scheduled cron jobs for users on Linux systems.

  • How to install Couchpotato on Ubuntu 20.04 LTS Linux - Linux Shout

    Couchpotato is an open-source platform to install on Linux such as Ubuntu and others to download and view various movies and Tv shows via Usenet and torrents. Here we will learn how to install on Ubuntu 20.04 or 18.04 LTS Linux distros.

    This streaming platform allows the users to search various entertainment content directly on its web Graphical User Interface without actually visiting the Torrent websites. This saves you from unwanted ads and pop-up we usually see on Torrent related websites.

  • How to install Python 2.7 on Ubuntu 20.04 LTS - Linux Shout

    As we know Ubuntu 20.04 LTS which is the Long term version of Canonical has dropped the previous version of Python that is 2, to give space to the latest version of Python 3. Therefore, if there is some application that required Python 2.7 then you would not find it on Ubuntu 20.04 by default. However, there is a way to install it using the command line terminal.

  • Use vim in a production Red Hat OpenShift container in 6 easy steps - Red Hat Developer

    In this article, I present a quick demo on how to install and run vim in a production Red Hat OpenShift container, when vim was not installed in the container image. I also describe the method to use to overcome an event where the local operating system and container base image diverge.

4 ways to hide your identity using linux

  • 4 ways to hide your identity using linux - The Linux Juggernaut

    Being able to change your IP address and other network information is a useful skill because it will help you access other networks while appearing as a trusted device on those networks. For example, in a denial­-of­-service (DoS) attack, you can spoof your IP so that that the attack appears to come from another source, thus helping you evade IP capture during forensic analysis. This is a relatively simple task in Linux, and it’s done with the ifconfig command.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

Now you can make video calls on a PinePhone (but it’s very much a work in progress)

When the PinePhone began shipping to early adopters, it had all the hardware you’d expect from a smartphone, but it lacked the software needed to make some of that hardware work. If you were one of the first people to get your hands on a PinePhone, you had a Linux-friendly phone with a camera that couldn’t be used to take pictures or record video. But over time kernel and app developers got the phone’s front and rear cameras working, and now most Linux distributions for the PinePhone allow you to take pictures (of mediocre quality). One thing you couldn’t do until recently though? Video calls. But now it looks like that’s possible too… soft of. The process looks rather painful at the moment, but it should get better over time. Read more Also: Plasma Mobile tarball release: bugfixes and new releases

A warning about 5.12-rc1

  • A warning about 5.12-rc1
    Hey peeps - some of you may have already noticed that in my public git
    tree, the "v5.12-rc1" tag has magically been renamed to
    "v5.12-rc1-dontuse". It's still the same object, it still says
    "v5.12-rc1" internally, and it is still is signed by me, but the
    user-visible name of the tag has changed.
    
    
    
    
    The reason is fairly straightforward: this merge window, we had a very
    innocuous code cleanup and simplification that raised no red flags at
    all, but had a subtle and very nasty bug in it: swap files stopped
    working right.  And they stopped working in a particularly bad way:
    the offset of the start of the swap file was lost.
    
    
    
    
    Swapping still happened, but it happened to the wrong part of the
    filesystem, with the obvious catastrophic end results.
    
    
    
    
    Now, the good news is even if you do use swap (and hey, that's nowhere
    near as common as it used to be), most people don't use a swap *file*,
    but a separate swap *partition*. And the bug in question really only
    happens for when you have a regular filesystem, and put a file on it
    as a swap.
    
    
    
    
    And, as far as I know, all the normal distributions set things up with
    swap partitions, not files, because honestly, swapfiles tend to be
    slower and have various other complexity issues.
    
    
    
    
    The bad news is that the reason we support swapfiles in the first
    place is that they do end up having some flexibility advantages, and
    so some people do use them for that reason. If so, do not use rc1.
    Thus the renaming of the tag.
    
    
    
    
    Yes, this is very unfortunate, but it really wasn't a very obvious
    bug, and it didn't even show up in normal testing, exactly because
    swapfiles just aren't normal. So I'm not blaming the developers in
    question, and it also wasn't due to the odd timing of the merge
    window, it was just simply an unusually nasty bug that did get caught
    and is fixed in the current tree.
    
    
    
    
    But I want everybody to be aware of because _if_ it bites you, it
    bites you hard, and you can end up with a filesystem that is
    essentially overwritten by random swap data. This is what we in the
    industry call "double ungood".
    
    
    
    
    Now, there's a couple of additional reasons for me writing this note
    other than just "don't run 5.12-rc1 if you use a swapfile". Because
    it's more than just "ok, we all know the merge window is when all the
    new scary code gets merged, and rc1 can be a bit scary and not work
    for everybody". Yes, rc1 tends to be buggier than later rc's, we are
    all used to that, but honestly, most of the time the bugs are much
    smaller annoyances than this time.
    
    
    
    
    And in fact, most of our rc1 releases have been so solid over the
    years that people may have forgotten that "yeah, this is all the new
    code that can have nasty bugs in it".
    
    
    
    
    One additional reason for this note is that I want to not just warn
    people to not run this if you have a swapfile - even if you are
    personally not impacted (like I am, and probably most people are -
    swap partitions all around) - I want to make sure that nobody starts
    new topic branches using that 5.12-rc1 tag. I know a few developers
    tend to go "Ok, rc1 is out, I got all my development work into this
    merge window, I will now fast-forward to rc1 and use that as a base
    for the next release". Don't do it this time. It may work perfectly
    well for you because you have the common partition setup, but it can
    end up being a horrible base for anybody else that might end up
    bisecting into that area.
    
    
    
    
    And the *final* reason I want to just note this is a purely git
    process one: if you already pulled my git tree, you will have that
    "v5.12-rc1" tag, and the fact that it no longer exists in my public
    tree under that name changes nothing at all for you. Git is
    distributed, and me removing that tag and replacing it with another
    name doesn't magically remove it from other copies unless you have
    special mirroring code.
    
    
    
    
    So if you have a kernel git tree (and I'm here assuming "origin"
    points to my trees), and you do
    
    
    
    
         git fetch --tags origin
    
    
    
    
    you _will_ now see the new "v5.12-rc1-dontuse" tag. But git won't
    remove the old v5.12-rc1 tag, because while git will see that it is
    not upstream, git will just assume that that simply means that it's
    your own local tag. Tags, unlike branch names, are a global namespace
    in git.
    
    
    
    
    So you should additionally do a "git tag -d v5.12-rc1" to actually get
    rid of the original tag name.
    
    
    
    
    Of course, having the old tag doesn't really do anything bad, so this
    git process thing is entirely up to you. As long as you don't _use_
    v5.12-rc1 for anything, having the tag around won't really matter, and
    having both 'v5.12-rc1' _and_ 'v5.12-rc1-dontuse' doesn't hurt
    anything either, and seeing both is hopefully already sufficient
    warning of "let's not use that then".
    
    
    
    
    Sorry for this mess,
                 Linus
    
    
    
    
    
  • A warning about 5.12-rc1

    Linus Torvalds has sent out a note telling people not to install the recent 5.12-rc1 development kernel; this is especially true for anybody running with swap files. "But I want everybody to be aware of because _if_ it bites you, it bites you hard, and you can end up with a filesystem that is essentially overwritten by random swap data. This is what we in the industry call 'double ungood'." Additionally, he is asking maintainers to not start branches from 5.12-rc1 to avoid future situations where people land in the buggy code while bisecting problems.

  •  
  • Linux 5.12-rc2 Likely Coming Early Due To That Nasty File-System Corruption Bug

    Linus Torvalds has now warned developers over using Linux 5.12-rc1 as a basis for their future branches and is looking to release 5.12-rc2 ahead of schedule as a result of that problematic file-system corruption bug stemming from a swap file bug. 

Games: Godot, Artifact, Loop Hero, and Urtuk: The Desolation

  • Godot Showcase - Primal Light developer interview

    Welcome to the fourth developer interview following the introduction of the Godot Showcase page! This week, we are interviewing the studio Fat Gem about their first game Primal Light.

  • Valve gives up on Artifact setting it free with Artifact Classic and Artifact Foundry | GamingOnLinux

    Valve's Dota themed card game Artifact has now well and truly failed, as they've now stopped the 2.0 redevelopment which is now named Artifact Foundry with the original as Artifact Classic and both now free to play. In a post titled "The Future of Artifact", Valve mentioned how the player count fell off dramatically and it was pretty much dead shortly after being released. Even though the big 2.0 revamp was far along in development, they've now formally and totally shelved it as they "haven't managed to get the active player numbers to a level that justifies further development at this time".

  • Loop Hero is out now and I'm going to need help to tear myself away from it | GamingOnLinux

    Loop Hero, probably the only titles I've pre-ordered in the last few years is officially out now and I really will need some help to pull myself away from running just one more loop. It's such a strange and beautifully intoxicating mix of genres. For each loop through you're placed into a world full of nothing but a path and it's up to you to build up the world each time. You do this through your deck of cards, while the hero automatically loops around the path and fights enemies along the way without your input. Even though you don't have direct control, there's quite a lot of strategy involved in it.

  • Dark low-fantasy tactical survival RPG 'Urtuk: The Desolation' is out now | GamingOnLinux

    Urtuk: The Desolation from David Kaleta presents you with a dark world in a low-fantasy settings where you guide a team of survivors through a ruined world. Note: key provided by the developer. Hitting nearly one thousand user reviews and a Very Positive rating on Steam overall, Urtuk: The Desolation seems to have managed to hit a sweet spot. Giving you tough turn-based combat, with a character progression system that sees you extracting skills and traits from fallen enemies. It's a bit of a gross world and the main character, Urtuk, is an escaped subject of experimentation with a severe mutation and worsening health. The idea is to eventually find a cure but getting there will be tough.

today's howtos

  • How to find duplicate files in Linux? Help is here with the fdupes command! - Webleit.info

    Fdupes is a command line tool that allows you to find all duplicate files through the console. The advantage over using graphical tools like fslint is of course the speed. At the end of the day, there is nothing faster and more convenient than the Linux console. Why should we look for duplicate files in Linux? No matter what operating system you use sooner or later, your computer will contain many files of different sizes, and if you’re not careful enough, repeating them can cost you disk space that you need. For example, you inadvertently downloaded the same ultra HD movie with 40 giga bytes twice.

  • How to Install Moodle with Nginx and Let's Encrypt SSL on Ubuntu 20.04

    Moodle is a free and open-source Learning Management System written in PHP. It provides a way for tutors and instructors to create courses for their students or learners. Moodle provides a robust and secure integrated system and comes with a custom dashboard that helps users to access current, past or future courses, as well as review pending work. It is used by many schools, universities, and organizations across the globe and provides a better learning experience. It provides a rich set of features including, wiki, grading, assignment submission, online quizzes, discussion boards, and more. In this tutorial, we will show you how to install Moodle with Nginx web server and Let's Encrypt SSL on Ubuntu 20.04.

  • Install WordPress Automatically on Ubuntu 20.04 using WordOps

    WordOps is a simple tool that provides the ability to deploy WordPress sites from the command line using an optimized LEMP stack. The LEMP software stack consists of a group of software that describes a Linux Operating System, an Nginx web server (pronounced engine-x), a MySQL database with the dynamic processing being handled by PHP. LEMP is an acronym for Linux, Engine-x (Nginx), MySQL and PHP. WordOps simplifies so much of the process of installing and configuring all the packages from the LEMP stack needed to deploy a site while taking care of creating virtual hosts in Nginx, installing WordPress, and even gets you a SSL certificate. It also installs some components that allow you to see statistics about the server’s workload. In this tutorial we’ll use WordOps to quickly and easily install WordPress on an Ubuntu 20.04 machine, and we’ll check out and explain some of the extra features that WordOps offers.

  • How to Find Out When a Webpage Was Published - Make Tech Easier

    When you’re doing research on a topic, it’s vital to ensure your sources are up to date. If you’re writing an academic paper, dates of publication are often required in the citations. The majority of the time, getting the date is easy: simply look on the site and find the published date to find how recent it was. Things get a little more complicated when there is no date listed on the webpage. When this happens, how do you know when a webpage was published?

  • How to install Wireshark 3.4.3 on a Chromebook

    Today we are looking at how to install Wireshark 3.4.3 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.

  • Another Piece For The Home Network Puzzle – A Return To Cisco IOS! – Jon's FOSS Blog

    I’ve missed the good old days of configuring and setting up good quality switching hardware (like the big, huge Cisco switches and routers I used to experiment on with their IOS command line interface). I recently ordered this newer, smaller Cisco switch which can also provide power to a new “prosumer” WiFi AP (no power cables needed).

  • Making environment variables accessible in front-end containers - Red Hat Developer

    When building a container for a single-page application using any modern JavaScript framework (such as Angular, React, or Vue.js), you might find that the configuration settings are different depending on where the container will run. A typical case would be the base URL for your API, which will differ depending on whether you are testing the application or deploying it into production. Developers usually solve this problem using environment variables. Environment variables typically work on the backend because that is where code runs. But what if your application lives in the user’s browser? There are many ways around this limitation. In some cases, you might build a server whose endpoint holds the necessary parameters. Another workaround is to use PHP to inject the environment variables as globals in the JavaScript code. Both of these options work, but it would be ideal to inject the environment variables as part of the container build process. That way, you don’t have to change the codebase, and you can still deliver the application content using a static web server like NGINX. This article shows you how to inject environment variables directly into your codebase as you build your container.

  • The Strange Case of How We Escaped the Docker Default Container

    TL;DR During an internal container-based Red Team engagement, the Docker default container spontaneously and silently changed cgroups overnight, which allowed us to escalate privileges and gain...

  • How to copy and paste between host and VM