1. 安装ntpdate工具 # yum -y install ntp ntpdate 2. 设置系统时间与网络时间同步 # ntpdate cn.pool.ntp.org 3. 将系统时间写入硬件时间 # hwclock --systohc 4.强制系统时间写入CMOS中防止重启失效   hwclock -w   或clock -w

centos NTP NTPDATE

Read more

运行goaccess输出到nginx,Tomcat日志文件applog.txt通过ftp定时上传至/var/ftp/ goaccess /var/ftp/applog.txt -o /usr/share/nginx/html/index.html -p /usr/local/etc/goaccess-tomcat.conf --real-time-html --daemonize --geoip-database=/usr/share/GeoIP/GeoLiteCity.dat 查看goaccess后台运行状态,服务端与浏览器默认通过TCP7890端口实现实时传输

centos goaccess Tomcat Nginx daemonize

Read more

rsa local-key-pair create dsa local-key-pair create aaa local-user sgs password cipher admin local-user sgs privilege level 3 local-user sgs service-type ssh stelnet server enable ssh user sgs authenticatio

华为 SSH

Read more

[Quidway] snmp-agent [Quidway] snmp-agent sys-info version v3 [Quidway] acl 2001 [Quidway-acl-basic-2001] rule 5 permit source 1.1.1.2 0.0.0.0 [Quidway-acl-basic-2001] rule 6 deny source 1.1.1.1 0.0.0.0 [Quidway] snmp-agent mib-view included testview iso [Quidway] snmp-agent group v3 testgroup privacy write-view testview notify-view testview acl 2001 [Quidway] snmp-agent usm-user v3 testuser testgroup authentication-password md5 87654321 privacy-password des56 87654321

SNMPv3 华为 Quidway

Read more

V