-
-
Notifications
You must be signed in to change notification settings - Fork 6
Docker 的 LNMP 一键安装开发环境与 PHP 非侵入式监控平台 xhgui 的安装使用 #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
能加一个php7.1 7.3吗 |
@summermagic 可以加的,我抽个时间加下。 |
@all-contributors please add @summermagic for ideas |
I've put up a pull request to add @summermagic! 🎉 |
[RuntimeException] 这个好像是composer 有问题 |
@summermagic 更新下 composer 版本试试,运行 |
mongo提示No suitable servers found (serverSelectionTryOnce set): [connection timeout calling ismaster on 'mongo:27017'],重构完也没用 |
|
Docker 的 LNMP 一键安装开发环境与 PHP 非侵入式监控平台 xhgui 的安装使用
安装之前请确保安装了以下软件
安装 dnmp-plus
$ git clone https://github.com/guanguans/dnmp-plus.git --recursive $ cd dnmp-plus $ cp env.sample .env $ cp docker-compose-sample.yml docker-compose.yml $ docker-compose up
默认 web 根目录
www/localhost/
,浏览器访问 http://localhost安装使用 xhgui
安装
$ cd www/xhgui-branch $ composer install
修改 xhgui-branch 配置文件
www/xhgui-branch/config/config.default.php
hosts 文件中增加
浏览器访问 http://xhgui.test
安装一个 laravel 项目作为要性能追踪及分析的项目使用示例
$ cd www/ $ composer create-project laravel/laravel $ ./artisan make:auth
配置 laravel 的 nginx 配置
$ cd conf/conf.d/ $ cp laravel.conf.sample laravel.conf
修改 laravel.conf 为
hosts 文件中增加
重启 nginx
浏览器访问 http://laravel.test, 再访问 http://xhgui.test,愉快的查看 laravel 项目的性能追踪及分析吧
The text was updated successfully, but these errors were encountered: