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
网友评论