Down, everyone, follow these commands, and you can quickly and securely install the NET-SNMP.
Copy Code code as follows:
Yum Install Net-snmp
Yum Install Net-snmp-utils
First use the Yum command to install NET-SNMP and net-snmo-utils
Copy Code code as follows:
Rm/etc/snmp/snmpd.conf
Vi/etc/snmp/snmpd.conf
Then delete the default snmpd.conf and write the following
Copy Code code as follows:
Where the "Sudu" is your authentication user name "Auth" represents read-only
Then create the/var/net-snmp/directory and create the/var/net-snmp/snmpd.conf file
Copy Code code as follows:
mkdir/var/net-snmp/
Vi/var/net-snmp/snmpd.conf
Finally, write the following to/var/net-snmp/snmpd.conf
Copy Code code as follows:
CreateUser Sudu MD5 MyPassword
The "Sudu" Ditto is your authentication user name, "MyPassword" is your authentication password
Finally execute the following command to open SNMPD service, and to monitor the security of your server UDP 161 port can ~