Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

160 total results found

Useful Online Tools

Monitoring

https://ping.pe/

Storage Engines

Server Software MySQL

MySQL supports multiple storage engines, with InnoDB and MyISAM being the most commonly used. ------------------------------------------------------------------------------------------------------------------------------------------------ MyISAM Table-Lev...

MySQL Replication

Server Software MySQL

MySQL replication is a process that allows data from one MySQL database server (the primary or source server) to be copied automatically to one or more MySQL database servers (replica or slave servers). Replication is used to improve data availability, load ba...

MySQL Backups - mysqldump and xtrabackup

Server Software MySQL

=================================================================================== Percona XtraBackup Percona XtraBackup is a widely used open-source tool for MySQL and MariaDB database backups. It is developed by Percona and is specifically designed to per...

MySQL Replication

Self Hosted Bookstack Web Solution

DB Cluster

Self Hosted Bookstack Web Solution

Zabbix

Self Hosted Monitoring

Adding a new Zabbix Agent sudo apt install zabbix-agent sudo systemctl status zabbix-agent Configure IP address of Zabbix server vim /etc/zabbix/zabbix_agentd.conf Locate the Server= and ServerActive= parameters in the configuration file. Uncommen...

Python Fundamentals

Python

Maths + addition - subtraction * multiplication / Division // Floor Division an operation that divides two numbers and returns the largest integer less than or equal to the quotient.   When you divide 7 by 3, you get approx...

Flask

Python Web Framework

Flask is a web framework library for Python. Install Flask library: pip3 install flask initialise Flask application app = Flask(__name__) Define a route for the app: @app.route('/') def hello_world(): return 'Hello, World!' Run a Flask applica...

MySQL

Python Libraries

import library: from getpass import getpass from mysql.connector import connect, Error Configuring MySQL connection details: try: ##try statement used as the code isn't guaranteed to function## connection = mysql.connector.connect( host="loca...

Requests

Python Libraries

pip3 install requests   requests.get(url, allow_redirects=True)

SETUP

Containers & Kubernetes

Install packages for master Disable SWAP: sudo swapoff -a  Install docker: sudo apt install -y docker.io Debian, Ubuntu, and operating systems using apt/apt-getReplace the apt repository definition so that apt points to the new repository instead of the G...

Networking

Containers & Kubernetes Docker

Network Bridges A network bridge in Docker is a virtual network that allows containers to communicate with each other while isolating them from the host network and other networks. By default, if no network is specified when a container is created, it will...

Storage & Volumes

Containers & Kubernetes Docker

Each docker container has its own isolated volume. By default, this volume isn't persistent, meaning that if the container restarts or gets deleted, then so does its data. There are a few options available for persistent storage. Specifying volume options ...

Image Creation, Pushing Images, and Registry

Containers & Kubernetes Docker

Building a Docker File A docker file is essentially a list of instructions that are issued to Docker to build an image. You will more than likely want to build your Docker File somewhere that you can access all the files required for the application you're ...

Kubernetes - Component Overview

Containers & Kubernetes Kubernetes

What is Kubernetes? Kubernetes is at its core a container orchestrator. Kubernetes, or K8S, is used to control containers across various nodes (workers), and offers features such as load balancing, automated scaling for increases/decreases in demand, and node...

Docker Engine

Containers & Kubernetes Docker

Docker Engine is the core component of the Docker platform. It is responsible for creating, running, and managing Docker containers on a host operating system. Docker Engine provides the underlying runtime environment where containers are executed, and it inte...

Container Resource Allocation & cgroups

Containers & Kubernetes Docker

By default, Docker imposes no restrictions on the amount of system resources that a container can use.  Control groups (or cgroups) are a Linux kernel feature that allows you to allocate, limit, and isolate resource usage (such as CPU, memory, disk I/O, netwo...

SWARM

Containers & Kubernetes Docker

Docker Swarm is Docker's native clustering and orchestration tool, allowing you to manage a group of Docker engines across multiple nodes (hosts). Initialise Docker Swarm manager node: docker swarm init Similar to K8S, in the output of this command, you'l...

Cluster Management

Containers & Kubernetes Kubernetes

kubectl The kubectl command is used to interact with and manage a Kubernetes cluster. It allows administrators and developers to deploy applications, inspect resources, manage cluster components, and view logs. Essentially, kubectl acts as the command-line in...