Skip to content

Chat server and client based on a load-balanced environment cluster implemented with the Muduo library and Nginx

Notifications You must be signed in to change notification settings

Ny9u/chat-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chat-server简介

基于muduo库实现的nginx负载均衡环境集群聊天服务器 技术栈:cpp,muduo,json,mysql,redis,nginx,cmake

编译方式

1.自动编译,进入build目录运行编译脚本 2.手动编译,进入build目录,清空编译文件,使用cmake编译文件 cd build rm -rf * cmake ..&&make

注意!!!

该项目需要用户自行修改mysql,redis用户信息以使用自己的数据库,nginx需要自行配置 需要修改的地方:/src/server/redis/redis.cpp -56 /src/server/mysql.cpp -7,8

About

Chat server and client based on a load-balanced environment cluster implemented with the Muduo library and Nginx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published