Mibew is a free, open-source chatbot platform that allows you to communicate with your website visitors in real-time. In this tutorial, we will learn how to install Mibew on Fedora Server Latest using simple commands in the terminal.
To get started, we need to install some required packages and dependencies for Mibew to work correctly. Type the following command in the terminal to install them:
$ sudo dnf install php-mysqlnd php-mbstring php-gd php-xml php-json
Next, we will download the Mibew latest package file from their official website.
$ cd /var/www/html
$ sudo wget https://mibew.org/downloads/mibew 2.1.2.zip
Extract the downloaded package using the following command.
$ sudo unzip mibew-2.1.2.zip
We now need to create a new MySQL/MariaDB database to be used by Mibew. Type the following command in the terminal to log in to the MariaDB shell:
$ sudo mysql -u root -p
Once you have logged in, create a new database for Mibew using the following command:
CREATE DATABASE mibew_db;
Also, create a new user with all privileges to access the database:
CREATE USER 'mibew_user'@'localhost' IDENTIFIED BY 'password_here';
Grant privileges to the user on the database:
GRANT ALL PRIVILEGES ON mibew_db.* TO 'mibew_user'@'localhost';
Flush the privileges and exit the MariaDB shell by typing:
FLUSH PRIVILEGES;
EXIT;
Replace 'password_here' with your preferred password.
Next, rename the 'config.yml.default' file to 'config.yml':
$ sudo mv config.yml.default config.yml
Open the Mibew configuration file by typing the following command:
$ sudo nano /var/www/html/mibew/config.yml
Change the following parameters to match your database configuration:
database:
host: localhost
login: mibew_user
password: password_here
database: mibew_db
And, adjust chat options as per your preferences.
Create a new virtual host file for Apache by typing:
$ sudo nano /etc/httpd/conf.d/mibew.conf
Add the following code to the newly created file:
<VirtualHost *:80>
ServerName example.com
DocumentRoot /var/www/html/mibew/
<Directory /var/www/html/mibew>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/httpd/mibew-error-logs.log
CustomLog /var/log/httpd/mibew-access-logs.log combined
</VirtualHost>
Note: Replace 'example.com' with your domain name or server IP address.
Save and close the file.
Restart Apache Web server to apply the changes:
$ sudo systemctl restart httpd
Open a web browser and access your domain name or server IP address with "/mibew/install" at the end, for example:
http://example.com/mibew/install
You should see the Mibew installer page. Follow the instructions to finish the installation.
Once the installation is complete, delete the 'install' folder:
$ sudo rm -rf /var/www/html/mibew/install/
Congratulations! You have successfully installed Mibew on your Fedora Server Latest. You can now access your Mibew dashboard by visiting your server domain name or IP address, for example:
http://example.com/mibew/operator/
You can log in to the dashboard using the username and password you created during the installation process.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!