SHARE
TWEET

TS3 Ubuntu

Lotharl Dec 9th, 2019 (edited) 129 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. create droplet
  2. create SSH keys
  3. add firewall rules
  4. adduser teamspeak01
  5. sudo su teamspeak01
  6. cd ~
  7. wget https://files.teamspeak-services.com/releases/server/3.10.2/teamspeak3-server_linux_amd64-3.10.2.tar.bz2
  8. tar xvjf teamspeak3-server_linux_amd64-3.10.2.tar.bz2
  9. cd teamspeak3-server_linux_amd64/
  10. mv * ../
  11. cd ~
  12. rmdir teamspeak3-server_linux_amd64/
  13. rm teamspeak3-server_linux_amd64-3.10.2.tar.bz2
  14. nano .ts3server_license_accepted
  15. touch .ts3server_license_accepted
  16. sh ts3server_minimal_runscript.sh
  17. stop server using ctrl-c
  18. sh ts3server_startscript.sh start
  19. exit
  20. reboot
  21. sudo su
  22. sudo nano /lib/systemd/system/teamspeak.service
  23.  
  24.  
  25. [Unit]
  26. Description=TeamSpeak 3 Server
  27. After=network.target
  28. [Service]
  29. WorkingDirectory=/home/teamspeak01/
  30. User=teamspeak01
  31. Group=teamspeak01
  32. Type=forking
  33. ExecStart=/home/teamspeak01/ts3server_startscript.sh start inifile=ts3server.ini
  34. ExecStop=/home/teamspeak01/ts3server_startscript.sh stop
  35. PIDFile=/home/teamspeak01/ts3server.pid
  36. RestartSec=15
  37. Restart=always
  38. [Install]
  39. WantedBy=multi-user.target
  40.  
  41. Ctrl-x Save
  42.  
  43.  
  44. systemctl --system daemon-reload
  45. systemctl enable teamspeak.service
  46. systemctl start teamspeak.service
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top