[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的更多相关文章

  1. zabbix3.0安装部署文档

    zabbix v3.0安装部署 摘要: 本文的安装过程摘自http://www.ttlsa.com/以及http://b.lifec-inc.com ,和站长凉白开的<ZABBIX从入门到精通v ...

  2. zabbix3.0.4 部署之九 (zabbix3.0.4 Linux Agent安装)

    1.从官网现在源码镜像   http://nchc.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/3.2.1/zabbix-3. ...

  3. Zabbix3.0完整部署

    0. 准备工作 0.1 初始化 #!/bin/sh yum clean all systemctl stop firewalld.service systemctl disable firewalld ...

  4. 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 ...

  5. zabbix3.0.4 部署之一 (简介)

    官方网站:http://www.zabbix.com/ 下载地址:http://www.zabbix.com/download.php zabbix是一个基于WEB界面的提供分布式系统监视以及网络监视 ...

  6. zabbix3.0.4 部署之七 (zabbix3.0.4 邮件报警) & 微信报警

    1 [root@sv-zabbix ~]# cat /usr/local/zabbix/share/zabbix/alertscripts/sendEmail.sh #!/bin/bash#SMTP_ ...

  7. zabbix3.0.4 部署之八 (zabbix3.0.4 微信报警)

    [root@sv-zabbix ~]# cat /usr/local/zabbix/share/zabbix/alertscripts/weixin.py #!/usr/bin/env python# ...

  8. zabbix3.0.4 部署之六 (zabbix3.0.4安装)

    1. 新建zabbix用户,新建mysql zabbix数据库,并授权. groupadd zabbix #创建用户组zabbix useradd zabbix -g zabbix -s /bin/f ...

  9. 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 ...

随机推荐

  1. STM32 IAP 固件升级设计/U盘升级固件

    源:STM32 IAP 固件升级设计/U盘升级固件 固件升级的基本思路是: 将stm32 的flash划分为两个区域: 1.Bootloader区:存放bootloader的代码,bootloader ...

  2. 我也谈javascript闭包的原理理解

    参考原文:http://www.oschina.net/question/28_41112 前言:还是一篇入门文章.Javascript中有几个非常重要的语言特性——对象.原型继承.闭包.其中闭包 对 ...

  3. Why attitude is more important than IQ

    原文:http://www.businessinsider.com/why-attitude-is-more-important-than-iq-2015-9?IR=T& LinkedIn I ...

  4. Nested weights are bad for performance

    警告信息“Nested weights are bad for performance”的消除方法 原因分析:在布局进行嵌套使用时,父布局与子布局都使用了android:layout_weight,但 ...

  5. PAT (Advanced Level) 1073. Scientific Notation (20)

    简单模拟题. #include<cstdio> #include<cstring> #include<cmath> #include<vector> # ...

  6. 浏览器加载外部js 的顺序,以及处理顺序。

    问题, 有事候按F12打开 google的调试台后,查看network下面加载过来的资源是, 有些资源的状态处于 pending.. 个人理解: 浏览器是可以同时开启多个http 请求去加载外部的资源 ...

  7. php命名空间如何引入一个变量类名?

    例子如下: $className = 'Test'; 正常 new \Require\allClass\Test(); 当然OK,但是 new \Require\allClass\$className ...

  8. Mysql(集群)业务水平切割 垂直切割(Amoeba)

     Amoeba原理戳这里:Amoeba详细介绍 需要根据企业 数据业务进行切割,垂直切割又称为纵向切割. 垂直切割通说的说就是有多个表,对表进行分离(用户数据.博客文章数据.照片数据.标签数据类型.群 ...

  9. Windows Azure Storage Client Library 2.0 入门

    入门连接如下: http://gauravmantri.com/2012/11/17/storage-client-library-2-0-migrating-table-storage-code/

  10. JS传递到后台中文 出现乱码问题

    js 异步传递中文字符,后台接收出现乱码问题 function showFirSelect(a){ var b = encodeURI(a); var secUrl = "<%=bas ...