Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Lukas "lzap" Zapletal: Crop and resize video to get rid of borders

    We stream our community demos on youtube via Google Meet and there are borders on each side which makes the content to be smaller and less readable. Luckily, it is in the middle of the screen, so the following command will crop the image to its 1/1.29 of the size, stretch it back to 720p and reencodes it for YouTube copying the audio stream.

  • Linux Logical Volume Manager (LVM) tutorial

    Logical Volume Manager (LVM) is used on Linux to manage hard drives and other storage devices. As the name implies, it can sort raw storage into logical volumes, making it easy to configure and use.

    In this guide, you'll learn how LVM works on Linux systems. There's no better way to learn about LVM than simply running through an example, which is exactly what we'll do in the steps below. LVM works the same on any Linux distribution, so you can use any of the commands below on your own system.

    Follow along with us as we use LVM to create partitions, physical volumes, a virtual group, logical volumes, and filesystems on a hard disk. We'll also show how to mount, extend, and remove our newly created logical volumes. By the end of this tutorial, you'll have a full understanding of how to use LVM and apply your own configurations.

  • How to Install LAMP in Ubuntu in 3 steps

    In this article we are going to install the famous Linux Apache PHP and MySQL web services. The article is going to use the tasksel Ubuntu app.

  • How to Access Another Computer on the Same Network with Linux?

    There are many reasons for accessing another computer on the home or office network from your laptop or desktop.

  • How To Install macOS in a Virtual Machine on Ubuntu Linux

    QEMU is a virtual machine emulator and virtualizer which is quite similar to VMware and VirtualBox on Windows. Users often use QEMU alongside KVM as it provides a natively implemented virtual machine on the Linux kernel.

    The major advantage of QEMU is that it is very easy to set up and manage. Also, creating virtual machines from the command line has never been simpler with QEMU. You can also use a GUI interface with QEMU/KVM, and the preferred GUI manager of choice is virt-manager. Running virtual machines will provide you so with many other benefits as well.

    After you have finished testing a QEMU/KVM virtual machine and no longer need it, you can easily delete the virtual disk file associated with the virtual machine.

  • Grep Exclude Term

    Global regular expression print is a versatile terminal-based utility. As the name shows that it helps in searching the text within the file with the help of regular expressions. Grep is firstly originated as a Unix utility to run on that operating platform. After Linux configuration, it can access many applications on this operating system. Most Grep functions are included in the matching of the text of the file present in the command. Exclude function is also as useful as matching any pattern and displaying it because it helps remove the particular match from the file. It helps to exclude the word or words from the lines in a file. We can get help from the man page in the system by applying the below-appended command.

  • How to install Docker containers via Cockpit on Ubuntu 20.04 LTS

    The Cockpit is an easy solution to manage server resources remotely using the graphical web interface. It is not only light in weight but also present to install in most of the Linux repositories such as in popular Ubuntu, RedHat, Fedora, and CentOS to install with just a single command.

    Well, if we talk about Docker container management in Cockpit, then this really helpful to easily manage virtual machines or containers graphically. Yes, we can install and delete containers using few mouse clicks. No need to go through the command line to manage them. However, in Ubuntu 20.04 the Docker package for Cockpit is not available to install but we can do that manually by directly installing its Deb file. Here, we let you know how to do that in this tutorial.

  • Vim Reload Vimrc Without Closing – Linux Hint

    Vim is a versatile, fully accessible text editor that is also Vi-compatible. It is being used to make changes to any form of document. It comes in handy when modifying C/Perl/Python programs. It can also be used to modify configuration documents in Linux/Unix systems. /.vimrc is a document that you can use to configure and launch Vim. This article will show you how to update and reload the vimrc document in Linux despite rebooting the Vim editor.

  • LFCA: Learn Classes of Network IP Addressing Range – Part 11

    In Part 10 of the LFCA series, we brushed over the classes of IP addresses and gave examples of the commonly used IP classes. However, that was just an overview and in this part, we will dive deeper and gain more understanding about IP addressing range and the number of hosts and networks each class of IP provides.

  • Cpufetch - Check CPU information on linux terminal
  • How to check if a port is open on remote Linux system

    When installing or configuring an application in the Linux system, the associated port should also be open which allows the application for external access. If the application port is not open, it will make the program throw errors and hence malfunction.

    For instance, when you configure the Apache Web server on Linux, you must open ports 80 and 443 that listens to incoming connections for Apache on the firewall, and that allows users to access websites hosted on your web server through the browser.

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.