Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How to create a Linux EC2 instance step by step on Amazon AWS

    Amazon EC2 (Amazon Elastic Compute Cloud) is a part of AWS product offerings, where users can rent virtual servers in the AWS public cloud. You pay for rented compute resources (CPU, memory, hard drive) at per-second granularity on a "pay-as-you-go" basis. For those of you who have just started with Amazon EC2, this tutorial covers a step-by-step procedure to create a Linux instance on AWS EC2 platform.

  • What’s with cp --reflink: failed to clone: Invalid argument?

    Most modern copy-on-write file systems, such as Btrfs and XFS, support file cloning. (OpenZFS being the notable exception.) However, the tools that support this space-saving innovation can be difficult to use. Here’s an example situation detailing how the simple copy (cp) command on Linux can make it hard to understand what’s going on.

    As an example, here’s a quick command set that will create a file and a directory, disable copy-on-write on the directory, and then attempt to clone the file into the directory. It uses commands from gnu-coreutils and e2fsprogs packages, and assumes you’re working on a file cloning-capable file system.

  • Set Up SSH Two-Factor Authentication (2FA) on CentOS/RHEL Server

    This tutorial will show you how to set up SSH two-factor authentication on CentOS/RHEL server using the well-known Google Authenticator. It will greatly improve the security of SSH service on your CentOS/RHEL server.

  • How to Install PHP 8.0 & PECL Extensions in Ubuntu 20.04, 18.04, 16.04 | UbuntuHandbook

    Want to install PHP 8.0 as well as many PECL extensions in your Ubuntu Server? Well there’s a well trusted PPA that contains the packages for all current Ubuntu releases.

    Ondřej Surý, a Debian Developer who maintains the official PHP packages in Debian, is maintaining an Ubuntu PPA that contains the latest PHP 5.6, PHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4, and PHP 8.0 packages as well as PECL extensions for all current Ubuntu releases.

  • Install and Configure Prometheus Monitoring on Kubernetes

    We are going to deploy Prometheus to monitor Kubernetes nodes and more.

  • Command to install Vmware tools on Ubuntu using terminal

    Vmware workstation Player is one of the best available virtualization platforms to run various Linux, Android, and Windows virtual machines. However, to adapt the host display and increase the performance of installed guest os or VMs it needs a set of tools called VMware Tools to install on Linux, Windows, and other supported OS.

    VMware tools let us enable guests to host or vice versa content copy-paste (clipboard), drag and drop facility to transfer folders and files, and let the guest os to adapt the resolution of the host display.

    Although we can install VMware Tools using the graphical options of VMware workstation player, however, on Linux this becomes a lot easier and straightforward with the help of a command-line terminal.

More in Tux Machines

TVs With Linux and Raspberry Pi Latest

  • From Plex to Jellyfin Media Server

    I migrated away from Plex just a week before its much over-publicized “security issues” last month. I just want to go on the record and say that my decision had nothing to do with this incident. The “security issue” boiled down to Plex not behaving ideally on mismanaged and insecure network configurations. In my opinion, Plex isn’t to blame for security errors in network configurations made by inexperienced network administrators.

  • The first Rockchip RK3566 TV box is out with H96 Max running Android 11

    Rockchip RK3566 is a quad-core Cortex-A55 processor with plenty of peripherals designed for AIoT and NVR applications. While it still supports features like high-dynamic range or video post-processing, it’s not really optimized for TV boxes, but this has not stopped the maker of H96 Max “8K UltraHD” TV box to launch an RK3566 model with 4GB RAM and 8GB RAM now sold for respectively $59.99 and $76.99 on Banggood.

  • Raspberry Pi Pico – Vertical innovation
  • Linux 5.13 To Support HDMI CEC With The Raspberry Pi 4

    While the 5.12 merge window hasn't even been closed for a full week yet, there is already the first DRM-Misc-Next pull request heading into DRM-Next with the first batch of feature material aiming for the Linux 5.13 kernel cycle. This initial batch of DRM-Misc-Next includes the removal of TTM memory management and Medfield support from the GMA500 "Poulsbo" driver that goes along with the rest of the Linux kernel dropping the Intel MID support for 5.12 and lingering remnants being removed with 5.13. There is also i.MX8MM support added to the MSXFB driver among many other random changes to these smaller drivers.

