Commit a0b3f88c authored by Yuri Aksenov's avatar Yuri Aksenov

Fixed version for tar

parent 9d7ba721
...@@ -149,10 +149,10 @@ endef ...@@ -149,10 +149,10 @@ endef
export HTTPD_CONF export HTTPD_CONF
proxy: zabbix-proxy-service zabbix-proxy-config proxy: zabbix-proxy-service zabbix-proxy-config
tar xf zabbix-3.4.14.tar.gz tar xf zabbix-4.2.4.tar.gz
cd zabbix-3.4.14 && ./configure --prefix=/usr --sysconfdir=/etc --enable-proxy --with-openssl --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2 cd zabbix-4.2.4 && ./configure --prefix=/usr --sysconfdir=/etc --enable-proxy --with-openssl --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
$(MAKE) -C zabbix-3.4.14 $(MAKE) -C zabbix-4.2.4
$(MAKE) -C zabbix-3.4.14 install $(MAKE) -C zabbix-4.2.4 install
install -v -Dm755 zabbix_proxy-configure /usr/sbin/zabbix_proxy-configure install -v -Dm755 zabbix_proxy-configure /usr/sbin/zabbix_proxy-configure
sed -e 's|^Server=.*|# Server=|' -i /etc/zabbix_proxy.conf sed -e 's|^Server=.*|# Server=|' -i /etc/zabbix_proxy.conf
sed -e 's|^Hostname=.*|# Hostname=|' -i /etc/zabbix_proxy.conf sed -e 's|^Hostname=.*|# Hostname=|' -i /etc/zabbix_proxy.conf
...@@ -171,7 +171,7 @@ proxy: zabbix-proxy-service zabbix-proxy-config ...@@ -171,7 +171,7 @@ proxy: zabbix-proxy-service zabbix-proxy-config
install -v -Dm755 zabbix_proxy /usr/share/easycwmp/functions/zabbix install -v -Dm755 zabbix_proxy /usr/share/easycwmp/functions/zabbix
echo "Defaults !requiretty" >> /etc/sudoers echo "Defaults !requiretty" >> /etc/sudoers
echo "ALL ALL=(ALL) NOPASSWD: /usr/bin/nmap" >> /etc/sudoers echo "ALL ALL=(ALL) NOPASSWD: /usr/bin/nmap" >> /etc/sudoers
rm -rf zabbix-3.4.14 rm -rf zabbix-4.2.4
zabbix-proxy-service: zabbix-proxy-service:
define ZABBIX_PROXY_SERVICE define ZABBIX_PROXY_SERVICE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment