Hint: You can use the Tab key to autocomplete all filenames and directories, so you don't have to type in the complete file or directory name manually.
Note: If you don't already have a TeamSpeak 3 server for which you want to install this web interface, you can also have a look at my tutorial on how to install a TeamSpeak 3 server.
This tutorial was last checked and updated on December 9, 2018.
- If you havn't already done so, download the program "PuTTY".
- Connect to your root server or VPS/vServer via SSH using PuTTY. To do this, open PuTTY and enter the domain or IP address of your server in the text box named "Host Name (or IP address)". Then click the "OK" button below.
- Update your package lists with the command
- Now install any available updates of the packages already installed on your server using the command
apt upgrade -y.
- Next, install the packages needed for the following steps. To do this, use the command
apt install nano unzip -y.
- Of course, a web server is required for the installation of the TeamSpeak 3 web interface. If you don't have a web server installed yet, install the Apache2 web server with PHP 7. My tutorial for this installation can be found here.
- Go to the web directory where you want to install the web interface. The default directory of the Apache2 web server is located at "/var/www/html". The command to switch to this directory is
- Then use the command
wget https://www.bennetrichter.de/downloads/ts3wi.zipto download the TeamSpeak 3 web interface.
- After the download is completed, you should see the downloaded .zip archive using the command
ls. Unzip this archive you just downloaded by executing the command
- Since the archive is now unpacked, delete it using the command
- Next, go to the web interface directory with the command
- Open the configuration file in the nano text editor using the command
nano config.phpand edit this file. The value after "$server['alias']" defines the name of your TeamSpeak 3 server, which will be displayed in the web interface. For "$server['ip']", you need to enter the IP address of your TeamSpeak 3 server. If your TeamSpeak 3 server runs on the same root server or VPS/vServer as the web server for this web interface, then you can leave it at "127.0.0.1". The value of "$server['tport']" specifies the TeamSpeak 3 query port. The default port is 10011 and it's already entered correctly. However, if you changed this query port manually, you have to change it in this config file as well. The other settings can remain unchanged.
- If you haven't made any changes to the configuration file, exit the editor with CTRL + X. If you have changed the configuration file, save your changes by pressing CTRL + X, then hit the "Y" key and press enter.
- Then set the required permissions for the web interface directories by executing the command
chmod -R 777 icons/ temp/ templates_c/ site/backups/within the web interface directory.
- Now you need to add the IP address of your root server or VPS/vServer running the TeamSpeak 3 web interface to the file named "query_ip_whitelist.txt" in the directory of your TeamSpeak 3 server. If the TeamSpeak 3 server is running on the same server as the web server for the web interface, you can open this file directly with the nano editor. If you have installed your TeamSpeak 3 server using my tutorial, then the command is
nano /home/ts3/teamspeak3-server_linux_amd64/query_ip_whitelist.txt. Add the IP address of your root server or VPS/vServer at the end of this file and save your changes by pressing CTRL + X, then hit the "Y" key and press enter.
- Finally, restart your TeamSpeak 3 server so that the server IP address entered in the "query_ip_whitelist.txt" file is recognized by your TeamSpeak 3 server.
- Your TeamSpeak 3 web interface is now fully installed and ready for use. You can access it by entering the IP address or domain of your root server or VPS/vServer and the directory/path "ts3wi" in your web browser. For example, navigate your web browser to "http://184.108.40.206/ts3wi". The username for the login is "serveradmin" and the password is the server admin password that was displayed when you started your TeamSpeak 3 server for the first time.