标签:new sys net-tools 自动 dev view wal config cal
yum install net-tools // 安装网络基础包
yum install ntp
systemctl start ntpd
ntpdate 10.16.42.7 //更新时间
service nptd start //开启ntp服务
chkconfig --level 23456 ntpd on //ntp随机启动
yum install net-snmp 、net-snmp-devel //安装snmp 服务
chkconfig --level 23456 snmpd on //设置开机启动
配置以下三处snmp
40 # sec.name source community
41 com2sec notConfigUser default tekro
53 # Make at least snmpwalk -v 1 localhost -c public system fast again.
54 # name incl/excl subtree mask(optional)
55 view all included .1
56 view systemview included .1.3.6.1.2.1.1
57 view systemview included .1.3.6.1.2.1.25.1.1
60 # Finally, grant the group read-only access to the systemview view.
61
62 # group context sec.model sec.level prefix read write notif
63access notConfigGroup "" any noauth exact all none none
通过CRT上传下载 //lrzsz是一款在linux里可代替ftp上传和下载的程序。
yum install lrzsz -y
查看开机自起服务项
systemctl list-unit-files | grep enable
安装自动补全命令(重连ssh生效)
yum install -y bash-completion
更改mysql数据库root密码
/usr/bin/mysqladmin -u root password ‘new-password‘
标签:new sys net-tools 自动 dev view wal config cal
原文地址:https://www.cnblogs.com/morron/p/8761441.html