How to Install SinusBot Server on Linux
How to Install SinusBot Server on Linux
SinusBot is a powerful music bot for TeamSpeak 3 that allows you to play music in your channels. Here's a step-by-step guide to installing it on a Linux server.
Prerequisites
- A Linux server (Ubuntu/Debian recommended)
- Root or sudo access
- Minimum 1GB RAM (2GB recommended for better performance)
- TeamSpeak 3 server installed (if running on same machine)
Note: SinusBot requires a 64-bit operating system. It won't work on 32-bit systems.
Step 1: Update Your System
First, update your package lists and upgrade existing packages:
sudo apt update && sudo apt upgrade -y
Step 2: Install Required Dependencies
sudo apt install -y x11vnc xvfb libxcursor1 libglib2.0-0 libnss3 libegl1-mesa libxcomposite1 libasound2 libxdamage1 libxrandr2 libgbm1 libgtk-3-0
Step 3: Create a User for SinusBot
It's recommended to run SinusBot under a dedicated user:
sudo adduser --disabled-login sinusbot sudo su - sinusbot
Step 4: Download and Install SinusBot
wget https://www.sinusbot.com/dl/sinusbot.current.tar.bz2 tar -xjvf sinusbot.current.tar.bz2
Step 5: Install YouTube-DL (Optional but Recommended)
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl
Step 6: Configure SinusBot
Edit the config file:
nano config.ini
Adjust the following important settings:
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64" ListenHost = "0.0.0.0" ListenPort = 8087 YoutubeDLPath = "/usr/local/bin/youtube-dl"
Step 7: Start SinusBot
./sinusbot
Important: When running for the first time, SinusBot will create a default admin account. Check the terminal output for the login credentials!
Step 8: Access the Web Interface
Open your browser and navigate to:
http://your-server-ip:8087
Optional: Create a Systemd Service
To run SinusBot as a service, create this file:
sudo nano /etc/systemd/system/sinusbot.service
With these contents:
[Unit] Description=SinusBot Music Bot After=network.target [Service] User=sinusbot WorkingDirectory=/home/sinusbot ExecStart=/home/sinusbot/sinusbot Restart=always [Install] WantedBy=multi-user.target
Then enable and start the service:
sudo systemctl enable sinusbot sudo systemctl start sinusbot
Troubleshooting
- Port issues: Make sure port 8087 is open in your firewall
- Dependency errors: Verify all dependencies are installed
- Permissions: Ensure the sinusbot user has proper permissions
For more information, visit the official SinusBot forum.
Comments
Post a Comment