After container is created, you need to edit the configuration file to add the /dev/net/tun device. # pct config 123 arch: amd64 hostname: CT123 memory: 512 net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=FE:75:64:2A:A3:58,ip=dhcp,type=veth ostype: debian rootfs: local-lvm:vm-123-disk-0,size=4G features: nesting=1 swap: 512 unprivileged: 1 # nano /etc/pve/lxc/123.conf Add the following lines at the end (if you’re...
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...
Recent Comments