This is an old revision of the document!
I have the nack of creating an “install” directory in my homedir.
After downloading both the above files, mentioned in '2. preparation' we start with unpacking.
Seeing the file we downloaded is a .tar.bz2 file we unpack it using 'tar' with the commands 'xvjf <file>'
(x for extract, v for verbose, j for bzip2 and f for file)
After unpacking the directory structure should look like: (with ls)
httpdocs LICENSE README tcpquerydocs INSTALL Manual server_linux teamspeak2-server_startscript INSTALL.mysql manual.html sqlite.so libsqlmy.so mysql_sql sqlite_sql
Why are we running it when we haven't configured it yet, you might ask?
Well the answer is just as simple: “We need to, because the configuration files and the log do not ship with the install”.
Running it for a brief while initializes Teamspeak to create you a few files and accounts which we need to have to continue the install.
When running 'server_linux' for a first time it will notice something back to your shell: “TeamSpeak Server Daemon started with PID XXXXX
”. Immediately after starting it we will now kill it by typing 'kill -9 <pid>', where <pid> is the number the server started with.
After this marvellous adventure we now have a few more files in our directory:
server.log (holds the logging for the server) server.ini (the configuration file for the server) server.pid (keeps the PID number stored) server.dbs (sqlite file which holds all channel and user records)
Time for the fun part now! Remember the creation of the files above? Well we're going to edit those files now. First up is the server.ini file which we'll have a look at now. The text between '(' and ')' are comments and aren't needed when filling the server.ini file.
[Main Config] BoundToIp1=
Fill in the IP of your machine.
ExternalIPDectection=1 HTTPServer Port=14534
Http port we'll need later when configuring the server(s).
HTTPServer Enabled=1
0 = disable, 1 = enable. Enable it for now.
DateTimeFormat=dd-mm-yyyy hh:nn:ss
Can be changed if you wish, though the default will do fine.
TCPQueryPort=51234
Some scripts need this port when they want to query it to recall stats like amount of people connected.
AllowedClientNameChars=
Empty means all characters are allowed.
DisAllowedClientNameChars=()[]{}
Characters that aren't allowed in a nickname.
[debug] MessageTypes=LMTALL MessageDepths=LMDALL [WebPost] AdminEmail=na
Your email address.
ISPLinkURL=na
The URL of your ISP.
ISPName=Private
Shows people your TS server (public) or hides it from everyone else (private).
ISPCountryNumber=0 Enabled=1 PostURL= ListPublic=1 UserAgent=teamspeak [log] access_r=0 access_u=0 channel_registerred=0 channel_unregisterred=0 sa=0 chat=0 kick_server=0 kick_channel=0
0 = disabled, 1 = enabled. Use at your pleasure.
[Spam] max_commands=10 in_seconds=2
Time to start the server again! Start it by calling 'server_linux'. It will give you the usual PID number back and it should be running.
This time we're going to login and alter some server configurations via the web.
Go to http://IP:14534. Click on the link in the bottom saying “Superadmin login”. Now log in with username “superadmin” and it's password. The password can be found in server.log, look for a string saying “WARNING,Info,SERVER, superadmin account info: username: superadmin password: xxxxxx”.
After logging in click on the link saying “SuperAdmin manager”. Create a new account for yourself with a nickname and password. After this, delete the superadmin account! Now logout, click on the superadmin login part again and use your own credentials to login.
Time for you to fill in all the information about your server.
Now click on the 'servers' link. Afterwards click on “select”. A few more options should pop up now. Scroll to the bottom and select “user manager”. Add yourself to the list again and don't forget to check the box saying 'server admin'.
If you wish you could also create more servers, which run on different UDPports, don't forget to open the firewall on that port! Also after creating them, be sure to “select” the server and create an 'server admin' account for yourself on them, or you won't be able to manage the server via the TS client.
We're done with this part of the configuration for now.
Several TIPS:
Now that we're done with configuring the server-side of the Teamspeak server, lets have a look at the client side.
Start your client up and hit 'connect'. Add your server as a favorite and use the login credentials you created above.
You should now be in a channel called 'default'. Noticed the 'D' being next to it? This means this is the channel new users will be coming into. You can rightclick this channel and edit it. Editing a channel has a few options to it, which I'll try to explain below:
Name Topic Password Codec Description
Name: The name of the channel.
Topic: The topic of the channel.
Password: The password required to join the channel.
Codec: The chat codec used in the channel, when talking. A lower chat codec uses less bandwidth (and has a lesser sound quality).
Description: A channel description.
Flags: Registered Moderated Sub-channels Default
Registered: Means the channel will not dissapear when noone is in it anymore.
Moderated: Only people with O(perator) or V(oice) status can chat. New people need to be granted this before they can open up their mouth.
Sub-channels: Channel allows the creation of sub-channels.
Default: Default channel people join when entering the server.
* A distribution of Perl (>= 5.8.x recommended) * A TeamSpeak 2 server (>= 2.0.21.x recommended) * A working superadmin account