Guest User

Untitled

a guest
Mar 18th, 2017
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. Thanks to r4p3.net @Qraktzyl and Thanks to VeltroGaming!
  2.  
  3. Debian 7/8 Install :
  4.  
  5. First the Docker-Engine (For More https://docs.docker.com/engine/installation/linux/debian/ )
  6.  
  7. apt-get update
  8. apt-get install apt-transport-https ca-certificates
  9. apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
  10.  
  11. Open the /// nano /etc/apt/sources.list.d/docker.list /// file in your favorite editor. (I use nano)
  12. Remove any existing entries.
  13.  
  14. Add an entry for your Debian operating system.
  15.  
  16. The possible entries are:
  17.  
  18. On Debian Wheezy (7)
  19.  
  20. deb https://apt.dockerproject.org/repo debian-wheezy main
  21. On Debian Jessie (8)
  22.  
  23. deb https://apt.dockerproject.org/repo debian-jessie main
  24. On Debian Stretch/Sid
  25.  
  26. deb https://apt.dockerproject.org/repo debian-stretch main
  27.  
  28.  
  29. apt-get update
  30.  
  31. sudo apt-get install docker-engine (If you have an Error with init-system-helpers make following)
  32.  
  33. For the error ONLY Leave it when you have no ERRORS!:
  34.  
  35. init-system-helpers (missing dependency) can be installed from backports repo.
  36.  
  37. Just add deb http://http.debian.net/debian wheezy-backports main
  38.  
  39. at the end of /etc/apt/sources.list and
  40.  
  41. apt-get update && apt-get install init-system-helpers && apt-get install docker-engine
  42.  
  43. sudo service docker start
  44. sudo docker run hello-world
  45.  
  46. adduser tsbot
  47. sudo usermod -aG docker tsbot
  48. cd /home/tsbot/
  49. mkdir mydockerscript
  50. wget https://github.com/VeltroGaming/sinusbot/archive/master.zip
  51. apt-get install unzip
  52. unzip master.zip
  53. chmod +x entrypoint.sh
  54. docker build -t ts3soundboard098 /home/tsbot/mydockerscript/sinusbot-master/
  55. su tsbot
  56. cd /home/tsbot/sinusbot-master/
  57. START DOCKERS/SINUSBOT INSTANCES!
  58.  
  59. docker run --restart=always -d --name bot1 -p 8087:8087 ts3soundboard098
  60.  
  61. docker run --restart=always -d --name bot2 -p 8088:8087 ts3soundboard098
  62.  
  63. docker run --restart=always -d --name bot3 -p 8089:8087 ts3soundboard098
  64.  
  65. docker run --restart=always -d --name bot4 -p 8090:8087 ts3soundboard098
  66.  
  67. docker run --restart=always -d --name bot5 -p 8091:8087 ts3soundboard098
  68.  
  69. Change 8091 to 8092 if you want a 6 container running... Also change the name of the container to bot6. And so on...
Advertisement
Add Comment
Please, Sign In to add comment