欢迎来到天天文库
浏览记录
ID:51696037
大小:31.71 KB
页数:13页
时间:2020-03-15
《Zabbix监控系统安装操作详解含错误解析.docx》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、Zabbix监控系统安装手册目录一、安装mysql数据库4二、apache2安装62.1安装安装APR apr-1.4.6.tar.gz62.2安装APR-util apr-util-1.4.1.tar.gz62.3安装PCRE pcre-8.30.tar.gz62.4安装Apache2 httpd-2.4.2.tar.gz62.5apache配置7三、php安装配置73.1安装JPEG6 jpegsrc.v6b.tar.gz73.2安装Zlib zlib-1.2.5.tar.gz83.3安装LIBpng libpng-1.5.13.tar.bz283.4安装F
2、reetype freetype-2.4.10.tar.gz83.5安装GD GD-2.0.33.tar.gz93.6安装Curl curl-7.19.5.tar.gz93.7安装Libxml libxml2-2.7.7.tar.gz93.8安装PHP php-5.3.10.tar.gz10四、zabbix安装11一、安装mysql数据库1、因为mysql5以后编译都是用cmake,所以要先安装cmake解压cmake安装包:tar-zxvfcmake-2.8.5.tar.gz进入解压出来的目录cdcmake-2.8.5编译安装:./configuremake&
3、&makeinstall2、添加mysql用户和组创建mysql组:groupaddmysql创建mysql用户,并用-m创建home目录useradd-m-gmysqlmysql3、创建安装目录:mysql将安装到/USR/LOCAL/MYSQL下mkdir-p/usr/local/mysql/datamkdir-p/usr/local/mysql/log-----修改目录属主和组chown-Rmysql:mysql/usr/local/mysql4、解压安装mysql:tar-zxvfmysql-5.6.15.tar.gz进入解压目录,编译安装:cd/mys
4、ql-5.6.15cmake.-DCMAKE_BUILD_TYPE=RelWithDebInfo-DCMAKE_INSTALL_PREFIX=/usr/local/mysql-DSYSCONFDIR=/etc-DMYSQL_DATADIR=/data-DFEATURE_SET=community-DENABLED_PROFILING=ON-DWITH_MYISAM_STORAGE_ENGINE=1-DWITH_INNOBASE_STORAGE_ENGINE=1-DWITHOUT_PERFSCHEMA_STORAGE_ENGINE=0-DENA
5、BLED_LOCAL_INFILE=1-DMYSQL_TCP_PORT=5393-DDEFAULT_CHARSET=utf8-DDEFAULT_COLLATION=utf8_general_ci-DWITH_EXTRA_CHARSETS=all-DWITH_SSL=bundled-DWITH_EMBEDDED_SERVER=OFF-DWITH_DEBUG=ON-DENABLE_DOWNLOADS=0make-j4&&makeinstall(-j4指定编译cpu数,加快速度,可以不加)5、Mysql配置添加缺省的my.conf配置::/usr/lo
6、cal/mysql#cpsupport-files/my-default.cnf/etc/my.cnf配置环境变量:vi/etc/profilePATH=$PATH:/usr/local/mysql/bin/;exportPATHEXPORTPATH=$PATH:/usr/local/mysql/bin/修改安装文件属主:/usr/local#chown-Rmysql:mysqlmysql加载修改后的配置文件:sourceprofile6、手动安全模式启动数据库:#bin/mysqld_safe--user=mysql&二、apache2安装SUSE11自带安装
7、apache2,如果安装了,请卸载:linux-1z88:/home/jie#zypperrmapache2.1安装安装APR apr-1.4.6.tar.gz1.#tar -zxf apr-1.4.6.tar.gz 2.#./configure --prefix=/usr/local/services/apr 3.#make 4.#make install 2.2安装APR-util apr-util-1.4.1.tar.gz1.#tar -zxf apr-util-1.4.1.tar.gz 2.#./configure --prefix=/usr/
8、local/servic
此文档下载收益归作者所有