指点云用户44 发表于 2022-7-29 21:43:26

图文详解:使用宝塔面板配置ImServer

本篇文章给大家带来了关于宝塔面板的相关知识,其中主要介绍了使用宝塔配置ImServer的相关问题,包括了安装Supervisor以及使用Supervisor管理ImServer后台进程等等内容,下面一起来看一下,希望对大家有帮助。
https://img.php.cn/upload/article/000/000/067/62a7f720725a5717.jpg推荐学习:宝塔面板安装 Redishttps://img.php.cn/upload/image/617/106/390/1655174709424662.png配置 ImServer 信息配置 .env 文件中 Redis 连接信息
123456789# Redis连接信息# 服务器IM_SERVER_REDIS_HOST=127.0.0.1# 密码,默认为空IM_SERVER_REDIS_PASSWORD=# 端口,默认6379IM_SERVER_REDIS_PORT=6379# Redis数据库序号IM_SERVER_REDIS_DATABASE=2

使用 Supervisor 管理 ImServer 后台进程安装 Supervisor 管理器https://img.php.cn/upload/image/183/791/792/1655174727304304.png添加守护进程并启动其中启动命令:php/www/server/php/70/bin/php /www/wwwroot/xxx.com/artisan im-server:worker starthttps://img.php.cn/upload/image/814/614/718/1655174736483437.pnghttps://img.php.cn/upload/image/730/434/594/1655174743864451.png检查日志确保启动正常https://img.php.cn/upload/image/333/829/803/1655174751173219.png


页: [1]
查看完整版本: 图文详解:使用宝塔面板配置ImServer