内网即时通信、文件传送、远程协助
Tofloor
poster avatar
hebinq
deepin
2019-07-24 18:01
Author


git clone http://gitee.com/hebinq/websocket_if

服务端安装
1.准备好MYSQL数据库
2. sudo apt install libjsoncpp-dev libjsoncpp1
3. cd websocket_if/websocket/
4. make
5. sudo make install
6. cd ../service/
7. make

服务端设置
1. 配置数据库连接
     sudo ./wsimctl creat dbcfg
                      例:
                             DBSERVER=127.0.0.1                   主机
                             DBUSER=root                                  用户
                             DBPASSWORD=123456               密码
                             DBSPACE=wsim                             数据库
2. 创建数据表
     ./wsimctl creat table

3. 启动服务
    ./wsserver

4.服务转发状态查看
    ./wsstatus


5. 其它工具






客户端:
1.  准备QT5
2.  sudo apt install libjsoncpp-dev libjsoncpp1
3.  cd websocket_if/websocket/
4.  make
5.  sudo make install
6.   cd ../client/
7.   mkdir build
8.   cd   build/
9.   /usr/lib/x86_64-linux-gnu/qt5/bin/qmake ../QtWebIm.pro
10.    make
11.    ./qtwebim



12.  打包 deb
cp qtwebim ../deb/application/
dpkg -b ../deb qtwebim_1.0.2_amd64.deb

Reply Favorite View the author
All Replies
avatar
走钢丝
deepin
2019-07-24 18:53
#1
看起来很复杂的样子。
Reply View the author
avatar
不避风云
deepin
2019-07-24 19:51
#2
能否用在外网通信
Reply View the author
avatar
jianguo922
deepin
2019-07-24 20:38
#3
能能外网同时用吗?
Reply View the author
avatar
hebinq
deepin
2019-07-24 23:28
#4
本帖最后由 hebinq 于 2019-7-24 16:46 编辑
https://bbs.deepin.org/post/181087
能否用在外网通信

可以的....把服务端部署在外网。
部署在外网没什么必要,微信、QQ、米聊等都很好啦....
唯一的区别是服务器在谁手里。
Reply View the author
avatar
hebinq
deepin
2019-07-25 00:12
#5

客户登录时,设置好服务器的地址和端口。

登录时,可以使用未注册的昵称进行登录。(未独立建立注册服务功能。可自扩展相应功能,修改服务端源码禁止非注册用户登录。)




注册用户




审核用户

Reply View the author
avatar
hebinq
deepin
2019-07-25 05:14
#6
https://bbs.deepin.org/post/181087
能能外网同时用吗?

可以。把服务端程序部署在内外网都可访问的服务器中。
Reply View the author
avatar
jianguo922
deepin
2019-07-25 05:49
#7
https://bbs.deepin.org/post/181087
可以。把服务端程序部署在内外网都可访问的服务器中。

原来如此,谢谢!
Reply View the author
avatar
hebinq
deepin
2019-07-25 18:21
#8


分类别显示不同属性的用户。
从左至右: 未注册的 --> 已注册但与你不同组织的 -->  已注册与你同一组织的
Reply View the author
avatar
孑遗
deepin
2019-07-26 00:13
#9
It has been deleted!
avatar
hebinq
deepin
2019-07-26 01:16
#10
https://bbs.deepin.org/post/181087
scp 、ssh命令基本能搞定内网文件传输、远程协助

还是有点区别。
scp、ssh要给对方权限,对方操作啦,你得看日志。
这里的话,更方便...


Reply View the author
avatar
random0901
deepin
2019-07-27 10:07
#11
支持支持!
Reply View the author
avatar
15******21@qq.com
deepin
2019-07-31 19:08
#12
厉害啦,大佬
Reply View the author
avatar
zhangn1985
deepin
2019-07-31 19:18
#13
重复的轮子

iptux 是一个 Linux 平台下的的“IP Messenger”客户端。

它支持:
- 自动检测局域网中的其他用户。
- 发送消息给其他用户。
- 发送文件到其他用户。

它(应当)兼容于飞鸽传书(Feige)和飞秋(FeiQ)这些中国软件,也和原有的列在
http://ipmsg.org/ 下的日本“IP Messenger”客户端兼容,包括 Debian 下原有的
g2ipmsg 和 xipmsg。
Reply View the author
avatar
hebinq
deepin
2019-08-05 17:32
#14

iptux只能在LAN中使用,或者说是双方在同一网段下使用。没有路由,不能NAT。当LAN增大到WAN或多LAN或添加子网时就力不从心啦。
Reply View the author