Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Further reducing write amplification to an SSD in Debian GNU/Linux. Put /tmp in RAM. – BaronHK's Rants

    In my last post, I wrote about setting up ZSwap in Debian 11, and now, apparently, I have to blog about this.

    Most GNU/Linux distributions put the /tmp folder (where all sorts of temporary files the OS needs to have around for a little while go, as the name implies) on a RAM drive, using tmpfs.

    Debian, it appears, doesn’t. Having /tmp mounted on an SSD in a modern computer will cause many unnecessary writes to the SSD and will contribute to the drive wearing out too quickly.

  • How To Install Bitwarden on Linux Mint 20 - idroot

    In this tutorial, we will show you how to install Bitwarden on Linux Mint 20. For those of you who didn’t know, Bitwarden, the open-source password manager, makes it easy to generate and store unique passwords for any browser or device. Using Bitwarden you can easily and safely generate, store, and secure unique passwords from any location or device. It is compliant with Privacy Shield, HIPAA, GDPR, CCPA, SOC2, and SOC3 security standards and comes with AES-256 bit encryption, salted hashing, and PBKDF2 SHA-256.

    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 the step-by-step installation of Bitwarden’s open-source password manager on a Linux Mint 20 (Ulyana).

  • How I use Vagrant with libvirt | Opensource.com

    I'll admit it: I'm a fan of Linux. While I've used Slackware on workstations and Red Hat Enterprise Linux (RHEL) on servers for years, I love seeing how other distributions do things. What's more, I really like to test applications and scripts I write on other distributions to ensure portability. In fact, that's one of the great advantages of Linux, as I see it: You can download a distro and test your software on it for free. You can't do that with a closed OS, at least not without either breaking an EULA or paying to play, and even then, you're often signing up to download several gigabytes just to test an application that's no more than a few hundred megabytes. But Linux is open source, so there's rarely an excuse to ignore at least the three or four main distros, except that setting up a virtual machine can take a lot of clicks and sometimes complex virtual networking. At least, that used to be the excuse until Vagrant changed the virtual machine workflow for developers.

  • How to Check your Linux OS Version - Cloudbooklet

    Linux is a most popular open source OS used widely on many systems, servers and other machines like Raspberry Pi, etc. There are many variants out there in Linux which are known as distributions. The most common distributions are Ubuntu, Debian, SUSE, Mint, CentOS, Redhat, ArcLinux and many more.

    It is better to know the version of your operating system when you update or install packages or installing security patches, etc.

    Some distributions like Ubuntu, Debian shows the version of the OS when you login as a welcome message. But this can be disabled manually.

  • How to Create a Video From Images in Linux

    Before this article gives us a walkthrough on creating videos from images under a Linux operating system environment, it is important to understand the why before we engage the how.

  • How to Disable a User in Linux - Linux Nightly

    Disabling a user account in Linux means the user can no longer login to the system. However, the account will still persist on the system, which makes it different than deleting a user account entirely.

    You may need to disable a user account temporarily, or disable the login capability for a system account. In this guide, you’ll learn a few different methods of disabling a user account on Linux. You’ll also see how to re-enable the account.

  • How to Recover Corrupted GRUB 2 Bootloader in RHEL 8

    You may need to reinstall the GRUB 2 boot loader when the system does not boot into the GRUB menu. This may be due to the installation of security patches or human error.

    If the GRUB 2 boot loader corrupted on your system then you will end up with one of the following error messages.

    In this guide, we will demonstrate how to repair corrupted GRUB 2 Bootloader in RHEL 8 system.

  • How to install Blender 2.93.4 on a Chromebook

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

    This tutorial will only work on Chromebooks with an Intel or AMD CPU (with Linux Apps Support) and not those with an ARM64 architecture CPU.

  • How to install Odoo 13 or 14 on Docker Container - Linux Shout

    There is a couple of well-known open-source business management software and Odoo is one of them. It offers ERP, CRM, ECM, project planning, and more… In this article, we learn how to install Odoo 14 and 13 on a docker container running on Ubuntu 20.04 LTS Focal fossa.

    Odoo is free business software that covers a wide range of tasks. In addition to classic ERP functions, the environment offers CRM, E-commerce, content management, project planning, warehouse management, accounting, personnel management, portal, knowledge base, product management, human resources, marketing, and more.

  • How to install the latest npm on Ubuntu 20.04 - Techzim [Ed: Sadly this gives Microsoft control over your computer]

    Not so long ago the only thing I needed to learn in order to create plugins for my blogs was PHP. I could farm out the JavaScript and CSS parts of development to freelancers. With the recent versions of WordPress however, more and more code is in JavaScript so I decided to learn JavaScript deeply.

  • How to migrate Apache to Nginx by converting VirtualHosts to Server Blocks

    In this tutorial we will talk about how to migrate Apache to Nginx. Apache and Nginx are probably the most used Web servers on Linux. The former is the most ancient of the two: its development started in 1995, and it played a very important role in the World Wide Web expansion; it is still the most popular web server around. The first version of Nginx, instead, was released in 2004. Nginx is not only a web server: it can also work as a reverse proxy and a load balancer.

    Both Apache and Nginx are free and open source. One of their most important functionalities is the ability to serve multiple websites/resources. Apache uses the so called “VirtualHosts” while Nginx uses “Server Blocks”. In this tutorial we see how to migrate the most common Apache VirtualHost configurations to Nginx.

  • Interesting way to change name of current process

    Well, interesting to Linux shell script programmers anyway.

    I'm running chromium as a non-root user 'chromium'. /usr/bin/chromium is a script that performs login to user 'chromium' then runs the real chromium executable.

    I had the situation where clicked on the close-box top-right of the chromium window, it closed, but was unable to restart chromium. Found that some chromium processes were still running. These have to be killed. This also happens sometimes with seamonkey, leaving the user wondering why it won't start.

    What I want to do in the /usr/bin/chromium script is kill all these leftover processes. Simply running "killall chromium" will also kill the current script. Utility 'ps' can be run to find these processes, then run 'kill' on each one. That's one way of doing it.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. 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 the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.