![]() ![]() To double-check the script was added successfully, run the following command: systemctl | grep rvice Next, we will activate the script for TeamSpeak Server to start on server startup: systemctl enable rvice Paste the content into the newly created file and save it. PIDFile=/home/teamspeak/teamspeak3-server_linux_amd64/ts3server.pid ![]() WorkingDirectory=/home/teamspeak/teamspeak3-server_linux_amd64ĮxecStart=/home/teamspeak/teamspeak3-server_linux_amd64/ts3server_startscript.sh start inifile=ts3server.iniĮxecStop=/home/teamspeak/teamspeak3-server_linux_amd64/ts3server_startscript.sh stop Here’s an example of what the file should consist of: We will use nano in our example: sudo nano /lib/systemd/system/rvice Then, create a new empty file using the preferred text editor. Use the following command to switch to the root user: su. We will need to create a file called rvice in the /lib/systemd/system directory. Now, it’s time to set up the TeamSpeak server to start when the server boots up. ts3server_license_accepted, meaning you have accepted the license terms. This will create a new empty file called. However, make sure you are in the teamspeak3-server_linux_amd64 directory first: touch. The quickest way to do that is by running the following command. Since the release of TeamSpeak server version 3.1.0, it’s mandatory to accept the license agreement. You should see an output similar to the example below:ģ. If you enter an incorrect version number, TeamSpeak will simply not run.Įxecute the ls command. We can then safely remove the unnecessary archive: rm teamspeak3-server_linux_amd64-3.13.7.tar.bz2Ĭheck your TeamSpeak software version and enter the commands accordingly. ![]() Once finished, extract the file: tar xvf teamspeak3-server_linux_amd64-3.13.7.tar.bz2Īll of the contents will appear in the teamspeak3-server_linux_amd64 folder. We recommend using the wget command to download TeamSpeak software directly to the VPS: wget Next, use the download link to get the latest TeamSpeak server software. Lastly, navigate to the home directory: cd /home/teamspeak 2. If you end up in the root directory after running the sudo su teamspeak command, use cd. Keep in mind that all fields can be left blank. You will be requested to enter personal user details and confirm the information is correct. Create a New System Userįirst of all, add a new user by executing the following command: adduser -disabled-login teamspeak
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |