Waziper Installation Guide for Aapanel (Nginx)
Waziper Installation Guide for Aapanel (Nginx)

Installation Guide for Aapanel (Nginx)
Summary: If you're using Aapanel with Nginx, here's a step-by-step installation guide.
Part 1: Install and configure AApanel Server with Nginx.
Download PuTTY
Download the latest version of PuTTY SSH from the official website. After that, install it on your computer. It’s as simple as that.

Connect PuTTY & Install aaPanel
Cloud Server Account
Ex:
IP: 178.128.84.87
username: root
password: XvrJ@pDYux2R5Qd
Install Aapanel
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && bash install.sh forum
Please keep a record of your AApanel login details once the installation is finished.
EX:
http://178.128.84.87:7800/5f587cdf
username: jsilnw8t
password: 48ea536b
Install libraries
sudo apt-get install libnss3-dev libatk-bridge2.0-dev libcups2-dev libxkbcommon-dev libgtk-3-dev
Please watch the video tutorial
Set up AApanel Server using Nginx web server
PHP Setup:
- Configuring PHP with version 8.0 or 8.1.
- Allow_url_fopen: allow_url_fopen=On
- Memory_limit = 512M or higher ( Importance)
- Upload_max_size = 512M
- Post_max_size = 512M
- Upload_max_filesize = 512M
Install Extensions:
Installing PHP extensions: exif and intl
Enable Functions:
Allowing execution of functions including exec, putenv, and shell_exec.
Please watch the video tutorial
Part 2: Install waziper Main Script
Install Waziper Main Script
Please prepare the information before proceeding with the installation
Purchase code:
Database
username:
databasename:
password:
Admin Account login
username:
email:
password:
Timezone
Please watch the video tutorial
Setting up Nginx configuration for a domain.
Please watch the video tutorial
Please add the following code to your primary domain’s Nginx configuration
location / {
try_files $uri $uri/ /index.php;
}
If you install in a subdirectory please set as follows
location /subfoldername {
try_files $uri $uri/ /subfoldername/index.php;
}
Part 3:waziper Install server domain
Download whatsapp_server_module_main.zip file
Step 1: Create Api domain and connect them to your Server IP Address
Ex: api.yourdomain.com
Please set up SSL for Api domain
Please watch the video tutorial
Step 2: API Domain Configure
Please insert code below into your API Domain
location / { proxy_pass http://localhost:8000; #whatever port your app runs on proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; }
Please watch the video tutorial
Step 3. Create a directory in the root folder to upload “whatsapp_server_module_main.zip”.
(whatsapp_server_module_main.zip = waziper_server.zip in video)
To ensure the safety and security of the system, please place the file in the root directory.
Step 4. Config Database for API Domain
Set up a common database with Main Script
Part 4: waziper Setup Nodejs
The current version is fully compatible with nodejs 16 and working smoothly.
Install Nodejs version manager 1.6
Install Cronj
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
Open PORT 8000
Please open port 8000 according to instructions
To switch the port to Listening state, you need to complete the following steps:
- Install server domain
- Install Nodejs version manager 1.6
- Install Cronj
Check the working status of the api domain
Please check the link
https://api.yourdomain.com/
{"status":"success","message":"Welcome to WAZIPER"}
Please check the link
https://api.yourdomain.com/get_qrcode
{"status":"error","message":"The Instance ID must be provided for the process to be completed"}
Part 5: WhatsApp API Configure & Check Qrcode
Api domain set up correctly
Correct setting
https://api.yourdomain.com/
Wrong setting
https://api.yourdomain.com
http://api.yourdomain.com/
api.yourdomain.com
and more….
Set up Cronj according to the daily cycle
sudo kill -9 $(sudo lsof -t -i:8000)
65