Category: Science & Technology
Increase volume in audio file
To increase volume. ffmpeg -i input.mkv -filter:a "volume=2.5" -c:v copy output.mkv
DNF Utils, virt-manager
For Red Hat Enterprise Linux dnf install dnf-utils needs-restarting -r echo $? 0 = no reboot1 = reboot virt-manager -c 'qemu+ssh://myuser@10.11.12.13:12345/system?keyfile=id_rsa'
Mail server; dovecot, postfix etc
sudo apt -y install dovecot-core dovecot-imapd dovecot-pop3d postfix sasl2-bin sudo adduser postfix sasl systemctl restart saslauthd systemctl restart postfix /etc/postfix/sasl/smtpd.conf pwcheck_method: saslauthd mech_list: plain login And of course there’s a lot more...
Proxmox; remove cluster
systemctl stop pve-cluster corosyncpmxcfs -lrm /etc/corosync/*rm /etc/pve/corosync.confkillall pmxcfssystemctl start pve-cluster
Boot raspberrypi 4 from usb/network
sudo apt updatesudo apt full-upgradesudo rpi-update sudo rpi-eeprom-update -d -a sudo reboot sudo raspi-config
Unifi controller certificates
Unifi controller certificates (for UniFi Network, not UniFi Protect) The portal uses nginx so check out how to use certificates with nginx, the same certificates can be used, for nginx without the...
Set memory limits in docker
Edit /etc/default/grub, add/edit: GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
Turning off automatic upgrades
I’m using other tools for checking and upgrading so… $ sudoedit /etc/apt/apt.conf.d/20auto-upgrades From... APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade "1"; ...to... APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade "0"; ...or... APT::Periodic::Update-Package-Lists "0"; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::AutocleanInterval "0"; APT::Periodic::Unattended-Upgrade "0";