This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script for install Zabbix Agent on CentOS 7. | |
# github.com/@olmosleo | |
#SELINUX="/etc/selinux/config"; | |
#echo "SELINUX=disabled" > $SELINUX; | |
#echo "SELINUXTYPE=targeted" >> $SELINUX; | |
# remember to reboot after install or just restart the machine when you finish to execute the script. | |
# Disabled SELINUX |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# @octopusgen - 08-04-2017 | |
# add dns servers | |
echo "nameserver 10.30.1.12" > /etc/resolv.conf | |
echo "nameserver 10.30.1.14" >> /etc/resolv.conf | |
# add network for ethX | |
ETH="eth1"; | |
MAC="00:50:56:A1:31:C9"; | |
IP="10.30.3.181"; |