Skip to content

Instantly share code, notes, and snippets.

MySQL/MariaDB Tuning And Optimization For Best Performance

OS Level Optimization

Swappiness

sysctl -w vm.swappiness=1
echo "vm.swappiness = 1" | sudo tee -a /etc/sysctl.conf

noatime

@smknbangil1
smknbangil1 / gist:26e9f6b907c3cff92ae0998f988eb889
Created December 1, 2022 03:29 — forked from OSCUK/gist:057361d58d2dbc6e006fcf4b415c1233
AdGuard Home code for Stack Portainer
AdGuard Home Page on Docker: https://hub.docker.com/r/adguard/adguardhome
Video on YouTube: https://youtu.be/vBgCZvCDFh8
YouTube Channel: https://www.youtube.com/c/OSCUK
---
version: "2"
services:
adguardhome:
image: adguard/adguardhome
container_name: adguardhome
server {
listen 80;
listen [::]:80 ipv6only=on;
server_name domainname.com;
root /var/pro/; #change this with the right location
index index.php index.html index.htm;
location / {