Jun 17
2023
if you see this message
2023-06-17T21:18:24.773384+02:00 git opendkim[317371]: BADFE5FE6B: [192.168.1.25] [192.168.1.25] not internal
2023-06-17T21:18:24.773568+02:00 git opendkim[317371]: BADFE5FE6B: not authenticated
2023-06-17T21:18:24.774566+02:00 git opendkim[317371]: BADFE5FE6B: no signature data
Add to /etc/postfix/main.cf
milter_connect_macros = j {daemon_name} v {if_name} _
milter_mail_macros="i {mail_addr} {client_addr} {client_name} {auth_type} {auth_authen}"
Jun 16
2023
apt -y install php8.2-{apcu,bcmath,bz2,cgi,cli,common,curl,fpm,gd,gmp,igbinary,imagick,imap,intl,ldap,mbstring,mysql,opcache,pgsql,readline,redis,soap,sqlite3,xml,zip}
a2enmod proxy_fcgi setenvif
a2enconf php8.2-fpm
a2disconf php8.1-fpm
systemctl reload apache2
Mar 26
2023
rsync -azP -e "ssh -p PORT_NUMBER" source destination
Mar 25
2023
virsh snapshot-create-as --domain ${VM}
--name "backup-${VM}" \
--atomic \
--disk-only \
--no-metadata \
--diskspec vda,file=${SNAP}/backup-snapshot-${VM} \
--diskspec vdb,snapshot=no
Feb 26
2023
usually after swap changed
update-initramfs -u
Feb 24
2023
add to /etc/default/grub
GRUB_CMDLINE_LINUX="consoleblank=300"
I was able to turn off the display of the laptop by putting this command physically on to the machine and not via SSH:
setterm –blank force
Feb 24
2023
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
Feb 24
2023
Add in bios
\EFI\debian\shimx64.efi
Feb 15
2023
default runlevel
systemctl get-default
List runlevels
systemctl list-units --type=target
root@hphost:~# systemctl list-units --type=target
UNIT LOAD ACTIVE SUB DESCRIPTION
basic.target loaded active active Basic System
bluetooth.target loaded active active Bluetooth
cryptsetup.target loaded active active Local Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User System
network.target loaded active active Network
paths.target loaded active active Paths
remote-fs.target loaded active active Remote File Systems
slices.target loaded active active Slices
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
time-set.target loaded active active System Time Set
time-sync.target loaded active active System Time Synchronized
timers.target loaded active active Timers
virt-guest-shutdown.target loaded active active Libvirt guests shutdown
Change default to 3
systemctl set-default multi-user.target