im即时通讯支持红包收发分销功能,带内嵌web页面,已经测试完美运行+搭建教程
需要的环境已经打包在文件夹里了,挺全的一款源码。
之前投稿的源码不能用后台还少了功能,需要对接手机验证码,现在这款只要有邀请码就可以了
开放28018 8383 1236端口
修改mongodb 端口为28018 (端口任意)php安装扩展fileinfo redis Swoole4 mongodb SG15 删除全部禁用函数
/www/wwwroot/im/http/app/im/common/controller/ActionBegin1.php 修改GatwayWork服务地址
/www/wwwroot/im/http/config/database.php 修改数据库信息
/www/wwwroot/im/http/config/app.php修改腾讯视频接口信息
/www/wwwroot/im/socket/app/im/common/controller/Main.php 修改数据库信息
/www/wwwroot/im/socket/app/im/common/controller/Config.php 修改IPmongodb安装
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 或者 wget http://www.ffmpeg.org/releases/ffmpeg-3.4.tar.gzmv ffmeg.zip /opt 或者 mv ffmpeg-3.4.tar.gz /opt
cd /opt 或者 cd /opt
unzip ffmeg.zip 或者 tar -xvf ffmpeg-3.4.tar.gz
安装yasm
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gztar -zxvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure make && make install
./configure && make && make install
cd ../
cd ffmpeg./configure && make && make install
等 。。。。。。。。。。。。
启动服务
cd
cd /www/wwwroot/www.julong1.com/socket
php start.php start 或者 nohup php /www/wwwroot/im/socket/start.php start >/dev/null 2>&1 &
网站后台 你的域名/admin_login admin admin888