- Tue Aug 02, 2016 1:18 pm
#8177
Debian
Step 1.
get Putty or Kitty and Check updates and getting packages
download putty: http://www.putty.org/
or
download kitty(kitty is a fork of putty): http://www.9bis.net/kitty/?page=Download
then
Java6:
Java7:
Whitelist
If the TS3MusicBot runs on the same machine you dont need to whitelist
If the TS3Musicbot runs on a other machine then you need to whitelist the Ip from the TS3MusicBot on your Teamspeak Server. Add the IP of your Server which runs your TS3MusicBot on into the query_ip_whitelist.txt (can be found in the TS3-Server Folder)
Step 3.
Install TS3MusicBot
First go to
Now we download the file over Putty/Kitty. you can find the downloadlink on http://www.TS3Musicbot.net under "How to install" (if you have a valid license).
Start the TS3MusicBot
now we are going into the folder:
1.st bot
Now type
now you can edit your port and also your passwords (they have to be different)
and then we start the whole thing with screen
tsmb1
and the command:
tsmb2
and the command
Packages for Ubuntu:
Java7:
If you really need java 8 there is a repository solution (for Ubuntu and Debian):
Java7:
Search for Java:
Step 1.
get Putty or Kitty and Check updates and getting packages
download putty: http://www.putty.org/
or
download kitty(kitty is a fork of putty): http://www.9bis.net/kitty/?page=Download
then
Code: Select all
apt-get update && apt-get upgrade
Code: Select all
Now we check if java is installedapt-get install screen
Code: Select all
If Java isnt available (bash command not found) then install java 7 if java 7 isnt available choose 6java -version
Java6:
Code: Select all
orapt-get install openjdk-6-jre
Java7:
Code: Select all
Step2. apt-get install openjdk-7-jre
Whitelist
If the TS3MusicBot runs on the same machine you dont need to whitelist
If the TS3Musicbot runs on a other machine then you need to whitelist the Ip from the TS3MusicBot on your Teamspeak Server. Add the IP of your Server which runs your TS3MusicBot on into the query_ip_whitelist.txt (can be found in the TS3-Server Folder)
Step 3.
Install TS3MusicBot
First go to
Code: Select all
then you always know where your TS3MusicBot is in.cd /home
Now we download the file over Putty/Kitty. you can find the downloadlink on http://www.TS3Musicbot.net under "How to install" (if you have a valid license).
Code: Select all
now we "untar" itwget http://link.net
Code: Select all
Now there is a folder, because we want all 3 bots we rename and copy themtar xfv dateiname.tar
Code: Select all
Step 4. mv TS3MusicBot ts3mb && cp ts3mb ts3mb1 -R && cp ts3mb ts3mb2 -R
Start the TS3MusicBot
now we are going into the folder:
1.st bot
Code: Select all
Now we start the first TS3MusicBot with the following commandcd ts3mb
Code: Select all
If all went fine the Client should be now online../TS3MusicBot_runscript.sh -account EMAIL -port 2000 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery
Now type
Code: Select all
in the console and hit enter (the TS3MusicBot should stop now)stop
now you can edit your port and also your passwords (they have to be different)
and then we start the whole thing with screen
Code: Select all
This TS3MusicBot runs now in the background you can check that byscreen -dmS bot1 ./TS3MusicBot_runscript.sh -account EMAIL -port 2500 -webif-pw example123 -webif-pw-user example456 -noquery
Code: Select all
now we are going one folder backscreen -ls
Code: Select all
Now repeat "Step 4." with the folder:cd ..
tsmb1
and the command:
Code: Select all
and with the folderscreen -dmS bot2 ./TS3MusicBot_runscript.sh -account EMAIL -port 2510 -webif-pw example123 -webif-pw-user example456 -noquery
tsmb2
and the command
Code: Select all
screen -dmS bot3 ./TS3MusicBot_runscript.sh -account EMAIL -port 2520 -webif-pw example123 -webif-pw-user example456 -noquery
Packages for Ubuntu:
Code: Select all
sudo apt-get update && sudo apt-get upgrade
Code: Select all
Java Check:sudo apt-get install screen
Code: Select all
Java6:
java -version
Code: Select all
odersudo apt-get install openjdk-6-jre
Java7:
Code: Select all
sudo apt-get install openjdk-7-jre
If you really need java 8 there is a repository solution (for Ubuntu and Debian):
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.listPackages for CentOS
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
Code: Select all
yum update
Code: Select all
Java Check:
yum install screen
Code: Select all
Java6:
java -version
Code: Select all
oderyum install java-1.6.0-openjdk java-1.6.0-openjdk-devel
Java7:
Code: Select all
No java Version found on CentOs?yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel
Search for Java:
Code: Select all
yum search java | grep -i --color JDK