So I made a bash script to automatically get ts3
installed and running on my vps, but for some reason it doesn't work.
The error I get is:
> /root/install/ts3install.sh: 4: cd: can't cd to /root/teamspeak3-server_linux-x86/
> /root/install/ts3install.sh: 6: /root/install/ts3install.sh:
> ./ts3server_startscript.sh: not found
This is my script:
#!/bin/sh
wget http://dl.4players.de/ts/releases/3.0.11.3/teamspeak3-server_linux-x86-3.0.11.3.tar.gz
tar -xzvf teamspeak3-server_linux-x86-3.0.11.3.tar.gz
cd /root/teamspeak3-server_linux-x86/
cd `pwd`
./ts3server_startscript.sh start
Can anybody help?
/
? Do the contents of the tar file have a hardcoded full path?tar -tzvf teamspeak3-server_linux-x86-3.0.11.3.tar.gz
(usingt
to "type" or list the contentx, notx
to extract) -- what do you see?cd `pwd`
?