Linux General Installation Items

Source: Internet
Author: User
Tags snmp

Yum Install Net-tools//Installation Network Infrastructure package

Yum Install NTP

Systemctl Start NTPD

Ntpdate 10.16.42.7//Update time

Service NPTD start//enable NTP services

Chkconfig--level 23456 ntpd on//NTP random start

Yum install NET-SNMP, net-snmp-devel//Installation SNMP Service

Chkconfig--level 23456 snmpd on//Set boot up

Configure the following three SNMP

# Sec.name Source Community
Com2sec notconfiguser Default Tekro

Least SNMPWALK-V 1 Localhost-c public system fast again.
# Name INCL/EXCL subtree mask (optional)
View all included. 1
View SystemView included. 1.3.6.1.2.1.1
Included View SystemView 1.3.6.1.2.1.25.1.1

Finally, grant the group Read-only access to the SystemView view.
61
* Group Context Sec.model sec.level prefix read Write Notif
63access notconfiggroup "" Any noauth exact and none none

Upload and download via CRT//LRzsz is a program that can be uploaded and downloaded in Linux instead of FTP.

Yum Install Lrzsz-y

View Boot from service item

Systemctl List-unit-files | grep enable

Install auto-complete command (re-connect ssh in effect)

Yum Install-y bash-completion

Change the MySQL database root password

/usr/bin/mysqladmin-u root password ' new-password '

Linux General Installation Items

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.