美文网首页
centos 7 部署Gearman和Gearman-Monit

centos 7 部署Gearman和Gearman-Monit

作者: 李其伟 | 来源:发表于2017-08-03 09:13 被阅读0次

    vim /etc/sysconfig/network-scripts/ifcfg-ens33

    service network restart

    yum install -y httpd git gcc-c++ boost-devel gperf* libevent-devel* libuuid-devel

    yum install php php-devel httpd-devel php-pear php5-dev

    wget https://github.com/gearman/gearmand/releases/download/1.1.16/gearmand-1.1.16.tar.gz

    tar -zxvf gearmand-1.1.16.tar.gz

    cd gearmand-1.1.16/

    ./configure

    make

    make install

    mkdir -p /usr/local/var/log

    gearmand -d

    semanage port -a -t http_port_t -p tcp 4730

    cd /var/www/html/

    git clone https://github.com/yugene/Gearman-Monitor.git

    curl -sS https://getcomposer.org/installer | php

    php composer.phar install

    service httpd restart

    相关文章

      网友评论

          本文标题:centos 7 部署Gearman和Gearman-Monit

          本文链接:https://www.haomeiwen.com/subject/uecmqxtx.html