teamspeak搭建_搭建linux下teamspeak3多人语音服务器

最近项目中新的需求,需要支持多人在线实时通话。就安装测试一下teamspeak。

http://www.teamspeak.com/ 主页有服务器版本和客户端版本供下载安装。

软硬件环境:

melot@melot-kkcam:~$ uname -a

Linux melot-kkcam 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

melot@melot-kkcam:~$ head -n 1 /etc/issue

Ubuntu14.04.1LTS \n \l

melot@melot-kkcam:~$ cat /proc/cpuinfo

processor :0vendor_id : GenuineIntel

cpu family :6model :58model name : Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz******cpu MHz :1600.000cache size :3072KB******cpu cores :2

******melot@melot-kkcam:~$ cat /proc/meminfo

MemTotal:3924304 kB

1. 下载并解压64位linux server版本teamspeak

wget http://dl.4players.de/ts/releases/3.0.11.2/teamspeak3-server_linux-amd64-3.0.11.2.tar.gz

tar -zxvf teamspeak3-server_linux-amd64-3.0.11.2.tar.gzsudo mv teamspeak3-server_linux-amd64 /opt/teamspeak3/cd/opt/teamspeak3/teamspeak3-server_linux-amd64

2. teamspeak安装配置mysql

参考 http://www.cnblogs.com/zzugyl/p/3688796.html

melot@melot-kkcam:~/file$ mysql -u root -prootmelot

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connectionid is 43Server version:5.5.41-0ubuntu0.14.04.1(Ubuntu)

Copyright (c)2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Type'help;' or '\h' for help. Type '\c' to clearthe current input statement.

mysql>CREATE DATABASE ts3db;

Query OK,1 row affected (0.00sec)

mysql>USE ts3db;

Database changed

mysql> CREATE USER 'ts3'@'localhost' IDENTIFIED BY 'ts3melot';

Query OK,0 rows affected (0.00sec)

mysql> GRANT ALL ON ts3db.* TO 'ts3'@'localhost';

Query OK,0 rows affected (0.00sec)

mysql>quit

Bye

3. 配置teamspeak和对应mysql

根据 http://bbs.chinaunix.net/thread-1929023-1-1.html 或者下载他的附件 特此感谢

修改相应配置文件和数据库文件,启动服务。

最终生成token记住,登录管理需要这个key。

melot@melot-kkcam:/opt/teamspeak3/teamspeak3-server_linux-amd64$------------------------------------------------------------------I M P O R T A N T------------------------------------------------------------------Server Query Admin Account created

loginname= "serveradmin", password= "xnjvIjrZ"

------------------------------------------------------------------

------------------------------------------------------------------I M P O R T A N T------------------------------------------------------------------ServerAdmin privilege key created, please use it to gain

serveradmin rightsforyour virtualserver. please

also check the doc/privilegekey_guide.txt fordetails.

token=J8EvA5xhHzQ7GqttilOUoyFn81uYESRyy7PFLrYJ------------------------------------------------------------------

4.最后展示一下成果,在win和android连麦的情况。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值