zabbix 2.4 install script under the OS of Ubuntu

#!/bin/bash
echo "-----------------------start install zabbix----------------------"
wget http://repo.zabbix.com/zabbix/2.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.4-1+trusty_all.deb
dpkg -i zabbix-release_2.4-1+trusty_all.deb
apt-get update
apt-get --missing
apt-get install zabbix-server-mysql zabbix-frontend-php
if [ $? -ne 0 ];then
echo "install failed ,please check it out!"
exit 1
fi
echo "ServerName 127.0.0.1:80" >> /etc/apache2/apache2.conf
service apache2 restart
service zabbix_server restart

时间: 2024-10-07 16:53:03

zabbix 2.4 install script under the OS of Ubuntu的相关文章

mysql install script under the OS of Ubuntu

#!/bin/bash echo "-----------------------start install mysql----------------------" apt-get install make cmake libncurses5-dev bison g++ mkdir -p /data/mysql/dbdata if [ `grep "mysql" /etc/passwd | wc -l` -eq 0 ];then echo "adding

Cloudinsight Agent install script

#!/bin/bash # Cloudinsight Agent install script. set -e logfile="ci-agent-install.log" gist_request=/tmp/agent-gist-request.tmp gist_response=/tmp/agent-gist-response.tmp if [ $(command -v curl) ]; then cl_cmd="curl -f" else cl_cmd=&qu

webpacke install vue application 报错 Failed at the [email protected] install script

刚刚在网上下了个开源的项目: https://github.com/ing670/webappkiller 执行npm install 报错:npm ERR! Failed at the [email protected] install script 'node install.js'. 直接在项目根目录执行:npm install phantomjs-prebuilt -save 安装缺少的类库. 再次安装成功!

Install Docker on Mac OS X(转)

Install Docker on Mac OS X You can install Docker using Boot2Docker to run docker commands at your command-line. Choose this installation if you are familiar with the command-line or plan to contribute to the Docker project on GitHub. Alternatively,

How to Install Subversion on Mac OS X

How to Install Subversion on Mac OS X 740,518 views 17 Editors Edited 8 days ago Two Parts:Install From a Binary PackageSet Up Your Subversion Environment Subversion, sometimes called SVN, is an open-source system that remembers every change made to

Open-Falcon install script(Open-Falcon监控一键安装脚本)

#!/bin/bash #This is Open-Falcon install script #Data is 2018/1/10 #Editer Zhanxing  #本脚本使用Red 7和CentOS 7系统安装Open-Falcon install_preparation() { yum install -y wget vim yum install -y git  pip epel-release golang  redis  python get-pip.py pip install

【转】install intel wireless 3165 driver for ubuntu 14.04.3

[转]install intel wireless 3165 driver for ubuntu 14.04.3 Ubuntu 14.04.3 with 3.19 kernel can’t drive the new Intel Wireless 3165 AC with firmware version 13.This is about how to install the driver mannually. Today I changed a new Dell vastro 5000 ser

Install Redmine 3.2.0 on Ubuntu 14.04

To install redmine 3.2.0 on Ubuntu 14.04, mainly follow the tutorial: HowTo Install Redmine 3.0.x on Ubuntu 14.04 with Apache2, Phusion Passenger, MySQL, Subversion and Git (Gitolite) During the install process, some problems are encountered. The res

install the Mondo Rescue utility in Ubuntu 12.04 or 12.10.

  1. Open a terminal window. 2. Type in the following commands, then hit Enter after each. wget ftp://ftp.mondorescue.org/ubuntu/`lsb_release -r|awk '{print $2}'`/mondorescue.sources.listsudo sh -c "cat mondorescue.sources.list >> /etc/apt/sour