Skip to content

muzk6/jdi-ops

Repository files navigation

jdi-ops

JDI 框架的 OPS 运维后台,用于运维监控与开发调试,包括 日志、调试、性能分析

起步

  • git clone --depth=1 https://github.com/muzk6/jdi-ops.git 克隆项目
  • 进去上面克隆的项目,composer install --no-dev 安装依赖
  • 复制 env.example.phpenv.php, 配置里面的常量
  • 配置入口目录为 public/ 的 http 服务,参考下面 Nginx 配置:
server {
    listen 80;
    server_name jdi-ops.com
    root /www/jdi-ops/public;

    location / {
        try_files $uri $uri/ /index.php$is_args$args;
        index index.php index.html index.htm;
    }

    location ~ \.php$ {
        try_files $uri /index.php =404;
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
}

注意:如果提示目录权限错误,需要对 data 目录(没有则自己新建)加上写权限

其它可选

XHProf

GUI - View Full Callgraph 功能,需要安装 graphviz

  • Ubuntu: sudo apt install graphviz
  • CentOS: yum install graphviz

About

JDI 框架的 OPS 运维后台

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published