Proxmox Virtual Environment is based on Debian GNU/Linux we use apt package manager to install snmpd server. Login to Proxmox Machine with SSH check snmpd status edit snmpd configuration edit the following line The line agentaddress udp:161 tells the SNMP Daemon to listen on UDP port 161 on every IPv4 interface. The line rocommunity public […]
Tag: linux
KILL command in Linux
Here’s how to use the KILL command within Linux $ KILL [options] <PID> Linux KILL options: Option Description -s Specify what kill signal to send. -l Shows the name of the signal through the signal number. -L List all the available signals. q Sends the signal using sigqueue(3) instead of kill(2), allowing an additional integer […]
Creating LVM with group Permissions (Complete Guide).
sudo groupadd <groupname> sudo usermod -aG <groupname> <User> sudo yum install lvm2 (For Centos) sudo apt install lvm2 (For Ubuntu) sudo pvcreate /dev/vdb /dev/vdc sudo vgcreate <volume name> /dev/vdb /dev/vdc sudo lvcreate -L <size>(m/G) <path> note: if you want to make use of all the size available use: vgdisplay (check for free allocation) Mkfs.xfs <Logical […]
Passwordless SSH
SSH Client : 10.0.0.12 SSH Server: 192.168.0.11 User: psi-admin Login as psi-admin to SSH Client, then generate key to use: ssh-keygen -t rsa Then use ssh-copy-id to send the key to the SSH Server ssh-copy-id psi-admin@192.168.0.11 Done!