Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How to Install LEMP Stack on Debian 11 - Nginx MariaDB PHP - LinuxCapable

    LEMP is a collection of open-source software that is commonly used together to serve web applications. The term LEMP is an acronym that represents the configuration of a Linux operating system with an Nginx (pronounced engine-x, hence the E in the acronym) web server, with site data stored in a MySQL or MariaDB database and dynamic content processed by PHP that is popularly used for hosting extensive websites due to its performance and scalability.

    In the following tutorial, you will learn how to install LEMP (Nginx, MariaDB, PHP 8.0) on Debian 11.

  • How to Install Node.JS 14 / 16 & NPM on Rocky Linux 8 - LinuxCapable

    Node.js is an open-source, cross-platform, back-end JavaScript runtime environment built on Chrome’s V8 engine to build fast and scalable network applications and back-end APIs. Node.js uses an event-driven, non-blocking IO module that makes it very lightweight and effective. It is a fantastic choice for data-intensive real-time applications that run across distributed devices.

    NPM is a package manager for the JavaScript programming language maintained by NPM, Inc. NPM is the default package manager for the JavaScript runtime environment Node.js and is arguably the most available repository for Node.JS packages.

    In the following tutorial, you will learn how to install Node.JS in various ways from the app stream and the node source repository on Rocky Linux 8.

  • Fix multipathd[688] add missing path error - blackMORE Ops

    I was running Ubuntu 20.04 Server guest OS on VMware ESX and found that syslog was spitting the following errors every 5 seconds.

  • Linux Jargon Buster: What is sudo rm -rf? Why is it Dangerous?

    When you are new to Linux, you’ll often come across advice to never run sudo rm -rf /. There are so many memes in the Linux world around sudo rm -rf.

    But it seems that there are some confusions around it. In the tutorial on cleaning Ubuntu to make free space, I advised running some command that involved sudo and rm -rf. An It’s FOSS reader asked me why I am advising that if sudo rm -rf is a dangerous Linux command that should not be run.

  • How to Watch Free TV channels on Linux Mint

    In this tutorial you will learn how to watch free tv channels on Linux Mint, if you are a fan of free Iptv channels then this tutorial is for you.

  • How To Migrate To Rocky Linux 8 From CentOS 8 | Tips On UNIX

    This tutorial will be helpful for users to migrate to Rocky Linux 8 from CentOS 8 / AlmaLinux / RHEL systems Step by Step.

    As you know CentOS 8 updates and support will be till the end of December 2021 and after that CentOS will be shifting to an upstream edition of RedHat.

  • How to Fix 'Could not get lock /var/lib/dpkg/lock-frontend' in Linux Mint

    So the error message is basically saying the process can't continue because this process is being held by process number 54240(synaptic)

  • How to Change Default Index Page on Nginx

    In this tutorial you will learn how to change the default index page after installing nginx. When you install nginx, the default page is a simple index html file that says " Welcome to Nginx" .

    If you want to change this file, you can do so by following the steps in this tutorial

  • How to Install Snap on Linux Mint 20.1 Ulyssa

    In this tutorial you will learn how to install snap on Linux Mint 20.1 Ulyssa.

  • How to Hide Nginx Version on Your Server

    In this tutorial you will learn how to hide Nginx version from leaking to public. This step is a must, when parameter is not set to : server_tokens off, nginx version can be seen by visitors on error pages, this information doesn't make your site directly vulnerable but the less information you share to public the better.

    Your site may be secured, but that version of nginx may be vulnerable which then makes your site vulnerable too.

  • How To Install Powershell on AlmaLinux 8 - idroot [Ed: Bad idea as it helps Microsoft's vendor lock-in]

    In this tutorial, we will show you how to install Powershell on AlmaLinux 8. For those of you who didn’t know, PowerShell Core is a cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework that works well with your existing tools and is optimized for dealing with structured data (e.g. JSON, CSV, XML, etc.), REST APIs, and object models. It includes a command-line shell, an associated scripting language, and a framework for processing cmdlets.

    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 Powershell on AlmaLinux 8. You can follow the same instructions for Rocky Linux.

  • How to remove .htpasswd Protection on Nginx (Ubuntu 18.04)

    In this tutorial you will learn how to remove .htpasswd file, or disable basic auth for your site, so when you visit your site or section that was password protected you will be able to access it normally without having to put username and password, to do this simply follow the steps below.

  • How To Install Latest GNU Nano Text Editor in Linux Desktop

    The GNU Nano is shortly known as the Nano text editor. It has been a quick, easy-to-use, and handy tool for both normal and professional usages. No matter if you’re a regular user or a root user, Nano welcomes all for coding and editing scripts. In recent Linux distributions, Nano comes pre-installed with the operating system. But, if you’re using a server or a backdated Linux distribution, you might need to install the GNU Nano on your machine. Using and installing the cross-platform GNU Nano in Linux is easy and hassle-free.

  • How to Increase File Upload Size on Nginx

    When you install Nginx, the directive client_max_body_size specifies the upload size that you want to allow to be uploaded on your site/server.

    By default the limit is set to 1 MB so if you try to upload something bigger than that you'll get the error " 413 (Request Entity Too Large)", to increase this limit or to remove it completely follow the steps below.

  • How to Install MATE Desktop 1.26 in Ubuntu 20.04, 21.04 via PPA | UbuntuHandbook

    The MATE desktop 1.26 now is available to install via the official Ubuntu PPA!

    The lightweight MATE desktop environment 1.26 was released a week ago. It features initial wayland support, do not disturb applet, and many core applications updates!

    The Ubuntu MATE developer team finally made a new Ubuntu PPA contains the packages for Ubuntu 20.04 LTS and Ubuntu 21.04. For upcoming Ubuntu 21.10, MATE 1.26 will be there in the main repositories.

  • How to Password Protect Directories on Nginx (Ubuntu 18.04)

    If you want to password protect an section/directory on your site and make it available to login with an username and password, you can do so by using nginx HTTP basic auth. This function allows you to stop other people who don't have the logins from accessing the section you are protecting.

  • How to Fix error "nginx: [emerg] unexpected end of file, expecting "}" in /etc/nginx/sites-enabled/

    This error means the nginx configuration file has not been configured correctly, or it was configured correctly but you forgot to close the directives with curly braces or ;

    And because of this error nginx won't be able to start or restart, solving this issue is easy, simply follow the steps below

  • How to Download any File using cURL on Linux

    cURL is a very popular and useful command line tool that you can use to download files from the internet but not only, cURL is similar to wget but cURL has a lot of more features and it is the perfect tool to use when downloading or transferring data on any system.

  • How to Block any IP Address on Nginx

    In this tutorial you will learn how to block an IP Address or multiple ip addresses on nginx. This is useful in cases where someone is spamming or attacking your site and you need to block the IP address in order for the attack to stop. However, this is also useful when you need to allow x Ip to access your site or any section on your site.

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.