-- Leo's gemini proxy

-- Connecting to gemini.tuxmachines.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

Tux Machines


today's howtos


Posted by Roy Schestowitz on Aug 17, 2022


Security: Patches, WireGuard, Web Browsers, and Red Hat

Ubuntu on RISC-V (UPDATEDx2)



2 ways to Install Cassandra on Ubuntu 22.04 LTS Jammy


↺ 2 ways to Install Cassandra on Ubuntu 22.04 LTS Jammy


> This tutorial is to guide the steps used for the installation of Apache Cassandra database on Ubuntu 22.04 LTS Jammy JellyFish Linux.


> Cassandra is, along with MongoDB, one of the most popular NoSQL databases at the moment. Cassandra is designed as a scalable, fail-safe system for handling large amounts of data on distributed systems (clusters). Unlike CouchDB and MongoDB(C++), this one is written in Java like Apache HBase. Since version 0.8, the Cassandra Query Language has been introduced, a SQL-like query language that can serve as a simple interface.


> Cassandra is written in Java and RubyGems and only runs on UNIX-like systems, such as Mac OS X and Linux. Especially with relational databases, familiar developers should take a closer look at the structure and the data model of Cassandra, as there are certain similarities in the data model in addition to fundamentally new terms also some familiar ones appear, which, however, have a completely different meaning with Cassandra.



How to install that latest version of Docker on AlmaLinux | TechRepublic


↺ How to install that latest version of Docker on AlmaLinux | TechRepublic


> AlmaLinux is a Red Hat Enterprise Linux clone, which means it doesn’t ship with Docker installed. In fact, most RHEL-based distributions are now defaulting to Podman. Although Podman is a close drop-in for Docker, I still have a penchant for the original, so I prefer to use that technology over its replacement.


> The problem is that installing Docker on an RHEL-based distribution isn’t exactly straightforward. It’s not hard, but without knowing the right steps or flags to use, you’ll find it almost impossible to get Docker installed.



How to install Yarn on Ubuntu | FOSS Linux


↺ How to install Yarn on Ubuntu | FOSS Linux


> Yarn is an npm-compatible JavaScript manager that aids in the automation process of setting up, updating, configuring, and removing npm packages. NPM is an abbreviation for Node Package Manager. It is an install manager for the Node JS platform. NPM is well-known as the world’s most extensive software registry. And as such, open-source DevOps across the globe utilize it to publish and share their source code.


> The NPM package comprises three components; The first is the website that permits you to look up third-party packages, set up profiles, and manages your packages. The second is the command-line interface or npm CLI that runs from a command-line/terminal to permit your interaction with npm. The third is the registry, an extensive public database of Javascript.


> Ideally, what Yarn does is parallelize the system operations to boost resource utilization, and cache downloaded packages to save bandwidth. It is secure, and verifies each installed package’s integrity using checksums before executing its code. As such, it is very reliable because of its detailed but concise lock file format; it also ensures that a setup that works on a machine will explicitly perform in the same way on a different device.



How to deploy the Bitwarden self-hosted server with Docker | TechRepublic


↺ How to deploy the Bitwarden self-hosted server with Docker | TechRepublic


> Jack Wallen walks you through the process of deploying a Bitwarden vault server with the help of Docker containers.


> Bitwarden is one of the best open-source password managers on the market. I might even go so far as to say it’s the best password manager period. One of the many reasons why this is so is because of the tool’s flexibility, and a perfect illustration of that is the ability to deploy your very own Bitwarden server using Docker.



Block wp-login and xmlrpc brute force attacks with CSF / DirectAdmin | Linux Webhosting blog


↺ Block wp-login and xmlrpc brute force attacks with CSF / DirectAdmin | Linux Webhosting blog


> xmlrpc wp-login are common attacks for WordPress installations, with CSF firewall we can block them.



How to Compare Binary Files on Linux


↺ How to Compare Binary Files on Linux


> Linux is rich in ways to compare and analyze text files. The diff command will compare two files for you, and highlight the differences. It can even provide a few lines on either side of the changes to provide some context around the changed lines. And the colordiff command adds color to make visually parsing the differences even easier.


> Developers and authors use diff to highlight the differences between different versions of program source code files, or draft texts. It’s fast and easy, and you don’t need any technical skills to see the differences between strings of text.


> In the world of binary files, things aren’t so simple. Binary files are not composed of plain text. They’re made up of many bytes containing numeric values. If it’s a compressed file such as a TAR archive or a ZIP file, those values represent the compressed files that are stored inside the archive file, along with the tables of symbols that are required for the decompression and extraction of the files.



How to Install Django Web Framework on Ubuntu 22.04 - RoseHosting


↺ How to Install Django Web Framework on Ubuntu 22.04 - RoseHosting


> In this blog post, we are going to show you how to install Django Web Framework on Ubuntu 22.04 OS.


> Django is a free and open-source web framework written in Python that follows the MVT(Model-View-Template) architectural pattern. The framework is written for developers to make complex and database-driven websites using predefined administrative actions like create, update, delete, and read. In this tutorial, we are going to install Django Web Framework in an isolated and encapsulated environment called python virtual environment.


> Installing Django Web Framework is a straightforward process that can take up to 15 minutes. Let’s get things working!



A Guide to Using Bash Arrays: Examples


↺ A Guide to Using Bash Arrays: Examples


> The Bourne Again Shell is the default shell on virtually every Linux distribution. While it’s not as fleshed out as most programming languages, it is considered a programming language by many.


> Software engineers are accustomed to using the Linux command line to navigate several aspects of development. Linux administrators rely on it fully to complete their tasks.


> However, Bash arrays tend to remain one of the more obscure features of the CLI. Besides, the questionable syntax results in many developers turning away from using the arrays.


> Bash arrays are primarily utilized to store data in an indexed manner. You can compare it to storing data in variables, with the difference being that Bash arrays allow you to call back the data using predictable indexed numbers. Furthermore, Bash arrays also allow you to create associations.


> Bash arrays are an often-overlooked aspect of Bash scripting, mastering which can enable you to customize administrative tasks, run several tasks simultaneously, and even automate tasks. They are an invaluable tool to any Linux power user since using the arrays is necessary when working with scripts that store a large volume of information.




gemini.tuxmachines.org

-- Response ended

-- Page fetched on Thu Jun 13 10:15:22 2024