[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 ~]#
相关文章
- 10-28eclipse-indigo 中 user libraries 自动部署 WEB-INF/lib 配置
- 10-28Hibernate部署问题总结
- 10-28KVM虚拟化平台部署 (图文详解)!!
- 10-28KVM虚拟化平台部署(硬件资源分配及详细操作,图文详情!)
- 10-28详解虚拟化之KVM概念、架构、功能、常用工具及部署
- 10-28KVM部署
- 10-28KVM虚拟化平台部署+详细的前言理论
- 10-28kvm部署
- 10-28KVM安装部署
- 10-28KVM简介加部署