1. Install TS3 into /opt/teamspeak. Make sure the permissions on a directory are sensible.
2. Create a system user named "teamspeak" with home directory /var/lib/teamspeak
3. Copy ts3.ini from distribution to the user home directory.
4. Uncomment and adjust the following lines exactly as shown:
Code:
query_ip=127.0.0.1
query_port=10011
logpath=/var/log/teamspeak
dbsqlpath=/opt/teamspeak/sql/
dbsqlcreatepath=create_sqlite
licensepath=/var/lib/teamspeak/
query_ip_whitelist=/var/lib/teamspeak/query_ip_whitelist.txt
query_ip_blacklist=/var/lib/teamspeak/query_ip_blacklist.txt
query_skipbruteforcecheck=1
logquerycommands=1
Pay close attention to "dbsql*" and "licensepath" settings, they are most backwards and most important. The presense/absence of starting/trailing directory separators is important.
5. Create /var/log/teamspeak directory.
6.
Code:
chown teamspeak:adm /var/log/teamspeak
7a. For upstart users: install /etc/init/teamspeak3.conf from attachment.
7b. For systemd users: install /etc/systemd/system/teamspeak3.service from attachment.
8.
Code:
service teamspeak3 start
9. Enjoy.