Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !!!NOTE: CURRENTLY SINUSBOT HAS A FATAL CODE ERROR, WHICH CAUSES SINUSBOT TO STOP PLAYING AUDIO AFTER A CERTAIN TIME, EVEN THOUGH SINUSBOT IS ONLINE! IF THIS SHOULD BE THE CASE, SIMPLY RESTART...
- # Tips
- ## The error "Is SinusBot already running?" comes?
- rm -r /tmp/.sinusbot.lock
- ## The error "Could not open X11 socket" comes?
- rm -r /tmp/.X11-unix
- # Prepaire setup
- apt install x11vnc xvfb libxcursor1 ca-certificates bzip2 libnss3 libegl1-mesa x11-xkb-utils libasound2 libpci3 libxslt1.1 libxkbcommon0 libxss1 libglib2.0-0 libxcomposite1 curl screen libxcb-xinerama0 -y
- pip install build
- adduser --gecos --no-create-home --disabled-login --disabled-password sinusbot
- # Get YouTube DL (depraced)
- wget https://youtube-dl.org/downloads/latest/youtube-dl
- mv youtube-dl /usr/bin/youtube-dl
- chmod -R 755 /usr/bin/youtube-dl
- # Get yt-dlp (You need Python! Get it here: https://pastebin.com/7GJYFSQm)
- mkdir /home/ytdlp
- cd /home/ytdlp
- git init
- git remote add origin https://github.com/yt-dlp/yt-dlp.git
- git pull origin master
- python -m build .
- rm -r /home/ytdlp
- # Get SinusBot
- mkdir /home/MusicBot
- cd /home/MusicBot
- wget https://www.sinusbot.com/dl/sinusbot.current.tar.bz2
- bunzip2 sinusbot*.tar.bz2
- tar xvf sinusbot*.tar
- rm -r sinusbot*.tar README.md
- # Prepaire config
- rm -r config.ini.dist
- wget https://pastebin.com/raw/d2D6wcPF -O config.ini
- # Get TeamSpeak Client
- wget https://files.teamspeak-services.com/releases/client/3.6.1/TeamSpeak3-Client-linux_amd64-3.6.1.run
- bash TeamSpeak3-Client-linux_amd64-3.6.1.run --accept
- rm -r TeamSpeak3-Client-linux_amd64-3.6.1.run
- mv TeamSpeak3-Client-linux_amd64 ts3
- # Prepaire libary
- rm -r ts3/xcbglintegrations/libqxcb-glx-integration.so
- mkdir ts3/plugins
- cp plugin/libsoundbot_plugin.so ts3/plugins
- chmod -R 777 .
- # Start bot
- chmod -R 777 .
- sudo -u sinusbot ./sinusbot
- # For background
- screen -S Sinusbot
- # For Background, but as process
- sudo -u sinusbot ./sinusbot &
- echo $! > pid
- ## For a new admin password; replace "YourPassword"
- sudo -u sinusbot ./sinusbot -override-password 'YourPassword'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement