today's howtos
-
Day 43: grouping layers
Cascade layers can be grouped by nesting layer rules.
If you work on a large style sheet, you might want to create cascade layers to group different types of declarations. In order to give your layers even more structure and control, you can also group declarations within layers.
-
Day 42: aspect-ratio
Yes, I know, aspect-ratio is not the hottest shit, but Safari only starting supporting it in version 15 and there’s a lot I didn’t know about the property. That’s reason enough for me to write about it. :)
-
Why Do Configuration Changes Cause Outages?
From a glance, a good percentage of outages are caused by bad configuration changes – the 2021 global Facebook outage, the $440mm bad configuration that brought down Knight Capital in 2012, numerous global outages at Google Cloud, Microsoft Azure, Cloudflare, and other companies with serious engineering cultures. Why do configuration changes cause so many outages?
-
Installing Mastodon inside a FreeBSD jail
I've already installed and maganed Mastodon in the past, (as many do) as a Docker stack in a Linux machine. This time I decided to install Mastodon on a FreeBSD jail, managed by BastilleBSD.
There's not much documentation as everything related to Mastodon seems quite Linux-centric.
I'll describe a simple, one jail installation, not security oriented nor explaining any single option. If you're managing an instance, you should be skilled enough to understand what you're doing here. It would be better to separate the services (Redis, PostgreSQL, etc.) but, for simplicity, I'll just put everything in a nice single (movable) jail.
-
Hiding Theory in Practice
This sensitive nature makes it perhaps unsurprising that incident investigation and review facilitation come with a large number of concepts and practices you are told to avoid because they are considered counterproductive. A tricky question I want to discuss in this post is how to deal with them when you see them come up.
-
Hosting a Mastodon Instance on Raspberry Pi
On the Raspberry Pi site, they’ve posted an article by Pete Stevens on hosting your own Mastodon Instance (aka a server) using RBpi. They have spun up their own Instance using RBpi 4.
-
How To Deploy ONLYOFFICE Docs On Angular
Angular is a TypeScript-based free and open-source front-end application development framework widely used for building native mobile applications and creating desktop-installed apps for Linux, Windows, and macOS.
If you develop and run Angular-based applications, it might be a good idea to enable document editing and real-time collaboration within your service by integrating ONLYOFFICE Docs (ONLYOFFICE Document Server). Such integration is possible due to a unique component developed for the Angular framework by the ONLYOFFICE developers.
-
How to Install Docker on Ubuntu
Looking for the easiest way to install Docker in Ubuntu? Well, here you have it.
But before proceeding with installation, it is important to remove the old docker package (if you have any):
sudo apt-get remove docker docker-engine docker.io containerd runc Now, if you don't care about using a slightly old docker version, you can use the default repository for docker installation:
sudo apt install docker.io And that's it.
But if you want to use the most recent docker version, you will have to use the official repository for installation, and here's a detailed guide.
-
How to backup and restore an xfs filesystem using xfsdump and xfsrestore
XFS is a journaled filesystem originally developed by Silicon Graphics in 1993; it was released under the GPL license in the year 2000 and ported to the Linux kernel in 2001. Due to its high scalability and performances, XFS became the default filesystem in recent versions of Red Hat Enterprise Linux and its clones.
In this tutorial we see how to create and restore XFS backups using the xfsdump and xfsrestore utilities on Linux.
-
16 Practical Examples of Linux Find Command for Beginners
Find is one of the most frequently used Linux commands, and it offers a plethora of features in the form of command line options.
-
How To Install Lighttpd on Rocky Linux 9 - idroot
In this tutorial, we will show you how to install Lighttpd on Rocky Linux 9. For those of you who didn’t know, Lighttpd is an open-source web server that focused on simplicity and high performance. It supports several technologies, including PHP, FastCGI, Auth, SSL, URL rewriting, reverse proxy, load balancing, and much more. It has a small memory footprint usage than other popular web servers like Apache and Nginx and is capable of handling many concurrent connections.
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 Lighttpd web server on Rocky Linux. 9.
-
How to Install ExifTool on Linux Mint
ExifTool is a free, open-source software program for reading, writing, and manipulating metadata found in images, audio, and video files. Developed by Phil Harvey, ExifTool can read, write, and manipulate various metadata formats. In addition to the more well-known Exif and IPTC formats, ExifTool can also read and write multiple proprietary metadata formats. This makes it an essential tool for anyone working with digital media.
The following tutorial will demonstrate how to install ExifTool on Linux Mint 21/20 release using the default repository or manually downloading the latest archive and making and installing the application with cli commands and some additional common usage examples with ExifTool.
-
How to Install NVIDIA Drivers on Ubuntu Linux
The Nouveau driver is an open-source graphics device driver for Nvidia video cards. The driver is pre-installed in most Linux Desktop systems. You may need to install the official proprietary Nvidia Linux driver if you wish to squeeze as much power as possible from the Nvidia VGA card. The installation procedure is simple and only takes a few minutes. Once the driver is installed, you will need to restart your computer. After your computer has restarted, you can use all of the features of your Nvidia VGA card.
In the following tutorial, you will learn how to install NVIDIA Graphic Drivers on Ubuntu 22.10 Kinetic Kudu, 22.04 Jammy Jellyfish LTS, and 20.04 Focal Fossa using three methods that should suit most user requirements.
-
How to Install Tripwire IDS on Debian Linux
Intrusion detection is a crucial element of any defense strategy in today’s online world. Tripwire IDS is a reliable intrusion detection system that can help to identify changes made to specified files and directories. Tripwire IDS can detect intrusions and raise an alert by analyzing operating systems and applications, resource utilization, and other system activity. This allows organizations to take immediate action to mitigate the threat and protect their data. In addition, Tripwire IDS provides a comprehensive report of all changes made to the monitored system, allowing organizations to track down the source of the intrusion and prevent future attacks.
The following tutorial will teach you how to install Tripwire IDS on your Debian 11/10/Sid desktop or server using the command line terminal and first-time configuration set-up, which shows step-by-step instructions with screenshots to get you started.