Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How to Install Magento 2 on Ubuntu 20.04

    In this guide, we will show you how to install Magento 2 with LEMP stack on an Ubuntu 20.04 VPS.

    Magento is one of the most popular open-source e-commerce platforms available, thanks to its customizability and flexibility. It is created using the Zend Framework and uses MySQL as its database management system. Magento provides online merchants with a very flexible shopping cart and it comes with a rich set of features.

    Installing Magento 2 on Ubuntu 20.04 should take less than 10 minutes to complete. Let’s get started with the tutorial.

  • How to create an RPM package from a tarball

    Creating RPM package files can be both as easy or complicated as you desire. If you're needing to create an RPM package from a tarball (.tar.gz) that a vendor sent you, this tutorial will be beneficial for you. In this tutorial, I will describe a step-by-step procedure for building an RPM package from a tar file. The procedure includes creating the required directory structure, configuring a .spec file required for the rpmbuild process, and building and installing the RPM package. An additional step is added for those who may need to create more RPM packages in the future via a skeleton file.

  • CrowdSec - Open Source Security Automation Tool - Putorius

    CrowdSec is a massively multiplayer firewall designed to protect Linux servers, services, containers, or virtual machines exposed on the internet with a server-side agent. It was inspired by Fail2Ban and aims to be a modernized, collaborative version of that intrusion-prevention tool.

    CrowdSec is free and open source (under an MIT License), with the source code available on GitHub. It is using a behavior analysis system to qualify whether someone is trying to hack you, based on your logs. If your agent detects such aggression, the offending IP is then dealt with and sent for curation. If this signal passes the curation process, the IP is then redistributed to all users sharing a similar technological profile to “immunize” them against this IP.

  • Ubuntu Blog: Creating Graphical Shells – Try Mir in a Virtual Machine

    Mir works with the modern Wayland protocol which, in principle, provides many advantages over the traditional X protocol used by legacy systems. With Wayland becoming more widely supported the practice is now catching up with the theory.

    There are a range of graphical shells created with Mir ranging from the simple “kiosk” used for IoT by the mir-kiosk snap to the Lomiri shell used by the Ubuntu Touch phone.

    We have made it simple to try out a range of Mir-based shells in a virtual machine. This should give you some idea of the possibilities of using Mir.

  • Creating and merging PDFs on Linux | Network World

    There are a number of ways that you can create PDFs on a Linux system. You can use an application like LibreOffice or OpenOffice, or you can take advantage of any of a number of commands that can generate PDFs from text files or from a group of other file formats. There are also a number of ways that you can merge a group of PDFs into a single PDF file.

  • 10 Useful Websites for Learning PostgreSQL Database System

    PostgreSQL (also known as Postgres ) is the world’s most popular and advanced open-source enterprise-grade object-relational database management system (ORDMS). PostgreSQL has a broad variety of community and commercial support choices accessible for users.

    The PostgreSQL community and other online learning resource providers, provide many helpful resources to become familiar with PostgreSQL, discover how it works, and learn/master how to use it.

  • Access Clipboard Contents Using Xclip and Xsel In Linux

    In this guide, we are going to learn what Xclip and Xsel programs are, and how to manipulate and access Clipboard contents using Xclip and Xsel programs in Linux.

    What are Xclip and Xsel programs?

    Xclip is a command line interface to X selections i.e. Clipboard. Xclip reads the data from one or more files and makes the data available as an X selection for pasting the data into X applications. If no files are specified, it reads data from the standard input. It can also print the X selection to the standard output.

  • How to Install Blender 2.92 in Ubuntu 20.04, 20.10 via PPA

    For those prefer installing apps via the classic apt method, you can now install Blender 2.92 via PPA in Ubuntu 20.04, Ubuntu 20.10, and also Ubuntu 16.04, Ubuntu 18.04.

    The open-source 3D modeller software Blender 2.92 was released a few days ago. Features “a completely new workflow for editing meshes, new physics simulation methods, faster Cycles rendering, better compositing with Eevee, and so much more.”

    Blender offers official Snap package, which runs in sandbox, and is available to install directly from Ubuntu Software. As well, a Linux portable package is available to download in its website. For those prefer the classic deb packages, Thomas Schiex’s PPA has made it for Ubuntu 20.04 and Ubuntu 20.10 users.

  • How to Install and Use GVM Vulnerability Scanner on Ubuntu 20.04

    GVM also called "Greenbone Vulnerability Management" is an open-source vulnerability scanning and management software that provides a set of network vulnerability tests to find security loopholes in systems and applications. This is an all-in-one suite of tools used by many security experts and normal users around the world.

    In this tutorial, we will show you how to install and configure GVM on Ubuntu 20.04 server.

  • How to Get Started Using Linux

    New to Linux and not sure how to get started? It's easier than you might think. Whether you're coming over from the macOS or Windows side, or just Linux-curious, you're sure to gain useful knowledge from this beginner's guide to using Linux.

  • How To Install Python 3.9 on Ubuntu, Debian & LinuxMint

    Python is an object-oriented, high-level programming language. The Python 3.9 stable version has been released with several improvements and security updates. Which included multiple new modules and improved existing modules and new features.

    As of today, Python 3.9 is the latest stable version available for production used. Most of the Debian based Linux distribution’s includes older version of Python in software repositories. Also the Debian packages are not available for all distributions. In this tutorial you will learn to compile Python 3.9 from source code and install on Debian based systems.

    This tutorial will help you to how to install Python 3.9 on Ubuntu, Debian, and LinuxMint systems using source code.

  • How To Install DirectAdmin on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install DirectAdmin on Ubuntu 20.04 LTS. For those of you who didn’t know, DirectAdmin is a web hosting control panel providing a graphical interface and automation tools to simplify server and account management. Features include E-mail, FTP, DNS and web management, Statistics, Apache configuration, User and reseller management, and more.

    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 the DirectAdmin control panel 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 AUR in Arch Linux - Make Tech Easier

    If you’re using Arch Linux or an Arch-based distribution like Manjaro, Archbang, or EndeavourOS, you’ve probably seen the term AUR. What is it? How can you use it? Find out what AUR is and how to use AUR in Arch Linux.

    What Is AUR?

    The Arch User Repository (AUR) is a place where you can find software that’s not tested by Arch’s creators and maintainers but by its users. Thanks to this, you can access more software that’s not in the official repositories.

  • How to migrate CentOS 8 to AlmaLinux - YouTube

    AlmaLinux is an exciting new distribution, that aims to carry on CentOS (as we used to know it). In this video, I show of a migration script that can be used to migrate from CentOS8 to AlmaLinux, in place.

  • How to use NMAP command to test Server/Network Security - The Linux GURUS

    NMAP command (short for Network Mapper) is an open-source network security tool & is the best port scanner for your server/network. Nmap command is widely used for auditing the network security & also for the penetration testing of your networks.

    It displays the open or exposed ports or services on your or another target machine/network & along with that, it will also provide other information of the system like Operating system, etc.

    Another way that we can use Nmap is for “Network Discovery”.

  • How to fix apt's "the following packages have been kept back" issue

    Have you ever run sudo apt-get upgrade, only to be told there are packages that will be kept back? What this warning means is that the dependencies have changed on one of the software packages you have installed, and if upgrading that dependency would cause problems with the standard upgrade, the dependency in question is kept back.

    In other words, it's a precaution to prevent upgrades from breaking. Of course, you can always get around that by issuing the following command:

    sudo apt-get dist-upgrade

    However, that can be dangerous, as it may remove packages to resolve rather complex dependency problems. It's an issue that can be tricky to resolve, but not really. There are a couple of ways to resolve this issue.

