Bootstrap Framework 3.3.6

Over a dozen reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more...

By Shadow86
#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
Code: Select all
apt-get update && apt-get upgrade
Code: Select all
apt-get install screen
Now we check if java is installed
Code: Select all
java -version
If Java isnt available (bash command not found) then install java 7 if java 7 isnt available choose 6

Java6:
Code: Select all
apt-get install openjdk-6-jre
or
Java7:
Code: Select all
apt-get install openjdk-7-jre
Step2.

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
cd /home
then you always know where your TS3MusicBot is in.

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
wget http://link.net
now we "untar" it
Code: Select all
tar xfv dateiname.tar
Now there is a folder, because we want all 3 bots we rename and copy them
Code: Select all
mv TS3MusicBot ts3mb && cp ts3mb ts3mb1 -R && cp ts3mb ts3mb2 -R
Step 4.

Start the TS3MusicBot

now we are going into the folder:

1.st bot
Code: Select all
cd ts3mb
Now we start the first TS3MusicBot with the following command
Code: Select all
./TS3MusicBot_runscript.sh -account EMAIL -port 2000 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery
If all went fine the Client should be now online.

Now type
Code: Select all
stop
in the console and hit enter (the TS3MusicBot should stop now)

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
screen -dmS bot1 ./TS3MusicBot_runscript.sh -account EMAIL -port 2500 -webif-pw example123 -webif-pw-user example456 -noquery
This TS3MusicBot runs now in the background you can check that by
Code: Select all
screen -ls
now we are going one folder back
Code: Select all
cd ..
Now repeat "Step 4." with the folder:

tsmb1

and the command:
Code: Select all
screen -dmS bot2 ./TS3MusicBot_runscript.sh -account EMAIL -port 2510 -webif-pw example123 -webif-pw-user example456 -noquery
and with the folder

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
sudo apt-get install screen
Java Check:
Code: Select all
 java -version
Java6:
Code: Select all
sudo apt-get install openjdk-6-jre
oder
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.list
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
Packages for CentOS
Code: Select all
yum update
Code: Select all
yum install screen
Java Check:
Code: Select all
java -version
Java6:
Code: Select all
yum install java-1.6.0-openjdk java-1.6.0-openjdk-devel
oder
Java7:
Code: Select all
yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel
No java Version found on CentOs?

Search for Java:
Code: Select all
yum search java | grep -i --color JDK
Musikbot Windows 10

Mit der neuen WSL Version läuft ein vollwer[…]

Stelle sicher dass -webif-pw ADMINPASSWORT und […]

The music collection could be too large. I will […]

if been keeping an eye latly on my cpu of the vps.[…]

Swap-in out addons, use only what you really need!