Advanced Search
Search Results
217 total results found
Logging
Server log configuration and management
Bash
Command man pages.
cPanel
General cPanel-related topics
File Transfers, Synchronisation & Shared Storage
Unison, NFS, rSync, SCP
Containerisation & Automation
Docker, Kubernetes, Ansible
Linux System Variables
Date, time, language
Vulnerabilities, Patching, and Security
SELinux, AppArmor, CVE
Server Software
Nginx, Apache, WordPress, MySQL,
Malware & Virus Scans
SSL
Vulnerability Patching
Disks
Check devices and connections
List disks lsblk List PCI controller connections: lspci List CPU details lscpu List USB bus devices lsusb
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'
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...
Magento Installation
Magento2 ------------------------------------------------------------------------------------------------------------------------------------------------ Magento is an ecommerce stack typically made up of the following components: nginx/apache mysql/mariad...
Useful Commands
SWAP
==================================================================================== What is SWAP? Swap memory is space that is reserved via the hard disk and should only be utilized when necessary and in cases where the servers dedicated memory has been mos...
Overview
Installing & launching a PROXMOX server
================================================================================= Installation PROXMOX ISO download: https://www.proxmox.com/en/downloads/proxmox-virtual-environment/iso
Flame
Flame is essentially just a web dashboard for accessing your other self hosted apps. Installation https://github.com/pawelmalak/flame/wiki/Installation-without-Docker#prerequisites
BookStack
Bookstack is a self-hosted notes platform that you're currently using to read this. Installation https://jardin.icamole.site/books/bookstack/page/installation Backup and restore process https://www.bookstackapp.com/docs/admin/backup-restore/ Side note on...
Local Backups
Local backups are performed via cronjobs configured on a per server basis, depending on the files & databases required. BookStack Backups Database backups are performed using the mysqldump command, and using a dedicated 'backup' mysql user, with read only pr...