摘要: 配置对应的版本 ~6.0 和你的安装的 elasticsearch 保持一致 composer require elasticsearch/elasticsearch:~6.0 修elasticsearch 配置文件 /etc/elasticsearch/elasticsearch.yml (我安装 阅读全文
posted @ 2020-07-12 17:39 hubb 阅读(1759) 评论(0) 推荐(0) 编辑
摘要: 我的是主机访问虚拟机的共享文件下的项目 这个问题,是因为nginx去掉index.php的配置问题用` location / { if (!-e $request_filename){ rewrite ^/(.*)$ /index.php/$1 last; } } 用以上代码就会出错,我改成 loc 阅读全文
posted @ 2020-07-12 14:07 hubb 阅读(2949) 评论(0) 推荐(0) 编辑
摘要: 予任何主机访问数据的权限 --所有ip主机 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION ; --指定ip主机 GRANT ALL PRIVILEGES ON *.* TO 阅读全文
posted @ 2020-07-12 10:27 hubb 阅读(764) 评论(0) 推荐(0) 编辑
摘要: systemctl命令: 1、启动防火墙 systemctl start firewalld.service 或 systemctl start firewalld 2、关闭防火墙 systemctl stop firewalld.service 或 systemctl stop firewalld 阅读全文
posted @ 2020-07-12 10:09 hubb 阅读(697) 评论(0) 推荐(0) 编辑