BlaB! WS How to install (quick-and-easy) - CentOS + Nginx

Requirements: A CentOS 7+ server/VPS with Nginx, PHP5/PHP7 and MySQL/MariaDB. Access to that server via SSH as a root user. PHP shell_exec enabled in php.ini.

With SELinux in enforcing mode set globally (default on CentOS) you need Nginx running in permissive mode which many experts consider a vulnerability. To enable SELinux permissive mode (Nginx only) run:

yum install policycoreutils-python
semanage permissive -a httpd_t

Step 1

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

Step 2

Add to the config file of Nginx (most probably: etc/nginx/sites-available/default) inside the server block:

location /MyWsServer/ {
    proxy_pass http://localhost:9002;
    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

Save the file and restart Nginx: systemctl restart nginx

Step 3

Download BlaB! WS (client), unzip the content in an empty folder and upload it to your server under your website root directory (most probably: /var/www/html). CHMOD blabws/config.php to 666, blabws/attachments to 777 and navigate with your browser to YOUR-URL.COM/blabws/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 - start your blabws-server from BOARD ยป SERVER STATUS, press the ESC key to display the menu, go to Server, and set:

Save with OKAY, press the ESC key to display the menu, hit EXIT to go to chat. Done!


Page updated: 2018-08-15

Facebook Twitter Google LinkedIn Reddit Digg StumbleUpon