More in Tux Machines

Top 6 Web Server Performance Testing Tools

Web server benchmarking is a way of determining the performance of a web server with the aim of establishing how well it copes under a sufficiently high workload. Performance testing is important to help maintain continuous system performance. The performance of a web server can be expressed in a number of different ways including the number of requests served within a certain time, the latency response time for each new connection or request, or the throughput. The open source Linux benchmarking tools featured in this article enable the performance of a web server to be tested prior to releasing it in a production environment. Accurately testing a web server is quite a challenging activity. This is, in part, because a web system is a distributed system. Further, Hypertext Transfer Protocol, the application protocol for hypermedia information systems, can cause connection usage patterns that the Transmission Control Protocol was not designed for. Moreover, problems are generated in testing the performance because of the sheer dynamism of a web server. Read more

reTerminal – A Raspberry Pi CM4 based 5-inch HMI Terminal

Seeed Studio has just unveiled reTerminal HMI terminal that reminds me of the company’s Wio Terminal based on Microchip SAMD51 Arm Cortex-M4F microcontroller with a 2.4-inch display. But as we’ll look into the details, reTerminal is quite a different beast as a Linux-capable device powered by a Raspberry Pi CM4 module with up to 8GB RAM, equipped with a 5-inch capacitive touchscreen display, and supporting plenty of connectivity options from GIgabit Ethernet to WiFi to LoRaWAN. Read more

