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
最新文章
- 泛型T的类型获取
- Google 地图 API V3 之控件
- git 忽略提交某个指定的文件(不从版本库中删除)
- JavaScript中JSONObject和JSONArray相关知识备忘(网络转载)
- Qt 程序等待多长时间执行
- 复制 VS 复用 -04
- thread_Disruptor
- linux /etc/rc.d/目录的详解
- Python相关工具清单[持续更新]
- [Javascript] Drawing Paths - Lines and Rectangles
- 最长回文 HDU 3068 (裸的Manacher)
- SQL Server 创建索引的 5 种方法
- Qt中如何 编写插件 加载插件 卸载插件
- 从Access创建Sqlite数据库
- 懒人小工具:自动生成Model,Insert,Select,Delete以及导出Excel的方法
- 利用python实现简单登陆注册系统
- ubuntu安装IBM DB2 Express-C
- 利用JavaScriptSerializer转json实用方法
- Selenium+Java的TestNG测试报告优化
- 关于oracle 索引,收藏
热门文章
- 编写hadoop程序并打成jar包上传到hadoop集群运行
- [NEXT] 时间管理实践
- mongodb 安装问题
- bzoj 1031: [JSOI2007]字符加密Cipher【后缀数组】
- 【Nginx】解决Post请求变Get的问题
- python之list操作
- URAL 7077 Little Zu Chongzhi's Triangles(14广州I)
- 微信小程序开发常见的拉起外部地图软件进行导航的功能
- mysql中迅速插入百万条测试数据的方法
- port 22: Connection refused