Posts Tagged ‘config’

Centos 7 install zabbix from source

#yum install -y libevent-devel golang gcc mysql-devel libxml2-devel net-snmp-devel curl-devel OpenIPMI-devel libssh2-devel iksemel-devel

#wget https://cdn.zabbix.com/zabbix/sources/stable/6.4/zabbix-6.4.8.tar.gz

#groupadd –system zabbix
#useradd –system -g zabbix -d /usr/lib/zabbix -s /sbin/nologin -c “Zabbix Monitoring System” zabbix


#mkdir -m u=rwx,g=rwx,o= -p /usr/lib/zabbix
(more…)

centos 7 inerface config

ip link add link enp9s4f0 name enp9s4f0.100 type vlan id 100
ip link set dev enp9s4f0.100 up
ip addr add 192.168.0.2/24 dev enp9s4f0.100
ip route add default via 192.168.0.1

ip a

zyxel auto backup config

#!/bin/sh
(sleep 2 ; echo “LOGIN” ; sleep 2 ;echo “PASSWORD” ; sleep 2; echo “ENABLE_PASSWORD” ;echo “sh run” ; sleep 5; quit) | telnet 192.168.1.1