Difference between revisions of "Teamspeak Server Configuration"
Line 95: | Line 95: | ||
</values> | </values> | ||
</source> | </source> | ||
+ | * Restart the service manager. | ||
+ | <source lang="bash">cd /home/tcadmin/Monitor | ||
+ | ./serviceman-service restart</source> | ||
* Restart the service from the control panel or from the service browser and it should start as the new user. | * Restart the service from the control panel or from the service browser and it should start as the new user. |
Revision as of 01:41, 3 March 2012
Teamspeak 2
Install & Configure Teamspeak 2 (Windows)
- Download and install Teamspeak Server 2.0.23.19 [1]
- Download updated binary 2.0.24.1 from the link above and overwrite server_windows.exe in your installation folder.
- Run the Teamspeak server. A window with the superadmin password will be shown. Copy it and store it in a safe place.
- Log in to your control panel.
- Go to System > General Settings > Teamspeak Servers > New.
- Select version 2, enter a name, hostname or IP, superadmin login and password.
- Select the Service Settings tab.
- Check "Run as a TCAdmin service"
- Server : Select the server where the Teamspeak server is located.
- Teamspeak Executable : Enter the full path to server_windows.exe. For example c:\Program Files\Teamspeak2_RC2\server_windows.exe
- Click on Save.
- Click on Test Connection to confirm that it works.
Install & Configure Teamspeak 2 (Linux)
- Download and extract Teamspeak Server 2.0.23.19 [2]
su tcadmin cd /home/tcadmin wget ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_server_rc2_202319.tar.bz2 tar ts2_server_rc2_202319.tar.bz2 cd tss2_rc2
- Download updated binary 2.0.24.1 from the link above and overwrite server_linux in your installation folder.
rm server_linux wget ftp://ftp.freenet.de/pub/4players/teamspeak.org/developer/server/202401/server_linux chmod +x server_linux
- Run the Teamspeak server. You should see the superadmin password in the console. Copy it and store it in a safe place.
./server_linux
- Enter quit to close the Teamspeak console.
- Log in to your control panel.
- Go to System > General Settings > Teamspeak Servers > New.
- Select version 2, enter a name, hostname or IP, superadmin login and password.
- Select the Service Settings tab.
- Check "Run as a TCAdmin service"
- Teamspeak Executable : Enter the full path to server_linux. For example /home/tcadmin/tss2_rc/server_linux
- Click on Save then click on Cancel.
- The service will be stopped. Start it.
- Select the Teamspeak server that you created and click on Test Connection to confirm that it works.
Teamspeak 3
IMPORTANT: The default Teamspeak server configuration allows the virtual server administrator to change the slots using the Teamspeak client. Contact Teamspeak support for instructions on disabling this.
Install & Configure Teamspeak 3 (Windows)
- Download the Teamspeak 3 Server [3] and extract to C:\
- Run ts3server_winXX.exe. A window with the serveradmin password will be shown. Copy it and store it in a safe place.
- Log in to your control panel.
- Go to System > General Settings > Teamspeak Servers > New.
- Select version 3, enter a name, hostname or IP, serveradmin login and password.
- Select the Service Settings tab.
- Check "Run as a TCAdmin service"
- Server : Select the server where the Teamspeak server is located.
- Teamspeak Executable : Enter the full path to ts3server_winXX.exe. For example c:\teamspeak3-server_winXX\ts3server_winXX.exe
- Click on Save.
- Click on Test Connection to confirm that it works.
Install & Configure Teamspeak 3 (Linux)
- Download and extract Teamspeak Server 3 [4]
su tcadmin cd /home/tcadmin wget url_to_ts3_server tar xjvf downloaded_file cd teamspeak3-server_linux-XXXX
- Run the Teamspeak server. You should see the serveradmin password in the console. Copy it and store it in a safe place.
./ts3server_minimal_runscript.sh
- Stop the Teamspeak server. Edit the file query_ip_whitelist.txt and add your server's IPs to the list. Save and restart the Teamspeak server.
- Log in to your control panel.
- Go to System > General Settings > Teamspeak Servers > New.
- Select version 3, enter a name, hostname or IP, serveradmin login and password.
- Select the Service Settings tab.
- Check "Run as a TCAdmin service"
- Teamspeak Executable : Enter the full path to server_linux. For example /home/tcadmin/teamspeak3-server_linux-XXXX/ts3server_minimal_runscript.sh
- Click on Save.
- Click on Test Connection to confirm that it works.
Teamspeak Browser
- Use the Teamspeak browser to manage virtual servers even if they are not assigned to a user.
Assign Existing Virtual Server to a User
To assign a virtual server select it from the list. On the right select the user from the list and click on Apply.
Move Player to Different Channel
To move a player to a different channel drag its icon to that channel.
Running Teamspeak as a Non-Root User
- First make sure you can run the TS server manually with the non-root user.
- Get the TS3 service id. You can find it by running the service browser.
cd /home/tcadmin/Monitor ./servicebrowser
- Create the file /home/tcadmin/Monitor/Services/ServiceId/User.cfg with the following. Replace tcagame with the user that will run the ts server.
<?xml version="1.0" encoding="utf-16" standalone="yes"?> <values> <add key="Service.User" value="tcagame" type="System.String,mscorlib" /> </values>
- Restart the service manager.
cd /home/tcadmin/Monitor ./serviceman-service restart
- Restart the service from the control panel or from the service browser and it should start as the new user.