Install SNMP and Configure the Community String For CentOS Rumi, April 23, 2020 Install SNMP Install the SNMPD service by running the following command: yum install net-snmp net-snmp-utils Once the service is installed, verify that it is set to start at startup by running: CentOS 6: chkconfig snmpd on CentOS 7: systemctl enable snmpd Configure SNMP Make a backup of the original configuration file by running: mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig Create a new SNMP configuration file by running: touch /etc/snmp/snmpd.conf Once you have the new configuration file, generate a random string for the SNMP community string using a tool such as passwordsgenerator.net Once you have the string, edit /etc/snmp/snmpd.conf and add the following line, replacing [RANDOM_STRING] with the generated string:rocommunity [RANDOM_STRING] Save the configuration file, and finally start the SNMP service by running: CentOS 6: service snmpd restart CentOS 7: systemctl restart snmpd Related Administrations Configurations (Linux) CentOSCentOS 6CentOS 7SNMPD
Build WAF with Reverse Proxy Load Balancer using Nginx November 16, 2022 Getting Started First, it is recommended to update and upgrade all your software packages to the latest version. You can update all of them by running the following command: apt update -y apt upgrade -y Once all the packages are updated, install other required packages with the following command: apt… Read More
How to setup vsftpd FTP with SSL on Ubuntu 12.04 December 7, 2015December 7, 2015 This tutorial teaches you, how to setup vsftpd server on Linux based dedicated Web server. The tutorial also teaches you how to add the ftp users and lock the directory to individual users(In this scenario,lock the users into their individual web directory). In Ubuntu 12.04, vsftpd with chrooted users gives the following… Read More
Increase file upload size limit in PHP-Nginx June 9, 2014 To change max file upload size to 100MB Edit… vim /etc/php5/fpm/php.ini Set… upload_max_filesize = 100M post_max_size = 100M Related Read More