Install and Configure Snmp on Debian 10

Install and Configure snmp on debian 10 INSTALL SNMP apt install -y snmpd snmp libsnmp-dev CONFIGURE SNMP ON DEBIAN 10 backup original configure file. cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig Edit snmpd.conf agentAddress udp:127.0.0.1:161,udp:192.168.1.1:161

How to Install Freedns Go on Vyos

#Switch to root mode sudo su #Define freedns version freedns_version=v2020.9.17 #Create dcompass temp folder sudo mkdir -p /tmp/freedns # Swich to folder just we created. cd /tmp/freedns #Download dcompass binary sudo curl -fsSLO "https://github.com/tuna/freedns-go/releases/download/$freedns_version/freedns-go-linux-amd64" sudo cp -af /tmp/freedns/freedns-go-linux-amd64 /usr/local/bin/freedns sudo chown root:root /usr/local/bin/freedns sudo chmod +x /usr/local/bin/freedns sudo bash -c 'cat > /lib/systemd/system/freedns.service' << EOF [Unit] Description=freedns service [Service] ExecStart=/usr/local/bin/freedns -f 114.114.114.114:53 -c 8.8.8.8:53 -l 127.0.0.3:53 Restart=on-failure RestartSec=42s [Install] WantedBy=multi-user.

How to Extend Free Disk Space for Macos

Extend disk with diskutils Delete partition “Free Space” to extend disk to current macos partition. Fixed Error “The new size must be different than the existing size” #repair (internal, disk0 - in your case) diskutil repairdisk disk0 #resize (synthesized, disk1 - in your case with HS) diskutil apfs resizeContainer disk1 0 Reference Cannot resize APFS partition - “The new size must be different than the existing size”

How to Uninstall Windows Update Which Install Failed

How to uninstlal windows update which install failed Uninstall failed windows update Reboot your pc or laptop and select troubleshoot Select to open the command prompt and stay away from any other auto repair options. Loading the software rigistry. #Load the softeware registry hive as follows. reg load hklm/temp c:\windows\system32\config\software #Delete the sessionPending registry key, if it exists by running: reg delete "HKLM\temp\Microsoft\Windows\CurrentVersion\Component Based Servicing\SessionPending" /v Exclusive # Unload the software registry hive: reg unload HKLM\temp Remove failed updates with DISM command List failed updated.

How to Install Dcompass on Vyos

Dcompass github address Dcompass Address Dcompass Release bianry #Switch to root mode sudo su #Define dcompass version dcompass_version=build-20210803_1007 #Create dcompass temp folder sudo mkdir -p /tmp/dcompass # Swich to folder just we created. cd /tmp/dcompass #Download dcompass binary sudo curl -fsSLO "https://github.com/LEXUGE/dcompass/releases/download/$dcompass_version/dcompass-x86_64-unknown-linux-musl-full" #Create dcompass configure folder sudo mkdir -p /etc/dcompass #Create dcompass configure yaml file sudo bash -c 'cat > /etc/dcompass/config.yaml' <<EOF --- verbosity: "info" #address: 0.0.0.0:2053 address: 127.

How to Install Squirrel on Macos

How to install squirrel as your chinese input method for your macos 1. Install squirrel brew cask install squirrel 2. Logout and login or Reboot your mac Reboot your mac 3. Copy squirrel configuration for you configuration file: https://github.com/wongdean/rime-settings# mkdir rime && cd rime git clone https://github.com/wongdean/rime-settings.git 4. configure squrriel Press control + space key to enable squirrel. Then click settings... Copy all contents in rime-settings expect fonts folder to configure folder.

How to Create Debian10 With Cloudinit for Pve

How to Create Debian10 template With Cloudinit for PVE VMID=9002 VM_NAME=CentOS-7-x86_64-GenericCloud VM_DOWNLOAD_URL=http://mirrors.ustc.edu.cn/centos-cloud/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2.xz TEMPLATE_VM_NAME=$(echo $VM_NAME | sed 's/_/-/g') STORAGE_PATH=local DEFAULT_PVE_PATH=/var/lib/vz/images #Change directory to `local` cd /var/lib/vz/images #Download centos 7 cloud images on proxmox ve wget $VM_DOWNLOAD_URL #unzip the file #xz -z (to zip file) #xz -k( to keep original file and valur `-0` to `-9` to set zip rate, default zip rate is -6 #xz -d (to unzip file) # xz -k (to keep zipped file not deleted) xz -d -k $VM_NAME.

