How to install on DirectAdmin managed server

You are supposed to have a DirectAdmin VPS and a default or close to default DirectAdmin configured website - PHP, MySQL/MariaDB, Apache with SSL enabled, Nginx as a frontend proxy and SSL enabled.


Step 1

Download blabws-server-pro 32-bit or 64-bit, unzip and upload the folder blabws-server-pro under /opt so that the absolute path to the blabws-server-pro executable file is: /opt/blabws-server-pro/blabws-server-pro

Step 2

Add the following block to the Nginx config: DirectAdmin (login as admin) » Custom HTTPD config » {DOMAIN_NAME} » CustomTokens » CUSTOM4:

location /MyWsServer/ {
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_read_timeout 600s;
    # connection will be closed after 600 seconds of inactivity

and reload Nginx.

Step 3

Download BlaB! WS Pro (client), unzip the content in an empty folder and upload it to your server under your website directory.

CHMOD blabwspro/config.php to 666, blabwspro/attachments to 777, navigate with your browser to YOUR_WEBSITE_URL.COM/blabwspro/index.php and follow the instructions (3 steps only).

Step 4

At the end of the installation process you'll see a link to the Admin CP - go to Server, and set:

Save with OKAY, start your websocket server from BOARD » SERVER STATUS, press the ESC key to display the menu, hit EXIT to go to chat.


Page updated: 2022-10-05
Powered by BlaB! Pages