Advanced Search
Search Results
175 total results found
Kernel, Modules, Tunables & initrd (Initialisation RAM Disk)
Kernel ==================================================================================== What is a Linux Kernel? The Linux kernel is the core software that acts as an interface between the hardware and various software applications running on your system...
Containerisation & Automation
Docker, Kubernetes, Ansible
Linux System Variables
Date, time, language
Check devices and connections
List disks lsblk List PCI controller connections: lspci List CPU details lscpu List USB bus devices lsusb
Vulnerabilities, Patching, and Security
SELinux, AppArmor, CVE
Linux Firewalls
UFW, IPTables, Firewalld
Check Stats
watch 'echo "show stat" | nc -U /var/lib/haproxy/stats | cut -d "," -f 1,2,5-11,18,24,27,30,36,50,37,56,57,62 | column -s, -t'
Bookstack Web Solution
The solution used for hosting this site.
Addon Domain Script
Addon scripts can be found in the below link: https://gitlab-free.devops.ukfast.co.uk/ans/linux-team/magento-stack/-/tree/master/Ubuntu?ref_type=heads pick the appropriate script for the use case. MAIN DOMAIN cd /tmp vi addon.sh Paste in script edit: d...
Pacemaker
Pacemaker provides a framework to manage the availability of resources. It's essentially the core component on a cluster that allows you to manage resource locations etc. Installing apt-get install pacemaker pcs resource-agents yum install pacemaker pcs res...
Explanation
PCS (Pacemaker) Cluster Services: PCS (Pacemaker) Pacemaker provides a framework to manage the availability of resources. Resources are services on a host that needs to be kept highly available. ie pacemaker controls which services are running where. Coro...
Unison
==================================================================================== What is Unison? ----------------------------------------------------------------------------------------------------------------------------------------------- Install Unis...
QUICK GUIDE: Clearing Disk Space
==================================================================================== Identifying where disk space is being used NCDU NCDU is a command line tool that can be used to review disk usage across a filesystem. ncdu / Note: You can specify a dire...
LogRotate
LogRotate Configuration. https://www.redhat.com/sysadmin/setting-logrotate If not installed already (it usually is), install the logrotate service: apt install logrotate yum install logrotate Configuration of logrotate /etc/logrotate.conf - used to defin...
Quick Guide: Expanding Disks
==================================================================================== Virtual Disk Expansion 1. Scan for disk hardware changes: for i in /sys/class/scsi_host/host*/scan; do echo "- - -" > $i; done for i in /sys/class/scsi_device/*/devi...
DRBD
DRBD is the service used for synchronisation of data (usually web and database files) on a cluster or HA solution. Not to be confused with Unision (which is typically used for synchronisation of config files due to not updating files as quickly as DRBD). Inst...
Unison
Clusters use unison, usually for synchronisation of configuration files.
NFS
NFS (Guidance based on RHEL/CentOS 7, packages and commands may differ depending on OS) ==================================================================================== NFSSHARE SERVER CONFIGURATION 1. Install NFS packages on NFS Server yum install nf...