I'm Cryo and today, I will be giving you instructions on how to install a teamspeak 3 server.
These instructions are put into steps to keep things nice and simple.
Log into your VPS via/using SSH. If you are having issues logging in, try changing your "root password" in the control panel.
If you can not connect to your server using SSH, create a new topic with a title "Unable to SSH into vps" or something like that.
Once logged in, you will be in your root folder and that is where we will download the teamspeak 3 server setup.
Use the following command to download the server setup:-
Next, you will need to extract the archive using the following command:-
tar -zxvf teamspeak3-server_linux-x86-188.8.131.52.tar.gz
After the files have been extracted, it'll all be inside a folder called "teamspeak3-server_linux-x86"
Use the following command to go to that directory:-
Now inside the folder, you will now start the server by executing this command:-
When it starts, the TeamSpeak Server will build the new database for it and generate a ServerQuery username and password and a server admin token.
REMEMBER!!! YOU MUST COPY THE SERVERQUERY USERNAME, PASSWORD AND TOKEN. FAILURE TO DO THIS, YOU WILL NOT BE ABLE TO TELNET INTO THE TEAMSPEAK SERVER AS A SERVERQUERY ADMIN. YOU WILL NOT GET SERVER ADMIN RIGHTS IF YOU DON'T HAVE THE TOKEN GENERATED.
You may continue onto step 6 after you have copied the serverquery username & password and the server admin token generated.
Now you will need to shutdown the TeamSpeak server by pressing "CTRL+C". If you did "CTRL+Z" by mistake, you will need to reboot the server before continuing and go back into "teamspeak3-server_linux-x86" folder.
You are now ready to start your server for the first time. To do this, use the following command:-
Step 7 (Almost There!!):
Now that the server has started, start your teamspeak 3 client and put your server ip to connect to your server for the first time. Once connected, it will ask you for a token. Copy the token you copied from step 5 and paste it into the request token dialog.
Once accepted, you will then be given Server Admin and your TeamSpeak 3 server is now ready to use!
Step 8 (Start TeamSpeak 3 Server on server reboot):
This step will show you how to create a script to automatically start your teamspeak server after your VPS has rebooted.
Firstly, open a new file using your desired text editor. For example:- (Using nano or vi)
nano /etc/init.d/ts3For vi:-
(vi users must press i to start typing)
Now start typing this code:-
#!/bin/sh ### BEGIN INIT INFO # Provides: ts3 # Required-Start: $ALL # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Teamspeak3-server startscript # Description: # ### END INIT INFO USER="root" TS3='/root/teamspeak3-server_linux-x86' STARTSCRIPT="$TS3/ts3server_startscript.sh" cd $TS3 su $USER -c "$STARTSCRIPT start"
For nano users, press "CTRL+X" keys then press "y" key to save it. For vi users, press the "ESC" key then type ":wq".
Now that you have created the auto start script, it is now time to add it to startup. Firstly, do:-
chmod +x /etc/init.d/ts3
This makes the script executable which is required in order to start your TeamSpeak server. Then you will need to type:-
update-rc.d ts3 defaults
This command will add the script to startup.
Reboot your server to test the auto startup script for teamspeak server. VPS take around 20-30 seconds to reboot so give it a chance to boot up
If the teamspeak server starts successfully and you can connect to it, you can proceed. Else, go back to step 8 and check everything has been done right.
What step 11? Everything is done! Go and have a cup of tea and enjoy your TeamSpeak 3 Server
This tutorial/how-to/instruction manual has been brought to you by Cryo. Please provide feedback as I welcome it. Feedback is very important to me so I can help make the instruction manual better
THANK YOU, COME AGAIN!