To make hp z420 workstation headless boot (run workstation without a video card) Need to have Windows OS installed to run HP BIOS Configuration Utility (BCU) because in bios settings this option is hidden. Download HP BIOS Configuration Utility (BCU) or here: sp107705 Installation Run the BCU SoftPaq to install its contents to the folder…
Category: Linux
NUT Monitor EATON UPS
1. Installation First step is to install Network UPS Tools package : Terminal # apt-get install nut 2. Connect your UPS Once your UPS is powered and connected to a USB port of your server, it should be detected : Terminal # lsusb | grep UPS Bus 004 Device 010: ID 0463:ffff MGE UPS Systems…
OVH Cloud Failover IP config
nano /etc/network/interfaces.d/50-cloud-init auto lo iface lo inet loopback dns-nameservers 213.186.33.99 auto eth0 iface eth0 inet dhcp mtu 1500 auto eth0:1 iface eth0:1 inet static address x.x.x.x netmask 255.255.255.255 auto eth0:2 iface eth0:2 inet static address x.x.x.x netmask 255.255.255.255 auto eth0:3 iface eth0:3 inet static address x.x.x.x netmask 255.255.255.255
Raspberry Hardware Watchdog
Automatically power cycle the Raspberry Pi once it gets stuck. 1) Enable the hardware watchdog on your Pi and reboot sudo su echo ‘dtparam=watchdog=on’ >> /boot/config.txt reboot 2) Install the watchdog system service sudo apt-get update sudo apt-get install watchdog 3) Configure the watchdog service sudo su echo ‘watchdog-device = /dev/watchdog’ >> /etc/watchdog.conf echo ‘watchdog-timeout…
Syncthing įdiegimas Ubuntu/Debian
Jei norite greitai pasiekti daugelio įrenginių failus, jums reikia sinchronizavimo. Tai atviro kodo kelių platformų failų sinchronizavimo sprendimas, kuris gali veikti lokaliai arba internetu. Ši platforma turi „Linux“, „Windows“ ir „macOS“ klientus. Taip pat turi „Android“ programą, skirtą sinchronizuoti iš ir į išmaniuosius telefonus. 2. Pridedame Syncthing prie apt šaltinių echo “deb https://apt.syncthing.net/ syncthing stable”…
vsftpd, group, usermod
adduser user – Sukuriam userį usermod -d /home/some/dir user – Nustato numatytą user home direktoriją groupadd group – Sukuriam grupę usermod -a -G group user Pridedam user į grupę chown -R :group /home/some/dir – Suteikiam user ir grupei access. arba chgrp -R group /home/some/dir ir uždedam failų teises, kad juos leistų atidaryti/redaguoti ir išsaugoti chmod…
IPTABLES Permanent save
apt-get install iptables-persistent After that, run next commands every time you want save iptables changes permanently:netfilter-persistent savenetfilter-persistent reload
MYSQL ADD remote user
mysql -u root -p GRANT ALL PRIVILEGES ON *.* TO ‘root’@’192.168.71.20’ IDENTIFIED BY ‘root_password_here’ WITH GRANT OPTION;
hlx mysql socket fix
ln -s /usr/local/mysql/data/mysql.sock /var/run/mysqld/mysqld.sock
Auto Connect OpenVPN Client Startup
How to have an OpenVPN client connect on system Startup. How to set up a persistant OpenVPN client connection. Ensure *.conf file is located in /etc/openvpn/*.ovpn files will not work, they will need to be renamed to *.conf.Renaming a ovpen file to conf is ok and does work. Edit /etc/default/openvpn Ensure a similar line below…