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

AMD Ryzen DeskMini UM700 announced with Manjaro Linux | GamingOnLinux

The Manjaro Linux folks have teamed up with Minisforum to bring a very small but quite mighty system with the DeskMini UM700 × Manjaro Linux. Exciting? Well, it's basically rebrand of the existing EliteMini UM700 only it has Manjaro Linux instead of Windows 10 - and the first 1,000 orders get a free copy of CrossOver Linux. Interestingly enough, this is pretty much the same box that Valve showed a pictured of them using in their developer documentation when talking about sorting a system for developing for Steam Deck without a Dev-Kit. Read more

Tumbleweed Updates From openSUSE People

  • Tools Strace, BusyBox Update in Tumbleweed - openSUSE News

    openSUSE Tumbleweed had a variety of package updates in smaller snapshots throughout this week. A few things being prepared for Tumbleweed is that the Linux Kernel 5.16.1 was scheduled for check in and pre-integration tests for GNU Compiler Collection 12 have been started; the rolling release anticipates a merge of GCC 12 in mid-Spring. The latest Tumbleweed snapshot, 20220117, updated Italian translations for libstorage-ng 4.4.75 and added python-rpm-macros for building the package. Haskell support was dropped in the thrift 0.15.0 package, which is a scalable cross-language service framework for Remote Procedure Call and Inter-Process Communication. No changelogs were provided for the plugins package written in Rust called gstreamer-plugins-rs. The remaining packages in the snapshot were all Python Package Index updates. Among the key PyPI packages to point out is the major version update of python-unicodedata2 14.0.0, which dropped support for End of Life Python 2.7 and 3.5 and added support for Python 3.9, 3.10 and PyPy3. A Tumbleweed arm 20220118 snapshot was release updating the same package listed above.

  • openSUSE Tumbleweed – Review of the week 2022/03

    Dear Tumbleweed users and hackers, 7 days have passed since my last review – and as many snapshots have been released since then too. And this even includes my error of one day performing the check-in ‘slightly too late’ (i.e. past midnight). That’s the reason that 0119 did not exist. The check-in was too late and it was already January 20th by then. The snapshots released were numbered 0113, 0114, 0115, 0116, 0117, 0118, and 0120.

Android Leftovers

Here is what is new in Firefox 96.0.2

Mozilla released Firefox 96.0.2 to the Stable channel on January 20, 2022. The new version of the browser fixes three issues that affect Facebook, LastPass and audio play on Linux. Firefox 96.0.2 is already available. Firefox is configured to download and install updates automatically, but users may speed up the process by selecting Menu > Help > About Firefox. The window that opens displays the current version of the browser. A check is run to find out if an update is available; if that is the case, it is downloaded and installed automatically on the system. The official release notes list three fixes... Read more