Skip to content

分布式、高并发游戏服务器,C++编写、数据库mysql、缓存redis。配置文件在config文件夹中

Notifications You must be signed in to change notification settings

liulingjun886/LinuxServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

编译运行注意事项(目前只支持64位Linux系统)

系统版本:CentOS release 6.10
gcc版本:4.4.7

1、安装mysql开发客户端mysqlclient: yum install -y mysql-devel
2、安装reddis开发库 hiredis:下载源代码 make && make install
3、设置动态库路径:ldconfig ldconfig /usr/local/bin/ 或 /etc/ld.so.conf.d/ 下新建localuserlib文件 写入/usr/local/bin/
4、设置打开文件限制: ulimit -n 65535
5、新建编译中间文件存放目录: mkdir build
6、编译: make
7、新建日志存放目录: mkdir log
8、运行: sh run.sh

2022/3/6
取消通过服务器类型和连接类型创建业务处理模块改用创建相应底层模块时加入创建业务模块回调函数
目前全部可编译通过,但因数据库没有环境,未实际测试运行

About

分布式、高并发游戏服务器,C++编写、数据库mysql、缓存redis。配置文件在config文件夹中

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages