Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Sposób na większą ilość instancji w SinusBot [0.9.5+]


Gość Borygard

Rekomendowane odpowiedzi

Opublikowano

/etc/apt/sources.list.d/docker.list: 

nie mam w tym folderze takiego pliku docker.list

 

 

  • Odpowiedzi 74
  • Dodano
  • Ostatniej odpowiedzi
Opublikowano

/etc/apt/sources.list.d/docker.list: 

nie mam w tym folderze takiego pliku docker.list

To go utwórz przez nano albo ftp.

Opublikowano

 

/etc/apt/sources.list.d/docker.list: 

nie mam w tym folderze takiego pliku docker.list

To go utwórz przez nano albo ftp.

 

 
The following information may help to resolve the situation:
 
The following packages have unmet dependencies:
 docker-engine : Depends: init-system-helpers (>= 1.18~) but it is not installable
                 Recommends: aufs-tools but it is not going to be installed
                 Recommends: cgroupfs-mount but it is not installable or
                             cgroup-lite but it is not installable
                 Recommends: git but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@vps749:~#
Jak z update'owac kernele?

 

 

Opublikowano

Nie mam żadnego pliku w sources.list.d :(

to stwórz docker.list

 

 

Opublikowano
sudo apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
 
The following packages have unmet dependencies:
 docker-engine : Depends: init-system-helpers (>= 1.18~) but it is not installable
                 Recommends: aufs-tools but it is not going to be installed
                 Recommends: cgroupfs-mount but it is not installable or
                             cgroup-lite but it is not installable
                 Recommends: git
E: Unable to correct problems, you have held broken packages.
ktos pomoze?
nie wiem jak zauktualizowac kernele .. :)

sudo apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
 
The following packages have unmet dependencies:
 docker-engine : Depends: init-system-helpers (>= 1.18~) but it is not installable
                 Recommends: aufs-tools but it is not going to be installed
                 Recommends: cgroupfs-mount but it is not installable or
                             cgroup-lite but it is not installable
                 Recommends: git
E: Unable to correct problems, you have held broken packages.
ktos pomoze?
nie wiem jak zauktualizowac kernele .. :)
prosze o pomoc :D 

T99i23d.gif

Opublikowano

 

sudo apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
 
The following packages have unmet dependencies:
 docker-engine : Depends: init-system-helpers (>= 1.18~) but it is not installable
                 Recommends: aufs-tools but it is not going to be installed
                 Recommends: cgroupfs-mount but it is not installable or
                             cgroup-lite but it is not installable
                 Recommends: git
E: Unable to correct problems, you have held broken packages.
ktos pomoze?
nie wiem jak zauktualizowac kernele .. :)

sudo apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
 
The following packages have unmet dependencies:
 docker-engine : Depends: init-system-helpers (>= 1.18~) but it is not installable
                 Recommends: aufs-tools but it is not going to be installed
                 Recommends: cgroupfs-mount but it is not installable or
                             cgroup-lite but it is not installable
                 Recommends: git
E: Unable to correct problems, you have held broken packages.
ktos pomoze?
nie wiem jak zauktualizowac kernele .. :)
prosze o pomoc :D

 

 

Musisz posiadać maszynę KVM bądź musisz poprosić twój hosting o to.

  • 2 tygodnie później...
Opublikowano

@Mamcie40" w pliku dockera pobranego musisz zmienic link do pobrania najnowszej wersji.

Opublikowano

@Mamcie40" w pliku dockera pobranego musisz zmienic link do pobrania najnowszej wersji.

 

ale co to ma do skryptów które sie instaluje w folderze scripts a ja nie wiem gdzie jest ten folder? 

Opublikowano
mam takie cos jak wspisuje komende na odpalenie botow

Unable to find image 'ts3soundboard098:latest' locally

Pulling repository docker.io/library/ts3soundboard098

docker: Error: image library/ts3soundboard098 not found.

See 'docker run --help'.

T99i23d.gif

Opublikowano

 

mam takie cos jak wspisuje komende na odpalenie botow
Unable to find image 'ts3soundboard098:latest' locally
Pulling repository docker.io/library/ts3soundboard098
docker: Error: image library/ts3soundboard098 not found.
See 'docker run --help'.

 

Docker nie jest uruchomiony podaj jaką masz wersje serwer 64 czy 32 i jaka wersja kernela.

giphy.gif

Opublikowano

 

mam takie cos jak wspisuje komende na odpalenie botow
Unable to find image 'ts3soundboard098:latest' locally
Pulling repository docker.io/library/ts3soundboard098
docker: Error: image library/ts3soundboard098 not found.
See 'docker run --help'.

 

 

Nie pobrałeś skryptu do sinusbota. Jeszcze raz musisz podążać według instalacji.

Opublikowano

Poradnik przydatny jednak w aktualnej wersji jest możliwość tworzenia poprzez utworzenie jednego panelu i dodawanie w nim kilku botów, sprawdzałem, działa więc nie wiem czy jest sens dodatkowo obciążać system. ;)


@Edit.


Jednak można tylko 2 boty max na stronie, na podstawie poradnika nie sprawdzałem ale jednak nie zwróciłem uwagi na ten limit.


d5ea42e1a590b1a6177b46581b6d0254.png

 


Pomogłem?👍

Daj Like! :D

  • 3 tygodnie później...
Opublikowano
root@bearglove:[/home/tsbot/sinusbot-master]: docker build -t ts3soundboard098 /home/tsbot/sinusbot-master/
Sending build context to Docker daemon 5.632 kB
Step 1 : FROM debian:jessie
jessie: Pulling from library/debian
5c90d4a2d1a8: Pull complete
Digest: sha256:8b1fc3a7a55c42e3445155b2f8f40c55de5f8bc8012992b26b570530c4bded9e
Status: Downloaded newer image for debian:jessie
 ---> 1b088884749b
Step 2 : MAINTAINER Alexander Trost <[email protected]>
 ---> Running in b2bc3f4a517b
 ---> b48843934769
Removing intermediate container b2bc3f4a517b
Step 3 : ENV SINUS_USER "sinusbot" SINUS_GROUP "sinusbot" SINUS_DIR "/sinusbot" SINUS_DATA "$SINUS_DIR/data" YTDL_BIN "/usr/local/bin/youtube-dl" TS3_DIR "$SINUS_DIR/TeamSpeak3-Client-linux_amd64" SINUS_VERSION "0.9.8" YTDL_VERSION "latest" TS3_VERSION "3.0.18.2" TS3_OFFSET "25000"
 ---> Running in 3fa644c13a8b
 ---> e3abc5dd8a17
Removing intermediate container 3fa644c13a8b
Step 4 : ADD entrypoint.sh /entrypoint.sh
 ---> 5a3b9a52910e
Removing intermediate container 53cc8ce1611b
Step 5 : RUN chmod 755 /entrypoint.sh &&     apt-get -q update &&     apt-get -q install -y     locales     wget     sudo     x11vnc     xinit     xvfb     libxcursor1     libglib2.0-0     python     bzip2     sqlite3     ca-certificates &&     groupadd -g 3000 -r "$SINUS_GROUP" &&     useradd -u 3000 -r -g "$SINUS_GROUP" -d "$SINUS_DIR" "$SINUS_USER" &&     update-ca-certificates &&     wget -q -O "$YTDL_BIN" "https://yt-dl.org/downloads/$YTDL_VERSION/youtube-dl" &&     chmod 775 -f "$YTDL_BIN" &&     locale-gen --purge en_US.UTF-8 &&     echo LC_ALL=en_US.UTF-8 >> /etc/default/locale &&     echo LANG=en_US.UTF-8 >> /etc/default/locale &&     mkdir -p "$SINUS_DIR" "$TS3_DIR" &&     wget -qO- http://frie.se/ts3bot/sinusbot-$SINUS_VERSION.tar.bz2 |     tar -xjf- -C "$SINUS_DIR" &&     wget -q -O- "http://dl.4players.de/ts/releases/$TS3_VERSION/TeamSpeak3-Client-linux_amd64-$TS3_VERSION.run" |     tail -c +$TS3_OFFSET |     tar xzf - -C "$TS3_DIR" &&     mv -f "$SINUS_DIR/config.ini.dist" "$SINUS_DIR/config.ini" &&     sed -i "s|TS3Path = .*|TS3Path = \"$TS3_DIR/ts3client_linux_amd64\"|g" "$SINUS_DIR/config.ini" &&     echo YoutubeDLPath = \"$YTDL_BIN\" >> "$SINUS_DIR/config.ini" &&     cp -f "$SINUS_DIR/plugin/libsoundbot_plugin.so" "$TS3_DIR/plugins/" &&     chown -fR "$SINUS_USER":"$SINUS_GROUP" "$SINUS_DIR" "$TS3_DIR" &&     apt-get -qq clean &&     rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 ---> Running in c078b382e759
rpc error: code = 2 desc = "shim error: invalid argument"
 

ech :f

 

­

ReDzGjJ.jpg

Opublikowano

Twoje kernele są nie obsługiwane przez Dockery. Na OpenVz nie można zaktualizować Kerneli, na KVM+DEDYK jedynie - napisz do supportu.

Opublikowano
AKTUALIZACJA DO NAJNOWSZEJ WERSJI:
 
 
1a. Stwórz konto pod bota:
adduser tsbot
sudo usermod -aG docker tsbot
 
1b. Zaloguj się na konto pod bota:
su tsbot
 
2. Stwórz folder o nazwie "docker":
mkdir docker
 
3a. Przejdź do tego folderu oraz edytuj plik "dockerfile":
cd docker
nano dockerfile
 

3b. Wklej:

#Docker unlimited Sinusbot instances
 
FROM ubuntu
 
#VOLUME ["/SinusBot"]
 
#Prerequisites
RUN apt-get -y update && apt-get -y upgrade
RUN apt-get -y install x11vnc xvfb libxcursor1 libglib2.0-0 ca-certificates xorg openbox wget bzip2
RUN update-ca-certificates
RUN wget -O "/usr/local/bin/youtube-dl" "https://yt-dl.org/downloads/latest/youtube-dl"&& chmod a+rx "/usr/local/bin/youtube-dl"
 
#Downloads
RUN mkdir /opt/ts3soundboard/
 
#Setting Up Files
ADD config.ini /opt/ts3soundboard/config.ini
RUN cd /opt/ts3soundboard/ && tar -xjvf sinusbot-0.9.12.2-58b509d.tar.bz2
RUN cd /opt/ts3soundboard/ && chmod 0755 TeamSpeak3-Client-linux_amd64-3.0.19.1.run
RUN sed -i 's/^MS_PrintLicense$//' /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.19.1.run
RUN cd /opt/ts3soundboard && ./TeamSpeak3-Client-linux_amd64-3.0.19.1.run
RUN cd /opt/ts3soundboard/ && cp plugin/libsoundbot_plugin.so /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/plugins
RUN chown -R root:root /opt/ts3soundboard
RUN cd /opt/ts3soundboard/ && chmod 755 sinusbot
 
# Add a startup script
ADD run.sh /run.sh
RUN chmod 755 /*.sh
 
EXPOSE 8087
CMD ["/run.sh"]

 

 

4a. Stwórz plik startowy bota:
nano run.sh
 
4b. Wklej:
#!/bin/bash


rm -rf /tmp/.X*
rm -f /tmp/TS3*


cd /opt/ts3soundboard
./sinusbot -RunningAsRootIsEvilAndIKnowThat
 
4c. Nadaj chmody plikowi startowemu:
chmod +x run.sh
 
5a. Stwórz config bota:
nano config.ini
5b. Wklej:
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/ts3soundboard/data/"
ListenPort = 8087
LogLevel = 10
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = true
6. Stwórz "ciało" dockera:
docker build -t ts3soundboard095 /lokalizacja/folderu/dockera
 
7. Stwórz podstawowy panel z botem:
docker run --restart=always -d --name bot1 -p 8087:8087 ts3soundboard095
 
 
7b. Teraz możesz stworzyć więcej paneli:
 
docker run --restart=always -d --name bot2 -p 8088:8087 ts3soundboard095
 
Pamiętaj o zmianie ID (bot1,bot2,bot3) oraz o zmianie portu bota (8088,8089,8090)
  • 3 miesiące temu...
  • 10 miesięcy temu...
Opublikowano

Posiadam problem, gdy wpisuje ip teamspeka to bot nie chce wejść a gdy wpisuje ip jakiegoś innego teamspeaka to boty wchodzą bez problemu.

Hosting: Net-Speak

VPS- Aruba

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...