Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How To Install and Set Up WordPress with Ansible

    WordPress is considered one of the best and easiest content management system (CMS) tools. It doesn’t require any coding skills and web-developing skills to get started with WordPress. There are many ways to install the WordPress CMS on a server to localhost, and some of them are easy, and others are a bit trickier. You can set up WordPress with Ansible despite the conventional method of installing WordPress and other CMS applications. Moreover, Ansible is available for Windows, Mac, and Linux.

  • How to Install or Upgrade to Linux Kernel 5.14 on Debian 11 Bullseye - LinuxCapable

    Linux kernel 5.14 is out and is famous for testing out with many new features, support, and security. The Linux 5.14 kernel release has gone through seven release candidates over the last two months and benefits from the contributions of 1,650 different developers. Those that contribute to Linux kernel development include individual contributors and prominent vendors like Intel, AMD, IBM, Oracle, and Samsung.

  • How to install Shoutcast Server on CentOS 8 - Unixcop

    Shoutcast is proprietary software that is being used to stream media over the Internet, especially used in music live streaming by the radio stations on Internet. It is specially for creating or listening to Internet audio broadcasts. Shoutcast allows us to broadcast a stream of music to the remote client connected to the server.

    Once Shoutcast is in your server, you can use media players like Winamp or Mixxx to connect to a streaming server and broadcast audio playlists to the Internet.

    This tutorial covers installation of Shoutcast on CentOS 8.

  • How To Use Tail Command
  • How to Install Rootkit Hunter in Linux - Unixcop

    rkhunter (Rootkit Hunter) is is an open-source Unix/Linux based security monitoring and analyzing tool. It is a shell script which carries out various checks on the local system to try and detect known rootkits and malware.

    rkhunter is a Unix-based tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing SHA-1 hashes of important files with known good ones in online databases, searching for default directories (of rootkits), wrong permissions, hidden files, suspicious strings in kernel modules, and special tests for Linux and FreeBSD. rkhunter is notable due to its inclusion in popular OS (Fedora, Debian, etc.)

    The tool has been written in Bourne shell, to allow for portability. It can run on almost all UNIX-derived systems.

    This article will help you with the installation and config. rkhunter.

  • Setting up Zswap in Debian 11 GNU/Linux. – BaronHK's Rants

    A compressed cache, or Zswap, sitting between your physical memory and your SWAP partition can yield benefits, whether you have a lot of RAM, or very little.

    In the case of a low memory system, you risk running out, swap thrashing, and either lots of unnecessary writes to an SSD (which only have so many before they’re finished) or swapping out to a hard drive, which is terribly slow.

    In the case of a large memory system, well, it’s still not a good idea to run without a SWAP partition, because your needs can always be bigger than the amount of RAM available.

    The OOM-KILLER (or to a lesser extent EarlyOOM) is not your friend.

    If you run out of memory and there is no swap available, the OOM-KILLER (or the iron fist in a velvet glove, EarlyOOM) fires up and starts KILLING (hence the name) things that it thinks will help keep the system up. On a desktop, this could be literally anything, although it’s always more likely to be something that’s using a ton of memory.

  • How to install and configure Icinga2 and Icinga2 Web on CentOS 8 - Unixcop

    Icinga 2 is a free and open source monitoring tool designed to be scalable and extensible. Icinga 2 checks the availability of your network resources, notifies users of outages, and generates performance data for reporting. We can monitor large and complex environments across multiple locations using Icinga2.

    We can also setup Icinga2 with high availability clusters with a distributed setup for large / complex environments.

    In this guide we will learn how to install and configure Icinga 2 and Icinga Web 2 on CentOS 8.

  • Further reducing write amplification to an SSD in Debian GNU/Linux. Put /tmp in RAM.

    Most GNU/Linux distributions put the /tmp folder (where all sorts of temporary files the OS needs to have around for a little while go, as the name implies) on a RAM drive, using tmpfs.

    Debian, it appears, doesn’t. Having /tmp mounted on an SSD in a modern computer will cause many unnecessary writes to the SSD and will contribute to the drive wearing out too quickly.

    I did some investigating and the Debian Wiki gives two ways to enable /tmp on a RAM drive.

    You can either edit /etc/fstab by hand, but it’s easier to screw something up if you do, or you can just let systemd handle it. Since systemd has a service for this, why not just let it do that?

    Open a terminal:

    sudo cp /usr/share/systemd/tmp.mount /etc/systemd/system/

    sudo systemctl enable tmp.mount

    After that, you can reboot and the OS should just clear the temp folder, come back up, and mount /tmp on tmpfs.

    You can verify this with:

    mount | grep /tmp

    It should say something like:

    tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=409600)

    I hate systemd.

    God knows we’ve had much more trouble out of it than it was ever worth, and Debian should have known better than to bring it in. I would have much preferred Upstart.

  • How To Install Memcached on Debian 11 - idroot

    In this tutorial, we will show you how to install Memcached on Debian 11. For those of you who didn’t know, Memcached, the high-performance, distributed memory object caching system, is extremely useful in speeding up dynamic web applications by alleviating database load. This reduces the number of times an external data source must be read, which lowers overheads and speeds up response times. The memory caching software is a free, open-source project that anyone can use.

    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 Memcached on a Debian 11 (Bullseye).

  • How to Disable Touchpad While Typing in Ubuntu (When Built-in Option Not Working) | UbuntuHandbook

    While typing in my Ubuntu laptop, I was often making mistakes by tapping on touch-pad accidentally. The text cursor (aka caret) jumped to another place, and/or app window lost focus. It made me crazy since the built-in ‘disable touchpad while typing‘ option does not function in my HP laptop.

    GNOME has the option to disable touchpad while typing, which is enabled out-of-the-box in current Ubuntu releases. Users may access the settings either via ‘/org/gnome/desktop/peripherals/touchpad/’ in Dconf Editor or using Gnome Tweaks tool.

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.