码迷,mamicode.com
首页 > 系统相关 > 详细

安装linux下teamspeak服务器

时间:2015-01-31 23:15:52      阅读:1040      评论:0      收藏:0      [点我收藏+]

标签:


最近项目中新的需求,需要支持多人在线实时通话。就安装测试一下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
Ubuntu 14.04.1 LTS \n \l
melot@melot-kkcam:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz
******
cpu MHz : 1600.000
cache size : 3072 KB
******
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.gz
sudo 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 connection id is 43
Server 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 clear the current input statement.

mysql> CREATE DATABASE ts3db;
Query OK, 1 row affected (0.00 sec)

mysql> USE ts3db;
Database changed
mysql> CREATE USER ‘ts3‘@‘localhost‘ IDENTIFIED BY ‘ts3melot‘;
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT ALL ON ts3db.* TO ‘ts3‘@‘localhost‘;
Query OK, 0 rows affected (0.00 sec)

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 rights for your virtualserver. please
also check the doc/privilegekey_guide.txt for details.

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

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

安装linux下teamspeak服务器

标签:

原文地址:http://www.cnblogs.com/zzugyl/p/4264823.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!