Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How to Install Latest Vim Editor in Linux – TecAdmin

    Vim (Vi Improved) is a highly configurable command line text editor for Unix like systems. It is originally cloned with VI POSIX standard editor with additions.

    Vim comes standard with most modern Linux distributions, but some of the minimal installation doesn’t include vim editor default. This tutorial will help you to install Vim text editor on your Linux system.

  • How To Install XFCE Desktop on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install XFCE Desktop on Ubuntu 20.04 LTS. For those of you who didn’t know, XFCE is one of the most popular desktop environments for Linux desktop. XFCE is a free lightweight, fast, and easy to use software desktop environment for Unix/Linux-like operating systems. It is designed for productivity and aims to be fast and low on system resources. Unlike GNOME and KDE desktops which are heavier, but XFCE uses fewer system resources. Furthermore, it offers better modularity and fewer dependencies to install and takes less time and low disk space on your hard drive.

    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 XFCE lightweight desktop environment 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 read column data from a text file in a bash shell script

    One common task in day-to-day shell scripting jobs is to read data line by line from a file, parse the data, and process it. The input file can be either a regular text file (e.g., logs or config files) where each line contains multiple fields separated by space, or a CSV file that is formatted with delimiter-separated values in each row. In bash, you can easily read columns from a file and store them into separate variables for further processing. In this tutorial, let me demonstrate with examples how you can write a shell script that reads columns into variables in bash.

  • How To Prevent PHP-FPM From Consuming Too Much RAM in Linux

    If you have deployed a LEMP (Linux, NGINX, MySQL/MariaDB, and PHP) stack, then you are probably using FastCGI proxying within NGINX (as an HTTP server), for PHP processing. PHP-FPM (an acronym of FastCGI Process Manager) is a widely-used and high-performance alternative PHP FastCGI implementation.

  • Set your path in FreeDOS | Opensource.com

    Generally, you probably want to keep C:\PDOS\BIN in your path because it contains all the default applications distributed with FreeDOS.

    Unless you change the path in AUTOEXEC.BAT, the default path is restored after a reboot.

    Now that you know how to manage your path in FreeDOS, you can execute commands and maintain your working environment in whatever way works best for you.

  • David Tomaschik: Is Reusing an Old Mac Mini Worth It?

    The last version of Mac OS that was supported is Mac OS X 10.7 “Lion”, which has been unsupported since 2014. Since I’m a Linux guy anyway, I figured I’d see about installing Linux on this. Unfortunately, according to the Debian wiki, this device won’t boot from USB, and I don’t have any blank optical media to burn to. This was the first point where I nearly decided this wasn’t worth my time, but I decided to push on.

    Linux is pretty good about booting on any hardware, even if it’s not the hardware you installed on, as kernel module drivers are loaded based on present hardware. I decided to try installing to a disk and then swapping disks and seeing if the Mac Mini would boot. The EFI on the Mac Mini supports BIOS emulation, and that seemed the more likely to work out of the box.

    I plugged a spare SSD into my SATA dock and then used a virtual machine with a raw disk to install Debian testing on the SSD. I then used the excellent iFixIt teardown and my iFixit toolkit to open the Mac Mini and swap out the drive. I point to the teardown because opening a Mac Mini is neither obvious nor trivial.

    [...]

    During all of these tests, I had the Mac Mini plugged into a Kill-A-Watt Meter to measure the power consumption. Idling, it’s around 20 watts. Under one of these load tests, it reaches about 45-49 watts. Given that the Raspberry Pi 4B only uses around 5W under full load, the Pi 4B absolutely destroys this Mac Mini in performance-per-watt. (Note, again, this is an old Mac Mini – it’s no surprise that it’s not an even comparison.)

    [...]

    Given the lack of expandability, the mediocre baseline performance, and the very poor performance per watt, I can’t see using this for much, if anything. Running it 24/7 for a home server doesn’t offer much over a Raspberry Pi 4B, and the I/O is only slightly better. At this point, it’s probably headed for the electronics recycling center.

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.