即时通讯聊天程序源码/IM聊天系统/即时通讯系统源码/VUE开发

2021-10-15 14:28:57  浏览:1492  作者:管理员

前端开发语言:Vue( 安卓,IOS,Web为一套前端代码),服务器端开发语言: PHP+WebSocket,数据库:MySql + Mongodb,前端打包工具:Hbuilder 服务器搭建工具:宝塔 + Xshell。

短信接口: 支持阿里云 支付接口:支持支付宝 服务器配置: 4核8G宽带10兆以上,服务器系统:Linux CentOS 7.6 64位,是否需要域名:需要。

还有更详细的教程,我就不写上来了,因为有点乱,所以就放到文件的压缩包里面去了,大家自行下载查看。


短信接口: 支持阿里云 支付接口:支持支付宝 服务器配置: 4核8G宽带10兆以上,服务器系统:Linux CentOS 7.6 64位,是否需要域名:需要。

教程开始

开放28018 8383 1236端口
修改mongodb 端口为28018

php安装扩展:
fileinfo redis Swoole4 mongodb
删除全部禁用函数

终端命令:
/www/wwwroot/im/http/app/im/common/controller/ActionBegin1.php 修改GatwayWork服务地址
/www/wwwroot/im/http/config/database.php 修改数据库信息
/www/wwwroot/im/socket/app/im/common/controller/Main.php 修改数据库信息
/www/wwwroot/im/socket/app/im/common/controller/Config.php 修改IP

mongodb安装
cd /www/server
cd mongodb
cd bin
./mongorestore -h 127.0.0.1:28018 -d im -dir /www/wwwroot/mongodb/im

ffmpeg安装
wget http://smiaoshen.oss-cn-hangzhou.aliyuncs.com/im/ffmeg.zip
mv ffmeg.zip /opt
cd /opt
unzip ffmeg.zip

安装yasm
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar -zxvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure make && make install
./configure && make && make install
cd ../
cd /opt
cd ffmpeg
./configure && make && make install

启动服务
cd
cd /www/wwwroot/im/socket
php start.php start

下载Hbuilder
前端操作需要设置vue主程序的三个api接口

后台登录用户名:admin 密码:123456   TP伪静态,防跨域关掉


评论区

共0条评论
  • 这篇文章还没有收到评论,赶紧来抢沙发吧~

【随机新闻】

返回顶部