ubuntu install zabbix
ubuntu install zabbix
reference1
reference2
some ERRORS raise during install process, may it help.
zabbix install mysql
zcat /usr/share/doc/zabbix-server-mysql-*/create.sql.gz | mysql -uzabbix zabbix -p
Unable to locate package
ERROR: The repository 'cdrom://Ubuntu-Server 16.04.3 LTS Xenial Xerus - Release amd64 (20170801) xenial Release' does not have a Release file
apt-get dist-upgrade
ERROR: please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
vim /etc/apt/sources.list
comment or remove follow line:
# deb cdrom:[Ubuntu-Server 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.3)]/ xenial main restricted
ERROR: zbbix The requested URL /zabbix was not found on this server.
ln -s /etc/zabbix/apache.conf /etc/apache2/conf-available/zabbix.conf a2enconf zabbix.conf service apache2 reload
ERROR: Package 'php5-mysql' has no installation candidate
remove 5 from php5-mysql
apt-get install php-mysql
ERROR: cannot create regular file '/etc/apache2/conf.d/zabbix.conf': No such file or directory
cp /usr/share/doc/zabbix-frontend-php/examples/apache.conf /etc/apache2/conf.d/zabbix.conf
change to follow
cp /usr/share/doc/zabbix-frontend-php/examples/apache.conf /etc/apache2/conf-available/zabbix.conf
sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
vim /etc/apt/sources.list
sources.list content as follow:
###### Ubuntu Main Repos deb http://us.archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse ###### Ubuntu Update Repos deb http://us.archive.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse deb http://us.archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse ###### Ubuntu Partner Repo deb http://archive.canonical.com/ubuntu maverick partner deb-src http://archive.canonical.com/ubuntu maverick partner deb http://extras.ubuntu.com/ubuntu maverick main #Third party developers repository deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu maverick main # disabled on upgrade to maverick
ubuntu install zabbix的更多相关文章
- Ubuntu下Zabbix安装及使用问题
1.configure: error: MySQL library not found MySQL library not found root@kallen:~# apt-get install l ...
- Ubuntu下Zabbix服务器监控工具部署
Ubuntu下Zabbix服务器监控工具部署 一 安装安装Apache.Mysql.Php.zabbix sudo apt-get update sudo apt-get install apache ...
- Ubuntu系统配置Zabbix前端及中文乱码解决方案
Ubuntu系统配置Zabbix前端及中文乱码解决方案 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.安装zabbix 博主推荐阅读: https://www.cnblogs ...
- Ubuntu install TensorFlow
/******************************************************************************** * Ubuntu install T ...
- How to Install Zabbix Server on Centos6.7
Prerequisite Environment First you must use your Subscription Manager to enable SCL: [root@fileserve ...
- Install zabbix
- name: Create dir to keep install file file: path=/opt/pacheage state=directory follow=yes force=ye ...
- Ubuntu install android studio
Ubuntu install android studio 1. 安装 openjdk8,并在配置文件 /etc/profile 中,追加如下内容: sudo aptitude install ope ...
- ubuntu install redis
ubuntu install redis apt-get update apt-get install redis-server redis-server --daemonize yes
- ubuntu安装zabbix 3.2(转)
转自:http://www.zabbix.org.cn/viewtopic.php?f=13&t=1096本人略做了写修改. 准备工作 apt-get update apt-get upgra ...
随机推荐
- 遗传算法求解TSP问题
package com.louis.tsp; /** * Project Name:GeneticAlgorithm * File Name:Individual.java * Package Nam ...
- html5盒子模型
相关博客: Flex 布局教程:语法篇:http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html Flex 布局教程:实例篇:http://ww ...
- Java简单高精度合集
第一个Java的算法程序.记得可以使用Alt+'/'自动补全sysout和main之类的. BigInteger在java.math.BigInteger中. import java.math.Big ...
- python __builtins__ bytes类 (8)
8.'bytes', 字符串转换成字节流.第一个传入参数是要转换的字符串,第二个参数按什么编码转换为字节. class bytes(object) | bytes(iterable_of_ints) ...
- Codeforces732D Exams
显然要二分答案,然后对于一个天数,我们来判断是否可以通过所有考试,这里就贪心来安排就好了. 首先我们希望每门课的考试时间越晚越好,然后就是先复习最早开始的考试. #include <bits/s ...
- Codeforces Round #513解题报告(A~E)By cellur925
我是比赛地址 A:Phone Numbers $Description$:给你一串数字,问你能组成多少开头为8的11位电话号码. $Sol$:统计8的数量,与$n$%11作比较. #include&l ...
- 跟我一起玩Win32开发(1):关于C++的几个要点
我不知道各位,一提起C++,第一感觉是什么?而据俺的观察,许多人几乎成了“谈C色变”.不管是C还是C++,一直以来都被很多人视为相当难学的玩意儿,幸好只是一个C++,没有C--,C**和C//,不然, ...
- $.ajax从后台取数据 然后做字符串拼接的例子
- Python %s和%r的区别
%s 用str()方法处理对象 %r 用rper()方法处理对象,打印时能够重现它所代表的对象(rper() unambiguously recreate the object it represen ...
- salt-stack系列报错
master启动报错 实验环境为: [root@master salt]# cat /proc/version Linux version 3.10.0-327.el7.x86_64 (mockbui ...