today's howtos
-
How to Install & Configure Redis 7 on Rocky Linux 9 | Mark Ai Code
Redis is an in-memory data structure store that may be used as a distributed, in-memory key-value database, cache, and message broker, with the option of configurable durability. Strings, lists, maps, sets, sorted sets, HyperLogLogs, bitmaps, streams, and spatial indices are among the abstract data structures supported by Redis.
-
My uncertainty over whether an URL format is actually legal
I was recently dealing with a program that runs in a configuration that sometimes misbehaves when you ask it to create and display a link to a relative URL like '/'. My vague memory suggested an alternative version of the URL that might make the program leave it alone, one with a schema but no host, so I tried 'https:/' and it worked. Then I tried to find out if this is actually a proper legal URL format, as opposed to one that browsers just make work, and now I'm confused and uncertain.
The first relatively definite thing that I learned is that file URLs don't need all of those slashes; a URL of 'file:/tmp' is perfectly valid and is interpreted the way you'd expect. This is suggestive but not definite, since the "file" URL scheme is a pretty peculiar thing.
An absolute URL can leave out the scheme; '//mozilla.org/' is a valid URL that means 'the root of mozilla.org in whichever of HTTP and HTTPS you're currently using' (cf). Wikipedia's section on the syntax of URLs claims that the authority section is optional. The Whatwg specification's section on URL writing requires anything starting with 'http:' and 'https:' to be written with the host (because scheme relative special URL strings require a host). This also matches the MDN description. I think this means that my 'https:/path' trick is not technically legal, even if it works in many browsers.
-
logcheck – egrep: trailing backslash (\)
When updating to FreeBSD 13.1, I started getting these messages from sysutils/logcheck:
egrep: trailing backslash (\)
This post will document how I tracked down the problem. It is occurring on several hosts.
-
How to Install Flatpak Apps in Ubuntu and Other Linux
Flatpak is the new way of distributing apps across the Linux universe, irrespective of the distribution. This cross-distro application distribution and deployment framework enable developers to Flatpak setup for apps for all major distributions.
The major hurdles in any Linux app distribution are dependencies, and Flatpak covers that. Flatpak builds bundles the dependencies for the respective apps, and end-users need not worry about it.
With the growing trends, many app developers are now providing the Flatpak builds along with traditional packages, e.g. *.deb, etc. With a quick setup for your distributions, you can be ready to explore the world of Flatpak apps. All the major Flatpak apps are available on flathub.org. You can search and just click a button, you can install the Flatpak apps. Here’s how to set it up for Ubuntu and other Linux distributions.
-
How To Install MySQL on Rocky Linux 9 - idroot
In this tutorial, we will show you how to install MySQL on Rocky Linux 9. For those of you who didn’t know, MySQL is an open-source, cross-platform, and one of the most widely used Relational Database Management Systems (RDMS) and distributed by the Oracle Corporation. MySQL has been in production use for over 20 years and is considered one of the most secure and reliable database systems.
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 MySQL 8 on Rocky Linux. 9.
-
How to set up Kubernetes Cluster on Ubuntu 22.04 with kubeadm and CRI-O
Kubernetes is an open-source container orchestration system for automating software deployment, scaling, and management. Google originally designed Kubernetes, but the Cloud Native Computing Foundation now maintains the project. It groups containers that make up an application into logical units for easy management and discovery.
Kubeadm is a tool used to build Kubernetes (K8s) clusters. Kubeadm performs the actions necessary to get a minimum viable cluster up and running quickly.
In this guide we will learn how to use kubeadm to set up a kubernetes cluster in Ubuntu 22.04.
-
How to Install cURL on Linux Mint 21 LTS
cURL is a software tool that allows you to transport data between two computers utilizing a number of protocols, including HTTP, FTP, and even email. cURL is frequently used for web development activities such as website testing and obtaining files from a remote server. However, it has considerably more capabilities. With a little imagination, cURL can be used to automate a wide range of activities, making it a very handy tool for both developers and system administrators.
cURL’s capacity to execute instructions on a remote machine is one of its most powerful capabilities. This may be used to execute scripts or programs on another machine, which is incredibly handy for automating jobs or executing complicated operations that would be impossible to conduct manually. For example, you might use cURL to automatically download and install updates on a remote server, saving you the time and effort of manually signing in and completing the updates.
cURL may, of course, be used for more routine activities, such as moving data between two systems. This is useful if you need to rapidly transmit a file from one system to another without having to set up a full-fledged file transfer protocol like FTP. Furthermore, cURL may be used to download whole websites, which can aid in the creation of offline backups or mirror sites.
Overall, cURL is an extremely flexible tool that may save you a significant amount of time and effort when working with data across many platforms. CURL is worth understanding whether you want to automate operations or transfer data.
In this guide, you will learn how to install the newest version of the cURL package using the command line interface and a well-known LaunchPAD PPA that supplies the current version for the Linux Mint 21 LTS release series.
-
How OpenShift Serverless Logic evolved to improve workflows | Red Hat Developer
Serverless is an advanced cloud deployment model that aims to run business services on demand, enabling enterprises to save infrastructure costs tremendously. The benefit of serverless is an application designed and developed as abstract functions regardless of programming languages. This article describes how the serverless and function models have evolved since they were unleashed upon the world with AWS Lambda and what to look forward to with Red Hat OpenShift serverless logic.
-
How to install GIT on Ubuntu 22.04
In this post for newbies, you will learn how to install GIT on Ubuntu 22.04 Simple? Yes, but for those who just want to give Linux a try, it could be quite useful.
-
How to Install Git on Linux Mint 21 LTS
The most popular of all version control systems is Git. Developed in 2005 by Linus Torvalds, it was created for developers working on the Linux operating system kernel but has since been adopted as an extensively used tool amongst collaborative efforts and often has hundreds of people contributing to these projects with commits happening at any given time making tracking contributions difficult without using something like Google Docs or Dropbox which while useful still doesn’t provide quite what you need when managing changes interactively throughout your local environment.
The following tutorial will teach how to install Git on Linux Mint 21 LTS release series with three different methods using the command line terminal and basic Git commands of everyday use.
-
How to Install Redis on Rocky Linux 9
Redis is an open-source database frequently used as a cache or message broker. Unlike other databases, Redis stores data in memory, making it significantly faster. In addition, Redis supports a wide range of data structures, including strings, hashes, lists, sets, sorted sets, bitmaps, and streams. This makes Redis an incredibly versatile tool that can be used for various purposes. Redis also provides high availability with its Sentinel software logic, which automatically partitions data across multiple servers, ensuring no single point of failure exists. As a result, Redis is a robust and reliable database that is well-suited for various applications.
In the following tutorial, you will learn how to install Redis on Rocky Linux 9 workstation or server using the terminal command line with two methods: appstream or Remi Redis pm, along with basic setup instructions to get you started using the command line terminal.