nano /etc/my.cnf add sql_mode= save.
Continue reading...Linux
error undefined symbol: FT_Get_Var_Design_Coordinates xampp (lampp)
/usr/bin/rrdtool: symbol lookup error: /usr/lib/x86_64-linux-gnu/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates solution: delete /opt/lampp/lib/libfreetype.so.6
Continue reading...WireGuard in Proxmox LXC
in Proxmox Host: apt update apt install pve-headers nano /etc/apt/sources.list deb http://deb.debian.org/debian buster-backports main Save. apt update apt install -t buster-backports wireguard-dkms modprobe wireguard echo “wireguard” >> /etc/modules-load.d/modules.conf In LXC Container: apt install wireguard or use piVPN curl -L https://install.pivpn.io | bash
Continue reading...Wireguard Client Connect to Server
apt install wireguard Since we’re only connecting back to our VPN Server, we need to create a file where we will store our VPN profile information. To be clear, this is generated on the VPN server side. We are only copying the contents of the file so that we can...
Continue reading...Can’t set locale; make sure $LC_* and $LANG are correct!
fix – dpkg-reconfigure locales
Continue reading...nginx limit req
limit_req_zone $binary_remote_addr zone=login:10m rate=1r/s; limit_req zone=login burst=5;
Continue reading...Install Tuned for max performance
Update and install tuned: Code: apt-get update apt-get install tuned tuned-gtk tuned-utils tuned-utils-systemtap reboot List of useful tuned commands: Code: tuned-adm active tuned-adm list tuned-adm recommend tuned-adm verify tuned Recommended for performance: Code: tuned-adm profile latency-performance
Continue reading...Enable root login over SSH
1. As root, edit the sshd_config file in /etc/ssh/sshd_config: nano /etc/ssh/sshd_config 2. Add a line in the Authentication section of the file that says PermitRootLogin yes 3. Save the updated /etc/ssh/sshd_config file 4. Restart the SSH server: service sshd restart
Continue reading...HP Z420 Workstation Headless boot
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...
Continue reading...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:...
Continue reading...
Recent Comments