美文网首页
Gearman-Monitor

Gearman-Monitor

作者: 9682f4e55d71 | 来源:发表于2018-01-29 12:40 被阅读81次

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

安装composer

I am using CentOS and had same problem.

I changed /usr/local/bin/composer to /usr/bin/composer and it worked.

Run below command :

curl -sS https://getcomposer.org/installer | php 
 sudo mv composer.phar /usr/bin/composer

Verify Composer is installed or not

composer --version

nignx 配置

server {

    listen  80;
    server_name gear.example.com;
    set $root_path '/data/www/Gearman-Monitor';
    root $root_path;

    index index.php index.html index.htm;

    #try_files $uri $uri/ @rewrite;

    location ~ \.php {
        #auth_basic "secret";  #虚拟主机认证命名
        #auth_basic_user_file /etc/nginx/passwd.db; #虚拟主机用户名密码认证数据库

        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index /index.php;

        include /etc/nginx/fastcgi_params;

        fastcgi_split_path_info       ^(.+\.php)(/.+)$;
        fastcgi_param PATH_INFO       $fastcgi_path_info;
        fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }

    location ~* ^/(css|img|js|flv|swf|download)/(.+)$ {
        root $root_path;
    }

    location ~ /\.ht {
        deny all;
    }

}

相关文章

  • Gearman-Monitor

    https://github.com/yugene/Gearman-Monitor 安装composer nign...

网友评论

      本文标题:Gearman-Monitor

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