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

Requirements: A CentOS 7+ server/VPS with Apache, 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 Apache running in permissive mode which many experts consider a vulnerability. To enable SELinux permissive mode (Apache 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

You need an Apache module called proxy_wstunnel. You can enable proxy_wstunnel from a frontend such as cPanel, or:

Open /etc/httpd/conf.modules.d/00-proxy.conf and look for:

LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so

If not found, add the line at the end of the file and save.

Add to the config file of Apache (/etc/httpd/conf/httpd.conf) outside VirtualHosts:

ProxyPass "/MyWsServer/" "ws://localhost:9001/"

Save, restart Apache: systemctl restart httpd

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, 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 (Step 3) you'll see a link to the Admin CP - start your blabws-server from 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: 2017-12-07

Facebook Twitter Google LinkedIn Reddit Digg StumbleUpon
This website does not use trackers and analyzers and does not collect and share any sort of personal information. There are 3 types of cookies that might be set on your PC or mobile device:
  1. Login cookies are set on login and are used to determine that you are logged in to our support center and/or demo chats. Login cookies are deleted on logout.
  2. Preferences cookies to preserve your preferences in our main site, support center and demo chats.
  3. YouTube cookies are set only if you start watching video tutorials. YouTube videos are only loaded if you explicitly click on elements or links marked as YouTube video.