Aapanel (Apache2)
Follow the instruction video below to install the Script on your own aaPanel. If you have any problems, please open the ticker to ask detail here
Table of Contents
Part 1: Install Waziper on Main domain
Step 1: Create main domain and connect them to your Server IP Address
Ex: yourdomain.com
Please set up SSL for main domain
Step 2: Install extensions for PHP and restart
Install extensions: fileinfo, imap, exif

Restart PHP

Step 3: Upload Install.zip file to Main Domain
Follow the instruction below to install Waziper on Main Domain:

Step 4: Delete files: .htaacess, 404.html and index.html
Delete 3 files: “.htaacess”, “404.html” and “index.html”
Step 5: Uploading “.installzip” file to Server
When you download Waziper Codes you will be received 2 files. One of them is install.zip
Step 6: Decompress install.zip File
Note: Delete Install.zip after Decompressing
Step 7: Refresh Main Domain to get Waziper Setting
Accessing your main domain to install the main Scripts
Step 8: Check all requirements are active
These requiremets must be installed to run the Scripts
Step 9: Fill out all information are required
These requiremets must be installed to run the Scripts
Step 10: Successfull Installation
Step 11: WhatsApp API Configure
– After installing Successfull, using Admin Account to login Main Domain and setting your API.
– Enter you API domain at WhatsApp API Configuration

Part 2: Install Waziper on API domain
Step 1: Create Api domain and connect them to your Server IP Address
Ex: api.yourdomain.com
Please set up SSL for Api domain
Step 2: API Domain Configure
Please insert code below into your API Domain (Please watch the video to know where to insert code)
<Location />
ProxyPass http://127.0.0.1:8000/
ProxyPassReverse http://127.0.0.1:8000/
</Location>
website -> api.yourdomain.com -> config
Step 3: Install Waziper on API domain (server.zip file)
1. Creat a new Directory in Root:
Create New Folder Name: wa_server inside“Root dir > root >“
2. Uploading SERVER.ZIP file to API Domain:
Please Upload the file to the right directory exactly

3. Decompress SERVER.ZIP FILE:
Please Upload the file to the right directory exactly
4. Config Database to API Domain
Follow guides below to config DATABASE to API Domain:
*Note: This is API Domain (edit “config.js” file)

Input database information on your wordpress into file config.js

Step 4: Install LIBRARY on UBUNTU Server
Please run PuTTY to Install Libraries.

Run this command:
sudo apt-get install libnss3-dev libatk-bridge2.0-dev libcups2-dev libxkbcommon-dev libgtk-3-dev
Step 5: Install NODEJS and PM2 on UBUNTU Server
Run these commands :
1. curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
2. sudo apt install nodejs
3. sudo npm i pm2 -g
Step 6: Install GOOGLE CHROME
1. Download Google Chrome:
Run these commands:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
2. Install Google Chrome:
Run these commands:
sudo apt install ./google-chrome-stable_current_amd64.deb
Step 7: Open PORT 8000
Please open port 8000 according to instructions

Step 8: Install Cron
Please create Cron according to the instructions
Cron: Once/minute:
sh -c 'cd /root/wa_server && node app'
/root/wa_server: is the path to the server.zip installation directory
Step 9: Restart server
Follow the instruction below to restart your Server:

Step 10: Check the working status of the api domain
Please check the link

Notice you have successfully installed Api domain
{“status”:”error”,”message”:”Authentication failed”}