Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Remote installation of Net-SNMP whole process     - CentOS static IP network configuration (Linux)

- MySQL5.6.12 Waiting for commit lock lead to hang from the library housing problem analysis (Database)

- Ubuntu installation 2.10.x version of Scala (Linux)

- CentOS / Linux NIC set IP address configuration (Linux)

- Linear table with a Java implementation of the iterator (Programming)

- Video editing captions under Linux (Linux)

- Windows and Ubuntu dual system, repair of two ways UEFI boot (Linux)

- Weld a problem in JDK 8u60 environment (Programming)

- crontab cause CPU exception Analysis and Processing (Linux)

- Install Krita 2.8 on Ubuntu 13.10 / 12.04 / 12.10 (Linux)

- 256 with rich colors decorate your terminal (Linux)

- Workspace Go language and environment variables GOPATH (Linux)

- To install Xen in Ubuntu 12.04 (Linux)

- Web cache basics: terminology, HTTP headers, and caching policies (Server)

- Analysis of common mistakes when compiling MySQL installation (Database)

- How to install Ubuntu strategy game Wesnoth 1.12.0 (Linux)

- Oracle user lock how to know what causes (Database)

- OpenGL Programming Guide (8th edition of the original book) - compute shader (Programming)

- How to install Bugzilla 4.4 on Ubuntu / CentOS 6.x (Linux)

- Install snort intrusion detection system on Debian (Linux)

 
         
  Remote installation of Net-SNMP whole process
     
  Add Date : 2017-08-31      
         
         
         
  1.Putty / ssh 192.168.25.104 // putty for the Windows remote connection tool 192.168.25.104 Linux system as linux es5

2. # ftp 10.1.9.19 // After logging ftp server to connect to 10.1.9.19

3.> ftp binary / bi // change the ftp file transfer mode to binary if you do not change will not be unpacked

4.> ftp get net-snmp-5.4.1.2.tar.gz // net-snmp-5.4.1.2.tar.gz download files to the machine on

5.> ftp bye // exit ftp

6. # tar -zxvf net-snmp-5.4.1.2.tar.gz // decompression

7. # cd net-snmp-5.4.1.2 // into the source directory

8. #. / Configure // configuration in the process need to choose

default version of-snmp-version: 2

Systemcontact information (configure the device's contacts): heaven

System location (position of the device): china

Location to write logfile (log file location): /var/log/snmpd.log

Location to Write persistent (data storage directory): / var / net-snmp

9. # make && make install // compile and install

10. # cp EXAMPLE.conf /usr/local/share/snmp/snmpd.conf // Note capitalization copy EXAMPLE.conf

11. # vi /usr/local/share/snmp/snmpd.conf // edit snmpd.conf

The inside mynetwork / 24 need to look into the information snmp host ip address here is 192.168.25.40

Change the value of the community you set here is cdc

NOTE: When you need to press the i edit letters, press esc exit enter: wq

12. # vi /etc/rc.local \\ netsnmp set from the start that the end add / usr / local / sbin / snmpd -c /usr/local/share/snmp/snmpd.conf &

13. # vi / etc / profile \\ set the environment variable that is, before export command with PATH = / usr / local / bin: / usr / local / sbin: $ PATH

14. # / usr / local / sbin / snmpd -d \\ snmpd start the service, view service is started

#netstat -an | grep 161

If you have already started the service, and then modify the snmpd.conf must stop snmpd this service again

snmpd -d to take effect

Stop approach 1.ps -ef | grep snmpd // See snmpd process id

2.Kill -9 snmpd process number // end snmpd process

15. For more about the net-snmp configuration, refer to the net-snmp configuration installation manual.
     
         
         
         
  More:      
 
- IntelliJ IDEA run in Mac10.9 and JDK7 environment (Linux)
- Linux modify the system time (Linux)
- RabbitMQ user roles and access control (Linux)
- Ubuntu 14.04 forget solution root password (Linux)
- See Linux kernel, CPU, memory, and various versions of the command module and means (Linux)
- To install Redis under Linux (Database)
- Talking about the implementation and the JVM garbage collection mechanism (Programming)
- JavaScript notes --Objects (Programming)
- Installation and use GAMIT / GLOBK Software (Linux)
- ActiveMQ-based shared file system HA solutions (Server)
- bash login and welcome message: / etc / issue, / etc / motd (Linux)
- Number JavaScript type system (Programming)
- Elaborate 10-point difference between the new and malloc (Programming)
- vnStatSVG: traffic monitoring software vnStat (Linux)
- Netapp storage routine inspections and information gathering (Linux)
- OpenStack image production in the CentOS 6.2 (Linux)
- ThinkPad X201i installation notes Debian 7.5 (Linux)
- Ubuntu 14.04 LTS to compile the source code Android4.4.2 (Linux)
- Android Touch message passing mechanism analysis (Programming)
- linux firewall configuration (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.