zabbix3.0.4 部署History
[root@zabbix-Test ~]# history
1 passwd root
2 exit
3 yum install ntpd*
4 yum install ntpd*
5 yum install vim
6 vim /etc/sysconfig/network-scripts/ifcfg-eth0
7 service network restart
8 ping www.baidu.com
9 ping 192.168.18.1
10 ping 202.96.209.133
11 vim /etc/rsyslog.conf
12 vim /etc/resolv.conf
13 vim /etc/sysconfig/network-scripts/ifcfg-eth0
14 vim /etc/sysconfig/network
15 ping 202.96.209.133
16 service network restart
17 ping 202.96.209.133
18 yum install ntpd*
19 ntpdate cn.ntp.org.cn
20 crontab -e
21 crontab -e
22 service crond restart
23 chkconfig crond on
24 chkconfig crond on
25 vim /etc/selinux/config
26 yum install wget unzip make gcc gcc-c++ gcc-g77
27 vim /etc/ssh/sshd_config
28 service sshd restart
29 exit
30 vi /etc/sysconfig/network-scripts/ifcfg-eth0
31 ifup eth0
32 ifconfig
33 ifup eth0
34 ifconfig
35 yum updata
36 yum update
37 yum update -y
38 uname -a
39 ifconfig
40 service iptables stop
41 exit
42 hithory
43 history
44 servie nginx restart
45 service nginx restart
46 chkconfig nginx on
47 service mysqld status
48 reboot
49 find / -name schema.sql
50 cd /opt/soft/zabbix-3.0.4
51 ./configure --help
52 mysql -u root -p
53 cd /opt/soft/
54 ll
55 yum list mysql-libs
56 yum list mysql-devel
57 mysql -uroot -p
58 service mysql stop
59 service mysqld stop
60 service mysqld start --skip-grant-tables
61 mysql -uroot
62 service mysqld restart
63 mysql -uroot -p
64 mysql -uzabbix -p
65 mysql -uroot -p
66 serivce mysqld restart
67 service mysqld restart
68 mysql -uzabbix -p
69 ln -s libmysqlclient.so.16.0.0 libmysqlclient.so
70 ln -s libmysqlclient_r.so.16.0.0 libmysqlclient_r.so
71 groupadd zabbix
72 ln -s /usr/local/lib/libiconv.so.2 /usr/lib/libiconv.so.2
73 /sbin/ldconfig
74 cd zabbix-3.0.4
75 cd ..
76 rm -rf zabbix-3.0.4
77 tar zxvf zabbix-3.0.4.tar.gz
78 ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-net-snmp --with-libcurl --enable-proxy --with-mysql=/usr/bin/mysql_config
79 cd zabbix-3.0.4
80 ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-net-snmp --with-libcurl --enable-proxy --with-mysql=/usr/bin/mysql_config
81 yum install mysql-lib
82 yum install mysql-libs
83 ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-net-snmp --with-libcurl --enable-proxy --with-mysql=/usr/bin/mysql_config
84 rpm -qa |grep mysql
85 rpm -e |grep mysql-libs-5.1.73-7.el6.x86_64
86 rpm -e |grep mysql-libs-5.1.73-7.el6.x86_64 --nodeps
87 rpm -e mysql-libs-5.1.73-7.el6.x86_64 --nodeps
88 service mysqld restart
89 rpm -qa |grep mysql
90 vim /etc/my.cnf.rpm
91 yum list mysql-devel
92 yum install library mysqlclient
93 ls
94 cd ..
95 ll
96 ls
97 cd mysql-5.6.17
98 ll
99 cd packaging/
100 ls
101 cd /opt/soft/zabbix-3.0.4
102 ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-net-snmp --with-libcurl --with-mysql
103 yum install net-snmp-devel
104 ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-net-snmp --with-libcurl --with-mysql
105 make
106 make install
107 ln -s /usr/local/zabbix/sbin/* /usr/local/sbin/
108 ln -s /usr/local/zabbix/bin/* /usr/local/bin/
109 vi /etc/services
110 cd /usr/local/zabbix/etc
111 vi /usr/local/zabbix/etc/zabbix_server.conf
112 vi /usr/local/zabbix/etc/zabbix_agentd.conf
113 find / -name zabbix_server
114 cp /opt/soft/zabbix-3.0.4/misc/init.d/fedora/core/zabbix_server /etc/init.d/zabbix_server
115 cp /opt/soft/zabbix-3.0.4/misc/init.d/fedora/core/zabbix_agentd /etc/init.d/zabbix_agentd
116 chmod +x /etc/init.d/zabbix_server
117 chmod +x /etc/init.d/zabbix_agentd
118 chkconfig zabbix_agentd on
119 chkconfig zabbix_server on
120 vi /etc/rc.d/init.d/zabbix_serve
121 vi /etc/init.d/zabbix_serve
122 vi /etc/init.d/zabbix_server
123 vi /etc/init.d/zabbix_agentd
124 cd /opt/soft/zabbix-3.0.4
125 cp -Ra frontends/ /home/wwwroot/zabbix/.
126 chown zabbix.zabbix /home/wwwroot/zabbix/
127 groupadd zabbix
128 useradd zabbix -g zabbix -s /bin/false
129 cd /home/wwwroot/
130 chown zabbix.zabbix zabbix/
131 ll
132 chown -R zabbix.zabbix zabbix/
133 service zabbix_server start
134 yum install libraries
135 ln -s /usr/local/lib/libiconv.so.2 /usr/lib/libiconv.so.2
136 yum install curl curl-devel
137 find / -name libmysqlclient.so.18
138 echo "/usr/local/mysql/lib" >>/etc/ld.so.conf
139 service zabbix_server start
140 vim /etc/ld.so.conf
141 reboot
142 mysql -uroot -p
143 yum install mysql-lib
144 cd /opt/soft
145 rpm -ivh MySQL-devel-5.6.24-1.el6.x86_64.rpm
146 mysql -uroot -p
147 service iptables start
148 service iptables restart
149 vim /etc/sysconfig/iptables
150 service iptables restart
151 vim /etc/sysconfig/iptables
152 service iptables restart
153 vim /etc/sysconfig/iptables
154 service iptables restart
155 exit
156 vim /etc/sysconfig/iptables
157 service iptables restart
158 exit
159 ldconfig
160 service zabbix_server start
161 service zabbix_server restart
162 re
163 service zabbix_server restart
164 ll
165 cd /home/wwwroot/zabbix/
166 ls
167 cd frontends/
168 ls
169 php/
170 ls
171 cd php/
172 ls
173 pwd
174 vim /usr/local/php/etc/php.ini
175 vim /usr/local/php/etc/php-fpm.conf
176 service php-fpm restart
177 vim /usr/local/php/etc/php.ini
178 service php-fpm restart
179 server mysqld status
180 server mysqld start
181 service mysqld status
182 mysql -uroot -p
183 mysql -uzabbix -p
184 cd /home/wwwroot/
185 ll
186 chowm -R zabbix.zabbix zabbix/
187 chown -R zabbix.zabbix zabbix/
188 cd zabbix/
189 ls
190 ll
191 cd
192 ll
193 cd /home/wwwroot/zabbix/
194 ll
195 rm -rf frontends/
196 find / -name frotends
197 cd ..
198 cd zabbix/
199 ls
200 cd /opt/soft/zabbix-3.0.4
201 ls
202 frontends/
203 ls
204 cd misc/
205 ls
206 cd ..
207 ls
208 cd frontends/
209 ll
210 cd ..
211 cd frontends/
212 cp -Ra php/ /home/wwwroot/zabbix/.
213 cd /home/wwwroot/
214 chown www.www zabbix/
215 chown -R www.www zabbix/
216 ls
217 cd /usr/local/zabbix/share/zabbix/alertscripts/
218 ls
219 vim weixin.py
220 vim sendEmail.sh
221 vim sendEmail.sh
222 chmod +x sendEmail.sh
223 chmod +x weixin.py
224 vim /usr/local/nginx/conf/nginx.conf
225 service nginx restart
226 cd /home/wwwroot/
227 ls
228 cd zabbix/
229 ls
230 cp -Ra htdocs/ php/
231 vim /etc/sysconfig/network-scripts/ifcfg-eth0
232 service network restart
233 vim /etc/sysconfig/iptables
234 service iptables restart
235 reboot
236 vim /etc/sysconfig/iptables
237 service iptables stop
238 service iptables restart
239 service zabbix_agentd stop
240 service zabbix_agentd start
241 find / -name zabbix_agentd.conf.d
242 vim /etc/init.d/zabbix_agentd
243 vim /usr/local/zabbix/etc/zabbix_agentd.con
244 service zabbix_agentd start
245 service zabbix_agentd stop
246 service zabbix_agentd start
247 service zabbix_agentd stop
248 service zabbix_agentd start
249 service zabbix_agentd stop
250 servive mysqld status
251 service mysqld status
252 ifconfig
253 service mysqld stop
254 service mysqld start
255 service zabbix_agentd stop
256 service zabbix_agentd start
257 service zabbix_agentd stop
258 cd /usr/local/zabbix/share/zabbix/alertscripts/
259 ./sendEmail.sh 1102857519@qq.com 9 9
260 ls
261 ./sendEmail.sh 1102857519@qq.com 9 9
262 cd /opt/soft/
263 tar zxvf sendEmail-v1.56
264 cd /opt/soft/sendEmail-v1.56
265 ls
266 cd cdls
267 ls
268 cp
269 cp
270 cp sendEmail /usr/local/bin/sendEmail
271 chmod +x /usr/local/bin/sendEmail
272 /etc/init.d/zabbix_agentd start
273 cd /usr/local/zabbix/share/zabbix/alertscripts/
274 ./sendEmail.sh 1102857519@qq.com 9 0
275 vim sendEmail.sh
276 ./sendEmail.sh 1102857519@qq.com 1102857519@qq.com 0
277 sh sendEmail.sh 1102857519@qq.com 1102857519@qq.com 0
278 ls
279 ll
280 file /usr/local/bin/sendEmail
281 yum install perl-Net-SSLeay perl-IO-Socket-SSL -y
282 ./sendEmail.sh 1102857519@qq.com 1 1
283 vim sendEmail.sh
284 ./sendEmail.sh 1102857519@qq.com 1 1
285 ./sendEmail.sh 1102857519@qq.com 1102857519@qq.com 1
286 ./sendEmail.sh 1102857519@qq.com 1102857519@qq.com 1102857519@qq.com
287 vim sendEmail.sh
288 chmod +x sendEmail.sh
289 ./sendEmail.sh 1102857519@qq.com 1102857519@qq.com 1102857519@qq.com
290 vim sendEmail.sh
291 ./sendEmail.sh 1102857519@qq.com 1102857519@qq.com 1102857519@qq.com
292 vim sendEmail.sh
293 ./sendEmail.sh panshengan@qq.com 1102857519@qq.com 1102857519@qq.com
294 vim sendEmail.sh
295 ./sendEmail.sh 1102857519@qq.com 1102857519@qq.com 1102857519@qq.com
296 vim sendEmail.sh
297 ./sendEmail.sh 1102857519@qq.com 1102857519@qq.com 1102857519@qq.com
298 vim sendEmail.sh
299 ./sendEmail.sh 1102857519@qq.com 1102857519@qq.com 1102857519@qq.com
300 vim sendEmail.sh
301 ./sendEmail.sh 1102857519@qq.com 1102857519@qq.com 1102857519@qq.com
302 ./sendEmail.sh
303 ./sendEmail.sh eq
304 ./sendEmail.sh 1102857519@qq.com
305 ./sendEmail.sh 1102857519@qq.com 1 1
306 vim sendEmail.sh
307 ./sendEmail.sh 1102857519@qq.com 1 1
308 vim sendEmail.sh
309 ./sendEmail.sh 1102857519@qq.com 1 1
310 vim sendEmail.sh
311 ./sendEmail.sh 1102857519@qq.com 1 1
312 halt
313 history
314 service network restart
315 vim /etc/sysconfig/network-scripts/ifcfg-eth0
316 vim /etc/sysconfig/network
317 vim /etc/resolv.conf
318 ping 10.0.0.1
319 service network restart
320 ping 10.0.0.1
321 vim /etc/sysconfig/iptables
322 service iptables restart
323 passwd root
324 history
[root@zabbix-Test ~]#
zabbix3.0.4 部署History的更多相关文章
- zabbix3.0安装部署文档
zabbix v3.0安装部署 摘要: 本文的安装过程摘自http://www.ttlsa.com/以及http://b.lifec-inc.com ,和站长凉白开的<ZABBIX从入门到精通v ...
- zabbix3.0.4 部署之九 (zabbix3.0.4 Linux Agent安装)
1.从官网现在源码镜像 http://nchc.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/3.2.1/zabbix-3. ...
- Zabbix3.0完整部署
0. 准备工作 0.1 初始化 #!/bin/sh yum clean all systemctl stop firewalld.service systemctl disable firewalld ...
- zabbix3.0.4 部署之二 (Centos6.5系统准备)
1.安装Centos6.5 2.6.32-642.4.2.el6.x86_64 升级所有软件至最新: yum update 2.同步时间.安装ntpd yum install ntpddate n ...
- zabbix3.0.4 部署之一 (简介)
官方网站:http://www.zabbix.com/ 下载地址:http://www.zabbix.com/download.php zabbix是一个基于WEB界面的提供分布式系统监视以及网络监视 ...
- zabbix3.0.4 部署之七 (zabbix3.0.4 邮件报警) & 微信报警
1 [root@sv-zabbix ~]# cat /usr/local/zabbix/share/zabbix/alertscripts/sendEmail.sh #!/bin/bash#SMTP_ ...
- zabbix3.0.4 部署之八 (zabbix3.0.4 微信报警)
[root@sv-zabbix ~]# cat /usr/local/zabbix/share/zabbix/alertscripts/weixin.py #!/usr/bin/env python# ...
- zabbix3.0.4 部署之六 (zabbix3.0.4安装)
1. 新建zabbix用户,新建mysql zabbix数据库,并授权. groupadd zabbix #创建用户组zabbix useradd zabbix -g zabbix -s /bin/f ...
- zabbix3.0.4 部署之五 (LNMP > nginx1.9.9)
1 wget http://nginx.org/download/nginx-1.9.9.tar.gz cd /opt/pcre-8.35 autoreconf -ivf Installing sha ...
随机推荐
- C#排列组合类
//----------------------------------------------------------------------------- // // 算法:排列组合类 // // ...
- docker私有仓库搭建(ubuntu 14.04和centos7)
最近是在做一个关于docker云化的项目,马上就要开始实战.下午先做了一个私有仓库搭建的实验,先大概做个笔记,有兴趣的蛮看一下吧. 先在所有机子上都安装上docker,我的是两台ubuntu,分别是1 ...
- 实例:SSh结合Easyui实现Datagrid的分页显示
近日学习Easyui,发现非常好用,界面很美观.将学习的心得在此写下,这篇博客写SSh结合Easyui实现Datagrid的分页显示,其他的例如添加.修改.删除.批量删除等功能将在后面的博客一一写来. ...
- ubuntu配置openvpn
http://www.zhixing123.cn/ubuntu/ubuntu-openvpn-settings-tutorial.html 本文介绍Ubuntu连接使用OpenVPN方法教程,Ubun ...
- D. Bear and Two Paths(贪心构造)
D. Bear and Two Paths time limit per test 2 seconds memory limit per test 256 megabytes input standa ...
- Freemodbus 1.5
源:http://blog.sina.com.cn/s/blog_4935209001012eax.html 网站位置:http://www.freemodbus.org/index.php?lang ...
- margin 如何居中
#id { margin-left: auto; margin-right: auto;width:100px}一定得增加width:100px这一个属性.margin:[N]px auto;widt ...
- Python+Selenium 环境配置之Firefox,IE,Chrome几种浏览器运行
Selenium(Webdriver)支持Firefox,IE,Chrome等多个浏览器.很多人可能装环境时遇到很多问题,下面简单聊聊如何配置测试这几个浏览器以及相关通过简单的实例来测试. 1.Fir ...
- CodeForces 614B Gena's Code
#include <stdio.h> #include <string.h> #include <iostream> #include <algorithm& ...
- Nexus搭建私服 学习
为什么要搭建nexus私服 因为有些公司不提供外网给项目组人员,因此就不能使用maven访问远程的仓库地址,所以,有必要再局域网里找一台有外网权限的机器.搭建nexus私服,然后开发人员连接到这台私服 ...