AMD Linux 5.12 and Linux 5.10.20

Ubuntu: Unbreaking Unbootable Ubuntu, Snaps Shrunk and More

  • Unbreaking Unbootable Ubuntu

    I run Ubuntu Hirsute - the development release which will become 21.04 - on a bunch of systems. It’s a trade-off though, getting the latest crack each and every day. Being at the bleeding edge of new packages landing means I can experience brand new shiny bugs on my systems. Bugs like 1915579 which rendered my system unbootable.

  • Honey, I Shrunk the Snap! | Ubuntu

    The year is 1989. I bought a computer game called F-16: Combat Pilot, a flight simulator featuring free-flight, five types of single-player missions, a full campaign mode, serial-port multiplayer, and then some. Gloriously wrapped in four colors and magnetized on two single-density 5.25-inch floppy disks. Total size: 680 KB. Nowadays, it is not uncommon for individual applications to weigh dozens if not hundreds of megabytes. But it doesn’t have to be that way. In Linux, you can save some space by using libraries that are shared across multiple applications (hence their name, shared libraries). When it comes to self-contained application formats like snaps, the tables are turned once again, as snaps bundle all the necessary dependencies inside, and thus take more disk space. If you want to make your snapped applications as small and lean as possible, we have a few neat suggestions. [...] The final artifact of the snap build process is a compressed squashFS file, with the .snap suffix. Originally, snaps were compressed using the xz algorithm, for highest compatibility with the widest range of devices. More recently, in order to help speed us snap launch times, we also introduced the use of the lzo algorithm, which results in 2-3x application startup times improvements. The main reason for this is the lesser compression used in lzo compared to xz, meaning the system needs fewer CPU cycles, and thus less time, to uncompress the snap on the system. However, it also introduces size inflation. [...] Disk utilization matters less now than it did a decade or two ago, but you can still try to make your applications small and tidy. This also helps reduce bandwidth usage, improves portability, and if you’re using system backups, reduces the time needed to copy all the relevant data. With snaps, there are many ways you can trim down on the digital excess, including the use of extensions, sparing use of necessary runtime dependencies, and pruning the extras from the prime directory. Not only will your snaps be smaller in size, you will also ensure higher consistency, better system integration and improve the application startup time. All these are important, highly noticeable elements of the user experience. If you have any other suggestions or ideas on how to conserve space or optimize snap creation, please join our forum and share your thoughts.

  • Canonical keynote at Embedded World 2021: Bosch Rexroth achieves complete IoT automation with Ubuntu Core

    series that’s already being used in the current stable release, Ubuntu 20.10 (Groovy Gorilla). But that good news I want to share with you today is the fact that Ubuntu 21.04 will also offer several apps from the GNOME 40 stack.

  • Bad Voltage 3×24: Weaponised Rooster

    Stuart Langridge, Jono Bacon, and special guest star Alan Pope present Bad Voltage, in which we are large and in charge, there is ancient history about electricians and phones...

IBM/Red Hat: Kafka Monthly Digest, Red Hat Upselling, and Cockpit 239

  • Kafka Monthly Digest – February 2021

    This is the 37th edition of the Kafka Monthly Digest! In this edition, I’ll cover what happened in the Apache Kafka community in February 2021.

  • 5 ways Red Hat Insights can improve your sysadmin Life

    The way we do things is changing fast. This has become a necessity as our systems get more complex, our workloads evolve, and our deployments rapidly grow in size. Thanks to the innovations brought about by openness and collaboration, we can develop tools and services to cope with these quickly evolving times. For us to reap the benefits of these advancements, we should open ourselves to carefully exploring how various tools suit our requirements and fit into or change our norms. By doing so, we may simplify a lot of our mundane tasks, reduce overhead, and address the major pain points in our operations. Having worked as a sysadmin in the past, I've discovered many automation tools and services that have made my life easier. One of the most recent is Red Hat Insights. In this article, I share five ways this service that is included with your Red Hat Enterprise Linux (RHEL) subscription can improve your life as an admin.

  • Cockpit Project: Cockpit 239

    Cockpit is the modern Linux admin interface. We release regularly. Here are the release notes from Cockpit version 239.