FavonianKong / TeamTalk

IM system for net-programing-learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TeamTalk

IM system for net-programing-learning.
Dependency:

Please install mysql, you can use the following version or other version Ver 15.1 Distrib 5.5.60-MariaDB.
Attention: Please do not use yum installed mysql in systems below centos 6.

You should also install redis which can be downloaded in this link.

tar zxvf redis-2.8.19.tar.gz
cd redis-2.8.19
make
cd src
make install PREFIX=/usr/local/redis
mv redis.conf /usr/local/redis/etc

Building:

TeamTalk must be build using a reasonable C++ compiler,Also it should support c++11. Before building the server,excute the following x.sh

make_hiredis.sh  #if u have install redis manually,also try it
make_log4cxx.sh
make_mariadb.sh  #maybe u can ignore it if you have install the mariaDB
make_protobuf.sh
Then go to the `/server/src` and excute the `build.sh version 1`.<br>

Using:

After compiling, a .gz file will be generated in the parent directory.

tar zxvf im-server-1.tar.gz
cd im-server-1
bash sync_lib_for_zip.sh
./restart.sh db_proxy_server
./restart.sh file_server
...
...

You'd better shoutdown the firewall like systemctl stop firewalld.

About

IM system for net-programing-learning


Languages

Language:C++ 95.0%Language:C 3.3%Language:Shell 1.2%Language:PHP 0.4%Language:CMake 0.2%Language:Objective-C 0.0%