php扩展(fileinfo opcache memcached redis imagemagick imap exif intl event)
运行目录:/public
伪静态:laravel5
location /socket.io/ {
proxy_pass http://127.0.0.1:2000/socket.io/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
proxy_redirect off;
}
Es安装
1.yum install java -y
java -version 查看java版本
2.添加yum仓库
vi /etc/yum.repos.d/elasticsearch.repo
加入下面的代码
[elasticsearch-7.x]
name=Elasticsearch repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
3.安装elasticsearch
yum install elasticsearch
4.启动
systemctl start elasticsearch
systemctl stop elasticsearch
systemctl restart elasticsearch
测试
curl -X GET localhost:9200
laravel 常用命令
php artisan cache:clear
php artisan config:clear
php artisan storage:link
别的就是守护进程 每套交易所可能有所不同
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容