groupadd docker 2>/dev/null || true
usermod -aG docker yournormaluser
newgrp docker
out and ssh again
groupadd docker 2>/dev/null || true
usermod -aG docker yournormaluser
newgrp docker
out and ssh again
apt install ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update
apt-cache madison docker-ce | awk '{ print $3 }'
VERSION_STRING="5:26.1.3-1~debian.12~bookworm"
apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
Add this line to java command, replace 10.68.55.37 with ip of local jmx server
-Dcom.sun.management.jmxremote -Djava.rmi.server.hostname=10.68.55.37 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
uname -mrs to determine the current kernel version.sudo apt update && sudo apt upgrade.sudo add-apt-repository ppa:cappelikan/ppa -ysudo apt updatesudo apt install mainline -y
BIOS, turn off Early Logo Display to OFF in the Sign of Life options
BIOS, disable Secure Boot
In the system, edit and configure in /etc/default/grub to add to the kernel options : mem_sleep_default=deep
My current kernel options are : GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mitigations=off mem_sleep_default=deep"
(do NOT use mitigations=off unless you seriously know what you're doing)
Reboot. TO check if the deep sleep is on :
cat /sys/power/mem_sleep
Should return :
s2idle [deep]
The deep here confirms the deep sleep mode is turned on.
cd /etc/openvpn/easy-rsa
#replace server_X79s9v1gWRTvLcGp with your server_yourcertificate
# name server_X79s9v1gWRTvLcGp can be found in /etc/openvpn
./easyrsa renew server_X79s9v1gWRTvLcGp nopass
cp pki/issued/server_X79s9v1gWRTvLcGp.crt ../
cp pki/private/server_X79s9v1gWRTvLcGp.key ../
/etc/init.d/openvpn restart
add to eclipse.ini config:
-XX:+IgnoreUnrecognizedVMOptions
--add-modules=ALL-SYSTEM
--add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/java.net=ALL-UNNAMED