How to Create Centos7 Template for Pve

HOw to create CentOS 7 template for PVE VMID=9002 VM_NAME=CentOS-7-x86_64-GenericCloud VM_DOWNLOAD_URL=http://mirrors.ustc.edu.cn/centos-cloud/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2.xz TEMPLATE_VM_NAME=$(echo $VM_NAME | sed 's/_/-/g') STORAGE_PATH=local DEFAULT_PVE_PATH=/var/lib/vz/images #Change directory to `local` cd /var/lib/vz/images #Download centos 7 cloud images on proxmox ve wget $VM_DOWNLOAD_URL #unzip the file #xz -z (to zip file) #xz -k( to keep original file and valur `-0` to `-9` to set zip rate, default zip rate is -6 #xz -d (to unzip file) # xz -k (to keep zipped file not deleted) xz -d -k $VM_NAME.

How to Extend All Available Disk to Local Data

How to extend all available disk to local-data After install Proxmove VE, the local-data only have about 50GB disk availabe. But how to let all availabld disk space to the local-data? Here we go: # Remove local-data lvremove /dev/pve/data # Extend all available disk to /dev/pve/root lvresize -l +100%FREE /dev/pve/root #recreate pve-root resize2fs /dev/mapper/pve-root Reference Proxmox – Remove LVM local-data

How to make Destination Base Routing With Vyos

How to make Destination Base Routing with Vyos I have 2 network interfaces. one for user access inboard network,another for user to access network aboard. How to make it work with vyos? Make a network group #Define a netwrok-group set firewall group network-group china-ip-ranges #Define lan network group set firewall group network-group lan-net-group network '192.168.11.0/24' set policy set policy route network-shunt rule 20 destination group network-group 'china-ip-ranges' set policy route network-shunt rule 20 set table '20' set policy route network-shunt rule 20 source group network-group 'lan-net-group' set policy route network-shunt rule 30 set table '30' set policy route network-shunt rule 30 source group network-group 'lan-net-group' Download and set the network-group with ipset Download and make a list for network-group loading when booting.

How to Config Ddns for Vyos With Dns.he.net

How to config DDNS for vyos with dns.he.net Register A Recored Register a domian host.mydomain.com on your https://dns.he.net Generate a key 64LGiLiuoiuoiuoi Run command to setup the ddns service configure set service dns dynamic interface pppoe0 service dyndns host-name 'host.mydomain.com' set service dns dynamic interface pppoe0 service dyndns login 'host.mydomain.com' set service dns dynamic interface pppoe0 service dyndns password '64LGiLiuoiuoiuoi' set service dns dynamic interface pppoe0 service dyndns server 'dyn.

How to Build L2tp Over Ipsec VPN With Vyos

How to build L2tp over ipsec vpn with vyos Today, I will show you how to build a l2tp over ipsec vpn with adsl wan address. Setup vpn on vyos Generate a preshare key $ generate wireguard preshared-key uND0O6RYI1O833NL2+qwSrW4htMll1hJAUM2nPQaa8k= With authentication local configuration VPN Key Value WAN interface pppoe0 l2tp vpn network 172.16.100.0/24 PRESHARE KEY uND0O6RYI1O833NL2+qwSrW4htMll1hJAUM2nPQaa8k= DNS server 01 192.

How to Deploy Jitsi Server With Docker Compose

How to deploy Jisti Server with docker-compose Install jisti Server git clone latest version git clone https://github.com/jitsi/docker-jitsi-meet && cd docker-jitsi-meet cp env.example .env Generate security password ./gen-passwords.sh #mkdir -p ~/.jitsi-meet-cfg/{web/letsencrypt,transcripts,prosody,jicofo,jvb} mkdir -p ~/.jitsi-meet-cfg/{web/letsencrypt,transcripts,prosody/config,prosody/prosody-plugins-custom,jicofo,jvb,jigasi,jibri} Modify .env copy env.example to .env. cp env.example .env Modify key and value as followed. CONFIG=~/.jitsi-meet-cfg # Exposed HTTP port HTTP_PORT=80 # Exposed HTTPS port HTTPS_PORT=443 # System time zone TZ=Asia/Shanghai # Public URL for the web