today's howtos

  • LFCA: Learn Binary and Decimal Numbers in Network – Part 10

    In Part 9 of the LFCA series, we covered the basics of IP addressing. To better understand IP addressing, we need to pay more attention to these two types of IP address representation – binary and decimal-dotted quad notation. As mentioned earlier, an IP address is a 32-bit binary number that is usually represented in decimal format for ease of readability. The binary format uses only the digits 1 and 0. This is the format that your computer comprehends and through which data is sent across the network. However, to make the address human-readable. It is conveyed in a dotted-decimal format which the computer later converts into binary format. As we stated earlier, an IP address is made up of 4 octets. Let’s dissect the IP address 192.168.1.5.

  • 6 advanced tcpdump formatting options

    The final article in this three-part tcpdump series covers six more tcpdump packet capturing trick options.

  • 5 Funny Commands to use in Linux and Terminal

    Not everything in Linux is serious, fortunately we can find fun programs created for the sole purpose of entertaining us. You may be wondering why? Well, because we are human and at the end of the day we need a little variety, laughter and maybe a drink on the train. And yes, speaking of the train, let’s introduce you to the first fun command-type application in Linux.

  • Ubuntu Blog: Should you ever reinstall your Linux box? If so, how?

    Broadly speaking, the Linux community can be divided into two camps – those who upgrade their operating systems in-vivo, whenever there is an option to do so in their distro of choice, and those who install from scratch. As it happens, the former group also tends to rarely reinstall their system when problems occur, while the latter more gladly jump at the opportunity to wipe the slate clean and start fresh. So if asked, who should you listen to? The question of system management in Linux is a complex one, with as wide a range of answers as there are distributions. In this blog post, we discuss the concept of reinstall, and whether it’s necessary. Then, we address several other closely related ideas like system imaging, full disk encryption, and data backups. [...] System problems are an unfortunate side effect of software usage. With some luck and operational discipline, you can avoid most of them. When they do happen, you want to know what to do. Reinstalling your Linux system is always an option, but it’s usually not necessary, even for various difficult, complex problems. Even if you do decide to reinstall, you should consider using a live session to inspect the system or perform any last-minute backups, have a solid backup procedure in place regardless, and weigh the benefits of encryption against your day-to-day needs and risks. System images can also help you reduce the hassle of getting back to speed when you do decide to “reset” your distro. That’s all we have on Linux reinstallations. If you have any comments or suggestions, please join our forum, and let us know your thoughts.

Star Labs Launches Coreboot Configurator for Its Linux Laptops

After many months of hard work, last month, Star Labs finally added support for installing the Coreboot open-source firmware in its Star LabTop Mk IV and Star LabTop Mk III Linux laptops, giving users faster boot times and a more secure boot experience where they have full control over their hardware. Today, Star Labs announced a new version of Coreboot that fixes various bugs, along with Coreboot Configurator, a new app that lets owners of its Linux-powered laptops to change various settings of the Coreboot open-source firmware via the nvramtool command-line utility. Read more