· Install Ubuntu Server
· Host Name = TSSERVER
· Time Zone = America/Chicago
· Disk Setup = Guided with LVM
· Non-Admin Full Name = “Teamspeak Admin”
· Non-Admin Account Name = ”tsadmin”
· Non-Admin Account Password = ”password”
· Encrypted Home Directory = FALSE
· Automatic Updates = TRUE
· Software Selection = LAMP & OpenSSH Server
· MySQL Root User password = “topsecretpassword”
· Set Static IP
· sudo vi /etc/network/interfaces
· a append text to end of current line, until <Esc> hit in VI Editor
· CHANGEiface eth0 inet dhcp TO iface eth0 inet static
ADD address 192.168.1.100 use IP of local network
netmask 255.255.255.0 use Subnet of local network
gateway 192.168.1.1 use Gateway of local network
· :wq – quit vi, writing out modified file to file named in original invocation
· sudo /etc/init.d/networking restart
· sudo reboot
· Install VMware Tools (only if running as VMware guest)
· sudo apt-get install build-essential psmisc
· VM -> Install VMware Tools
· sudo mkdir /media/cdrom
· sudo mount /dev/cdrom /media/cdrom
· sudo cp /media/cdrom/VMwareTools*.tar.gz /tmp
· cd /tmp
· tar xvf VMwareTools*.tar.gz
· cd /tmp/vmware-tools-distrib
· sudo ./vmware-install.pl
· During vmware-install.pl -> Default Answers
· sudo reboot
· Setup MySQL Teamspeak Database
· mysql –u root –p
· CREATE DATABASE teamspeak3;
· GRANT ALL PRIVILEGES ON teamspeak3.* TO ‘tsmysql’@’localhost’ IDENTIFIED BY ‘password’ WITH GRANT OPTION;
· \qexit mysql prompt
· Download / Install Teamspeak 3
· wget http://ftp.4players.de/pub/hosted/ts3/releases/beta-27/teamspeak3-server_linux-amd64-3.0.0-beta27.tar.gz
· tar xvf teamspeak3-server*.tar.gz
· sudo mv teamspeak3-server_linux-amd64 /opt/ts3
· wget http://mirrors.kernel.org/ubuntu/pool/universe/m/mysql-dfsg-5.0/libmysqlclient15off_5.1.30really5.0.83-0ubuntu3_amd64.deb
· sudo dpkg -i libmysqlclient15off_5.1.30really5.0.83-0ubuntu3_amd64.deb
· Setup Teamspeak 3 Config Files
· vi /opt/ts3/ts3server.ini
· a append text to end of current line, until <Esc> hit in VI Editor
· ADD machine_id=
default_voice_port=9987
voice_ip=0.0.0.0
licensepath=
filetransfer_port=30033
filetransfer_ip=0.0.0.0
query_port=10011
query_ip=0.0.0.0
dbplugin=ts3db_mysql
dbpluginparameter=ts3db_mysql.ini
dbsqlpath=sql/
dbsqlcreatepath=create_mysql/
logpath=logs
logquerycommands=1
· :wq – quit vi, writing out modified file to file named in original invocation
· vi /opt/ts3/ts3db_mysql.ini
· a append text to end of current line, until <Esc> hit in VI Editor
· ADD [config]
host=localhost
username=tsmysql
password=password
database=teamspeak3
<empty space>
· :wq – quit vi, writing out modified file to file named in original invocation
· vi /opt/ts3/ts3server_startscript.sh
· a – append text to end of current line, until <Esc> hit in VI Editor
· CHANGECOMMANDLINE_PARAMETERS="" TO COMMANDLINE_PARAMETERS="inifile=ts3server.ini"
· :wq – quit vi, writing out modified file to file named in original invocation
· Setup Teamspeak 3 Auto Start on Reboot
· sudo adduser --disabled-login tsdaemon
· sudo chown –R tsdeamon /opt/ts3
· sudo vi /etc/init.d/teamspeak
· a append text to end of current line, until <Esc> hit in VI Editor
· ADD #! /bin/sh
### BEGIN INIT INFO
# Provides: teamspeak
# Required-Start: networking
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: S 0 1 6
# Short-Description: TeamSpeak Server Daemon
# Description: Starts/Stops/Restarts the TeamSpeak Server Daemon
### END INIT INFO
<empty space>
set -e
<empty space>
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="TeamSpeak Server"
NAME=teamspeak
USER=tsdaemon
DIR=/opt/ts3
DAEMON=$DIR/ts3server_startscript.sh
#PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
<empty space>
# Gracefully exit if the package has been removed.
test -x $DAEMON || exit 0
<empty space>
cd $DIR
sudo -u tsdaemon ./ts3server_startscript.sh $1
· :wq – quit vi, writing out modified file to file named in original invocation
· sudo chmod 777 /etc/init.d/teamspeak
· sudo update-rc.d teamspeak defaults