today's howtos
-
How To Setup AppArmor on Ubuntu 22.04 LTS
In this tutorial, we will show you how to setup AppArmor on Ubuntu 22.04 LTS.
-
How To Install GitLab on Fedora 37
In this tutorial, we will show you how to install GitLab on Fedora 37.
-
How to Create a Linux Virtual Machine in Hyper-V
This video explains how to use the Hyper-V Manager to create Linux virtual machines. You’ll learn the standard process, as well as the Quick Create method.
-
How to Check What Display Server in Use: Wayland or Xorg?
Xorg and Wayland are the main display servers in Linux. Xorg, (X Display Server) is the legacy display server...
-
Test a Linux kernel USB Device Controller driver with testusb
At Bootlin, we recently developed from scratch a new Linux kernel for the USB Device Controller found in the Renesas RZ/N1 processor. This driver is already accepted upstream, is currently visible in linux-next and should hopefully be part of the upcoming Linux 6.3 release.
-
Automate OpenStack using Ansible
I demonstrated how I manage OpenStack using Terraform in my previous article. Using Terraform as Infrastructure as Code (IaC) is a significant advantage, but it also requires the staff to support it. Sometimes, all you really need is the ability to provision infrastructure as timed resources, with no intention of building lasting data structures. When I design a flexible environment, I prefer the declarative language of Ansible.
Ansible's flexibility allows me to design for use cases that include:
- A test environment that's timed and can be deleted after use.
- A training environment provided for a specific amount of time and then destroyed.
- Moving from a manual to an automated infrastructure when Terraform is difficult because it maps your existing infrastructure.
-
How to Install Netdata Monitoring Tool on Ubuntu 22.04
Netdata is a free and open-source performance and health monitoring solution for Linux, macOS, and FreeBSD. It provides real-time statistics and allows you to monitor cloud-based servers, containers, and your entire IT infrastructure.
-
How to Manage Packages with APT on Ubuntu
APT also known as Advanced Packaging Tool is the command-line tool for managing packages in Debian-based distributions like Debian and Ubuntu. In this tutorial, we will explain how to manage packages using APT command line tool on Ubuntu.
-
Syslog-ng 101, part 8: Macros and templates
This is the eighth part of my syslog-ng tutorial. Last time, we learned about network logging. Today, we learn about syslog-ng macros and templates. At the end of the session, we will know how to do a simple log rotation using macros.
-
Peter Czanik: Syslog-ng 101, part 8: Macros and templates
-
Configure a container to start automatically as a systemd service [Ed: Vendor lockin]
-
How to Install and Configure GlusterFS on Ubuntu 22.04
GlusterFS is a free, open-source and software-defined distributed storage developed by Gluster Inc, and then by Redhat. It provides interfaces for object, block, and file storage and is used for high data-intensive workloads such as cloud storage, CDN, and media streaming.
-
How to Install Laravel with Docker on Ubuntu 22.04
Laravel is a free and open-source PHP framework that provides a set of tools and resources to build modern PHP applications. This guide will use Docker Compose to containerize a Laravel application for development.
-
How to Setup Jenkins Master and Slave on Ubuntu
Jenkins is an automation server with support for many SCM (Source Control Management) systems including Git, SVN, and Mercurial. Jenkins provides hundreds of plugins to automate your project. In this tutorial, we will learn how to set up Jenkins master-slave architecture using the latest Ubuntu version Ubuntu. We will learn to set up the Jenkins master server, and then add other Ubuntu nodes as Jenkins slaves.
-
Mirror Your Web Site With rsync
This tutorial shows how you can mirror your web site from your main web server to a backup server that can take over if the main server fails. We use the tool rsync for this, and we make it run through a cron job that checks every x minutes if there is something to update on the mirror. Thus your backup server should usually be up to date if it has to take over.
-
How to Install Fork CMS in Ubuntu Server 22.04
Fork is an open-source content management system for beginners and professionals. It is designed to create a user-friendly environment to build, monitor, and update your website. This tutorial will show you how to install Fork CMS with Apache and Let's Encrypt SSL on Ubuntu 22.04.
-
How to limit CPU usage with CPULimit on Ubuntu Linux
This tutorial describes how to limit CPU usage in Ubuntu. I will use CPU-limit utility for this purpose. Cpulimit is a tool which limits the CPU usage of a process (expressed in percentage, not in CPU time). It is useful to control batch jobs when you don't want them to eat too many CPU cycles. The goal of cpulimit is to prevent a process from running for more than a specified time ratio. It does not change the nice value or other scheduling priority settings, but the real CPU usage.
-
error: cannot open ‘.git/FETCH_HEAD’: No space left on device
After moving the poudriere jail (pkg01) to the new host (r730-01), I noticed this message from Nagios: [...]
-
Layer 2 – relating IP and MAC addresses using ARP
Introduction In computer networks, layer 2 and layer 3 protocols play an important role in communication. Layer 2 protocols deal with the data transmission over a single link while layer 3 protocols are responsible for routing data between multiple networks.
-
Network basics – the OSI model
The world of computer networks can be confusing, especially if you are new to the field. However, once you understand the basic building blocks of a network, it becomes much easier to understand how data is transmitted and received.
-
Window functions in MySQL
Window functions are a new feature that was introduced in MySQL 8.0 and they have the ability to perform advanced analytics within the database itself. With these functions, users can perform operations like running totals, moving averages, and ranking without having to write complex subqueries or temporary tables.
-
MAC address OUI values
A MAC (Media Access Control) address is a unique identifier assigned to a network interface controller (NIC) for use as a network address in communications within a network segment.
-
Layer 4 – how TCP and UDP ports work
When it comes to computer networking, there are various protocols and technologies that are used to establish communication between devices. Layer 4 of the OSI model is one such technology that plays a crucial role in this communication.
-
Create Home Directory for Existing Users in Linux
Created a user but without the home directory? Worry not. You can add home directory for existing users too. Here's how to do that.
-
Configuring Nginx to Handle 100 Thousands Request Per Minute
In today's fast-paced digital world, businesses need to be able to handle large amounts of web traffic to stay competitive. One way to achieve this is by using a high-performance web server like Nginx. Configuring Nginx to handle 100,000 requests per minute requires a well-optimized and tuned server.