Обязательно сначала новый, потом старый диск sgdisk -R НОВЫЙ_ДИСК СТАРЫЙ_ДИСК Не забывает сделать новый GUID для нового диска: sgdisk -G
wondershaper
curl -o /usr/sbin/wondershaper https://raw.githubusercontent.com/magnific0/wondershaper/master/wondershaper chmod 744 /usr/sbin/wondershaper Скорость в Kbps wondershaper -a eth0 -u 512 -d 512 Сброс wondershaper -c
SWAP SWAPFILE LINUX
fallocate -l 1G /swapfile Если нет fallocate dd if=/dev/zero of=/swapfile bs=1024 count=1048576 chmod 600 /swapfile mkswap /swapfile swapon /swapfile nano
vm.swappiness
echo vm.swappiness=10 >> /etc/sysctl.d/99-sysctl.conf sysctl -p vm.vfs_cache_pressure=50
Включение Nested Virtualization в RHEL/Centos 7
cat << EOF > /etc/modprobe.d/kvm_intel.conf options kvm-intel nested=1 options kvm-intel enable_shadow_vmcs=1 options kvm-intel enable_apicv=1 options kvm-intel ept=1 EOF cat <<
Видео из картинок
ffmpeg -framerate 10 -pattern_type glob -i ‘home01-copy3/*.jpg’ -c:v libx264 out.mp4
Удаление старых ядер из Debian
dpkg -l | grep linux-image apt-get remove -f linux-image-2.6.26-2-686 dpkg -l | grep linux-headers update-grub
Debian 10 не стартует ssh после перезагрузки
Часто возникает когда устанавливаешь систему на старое железо. apt install havegedsystemctl enable havegedsystemctl start haveged
Ключи для HP iLO
iLO Advanced License Keys: 247RH-ZPJ8S-7B17D-FCE55-DDD17 Ключ от iLO 2 подходит к iLO 3 и iLO 3 LO100i Advanced License Keys:
OVH API
Список URL API OVH ‘ovh-eu’ => ‘https://eu.api.ovh.com/1.0′,’ovh-ca’ => ‘https://ca.api.ovh.com/1.0′,’ovh-us’ => ‘https://api.us.ovhcloud.com/1.0′,’kimsufi-eu’ => ‘https://eu.api.kimsufi.com/1.0′,’kimsufi-ca’ => ‘https://ca.api.kimsufi.com/1.0′,’soyoustart-eu’ => ‘https://eu.api.soyoustart.com/1.0′,’soyoustart-ca’ => ‘https://ca.api.soyoustart.com/1.0′,’runabove-ca’ =>