sudo apt-get install -y dnsutils etherwake
sysctl.conf
vm.swappiness = 10 fs.inotify.max_user_watches = 524288 vm.dirty_background_ratio = 5 vm.dirty_ratio = 10 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
zram
sudo apt-get install zram-tools -y
docker
sudo apt-get install ca-certificates curl gnupg lsb-release sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-compose reboot sudo usermod -aG docker $USER
nginx
——————————–
ZRam
sudo apt-get install zram-config sudo gedit /usr/bin/init-zram-swapping # Reduce SWAP space to half mem=$(((totalmem / 2 / ${NRDEVICES}) * 1024)) v mem=$(((totalmem / 2 / ${NRDEVICES}) * 512))
MiniDLNA
sudo apt-get install minidlna
The minidlna.conf is as followed
# Specify the user name or uid to run as. user=pi .... #media_dir=/var/lib/minidlna media_dir=/home/pi/DLNA .... #db_dir=/var/cache/minidlna db_dir=/home/pi/.dlnacache .... #log_dir=/var/log log_dir=/home/pi/.dlnalog
MariaDB
sudo apt-get install mariadb-server CREATE USER 'xxxxxx'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON *.* TO 'xxxxxx'@'localhost'; FLUSH PRIVILEGES; sudo apt-get install phpmyadmin
PostgreSQL
sudo apt install postgresql libpq-dev postgresql-client postgresql-client-common
Redis
OpenVPN
curl -L https://install.pivpn.io | bash
Java
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Linux ARM 32 Hard Float ABI
NodeJS
sudo apt-get install nodejs
InfluxDB