If you use the 64-bit version of ubuntu you need to first download a 32-bit library (libgcc_s.so.1)for teamspeak otherwise you will get the error
libgcc_s.so.1 must be installed for pthread_cancel to work
sudo apt-get lib32gcc1
then you install the teamspeak server with
sudo apt-get install teamspeak-server
then go to configuration directory for the teamspeak server
cd /etc/teamspeak-server/ cat password
there you get the password for superadmin, open a webbrowser and browse http://localhost:14534 if the server is on the same server or http://<name of server>:14534 to access it on another server.
Log in with superadmin and the password from the password-file
Finished, configure you server and change password on superadmin and admin to whaterver you like, DONT CHANGE IT IN THE FILE, DO IT ON THE WEBPAGE