Jump to content
Bicrypto v3.7.0 + All Plugins ×

Recommended Posts

@Renato Oliveira Fotografia

4 hours ago, Renato Oliveira Fotografia said:

Can anyone share a tutorial on how to install version 6.5.0 on a Linux VPS?

What problem do you have with the installation on the VPS, I recommend that you use Ubuntu on it, install node.js, php with its prerequisites, apache or ngix, the mysql or wave database of your choice. Anything write to me privately

Cual problema tienes con la instalación en el VPS, te recomiendo usas ubuntu en el mismo, instala node.js, php con sus pre-requisitos, apache o ngix, la base de datos mysql ola de tu preferencia. Cualquier cosa escribeme al privado

  • Like 1
Link to comment
Share on other sites

5 hours ago, Renato Oliveira Fotografia said:

Can anyone share a tutorial on how to install version 6.5.0 on a Linux VPS?

it's easy .. install in your vps (nodejs 16) if almalinex 8:

curl -fsSL  https://rpm.nodesource.com/setup_18.x | sudo -E bash -
yum install -y nsolid

if ubuntu:

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
apt-get install -y nodejs

upload script files and run this in SSH and go to your script root and run:
 

node .

don't close SSH window .. and this link in browser:
 

http://youtsite.com/install
5 hours ago, Renato Oliveira Fotografia said:

Can anyone share a tutorial on how to install version 6.5.0 on a Linux VPS?

it's easy .. install in your vps (nodejs 16) if almalinex 8:

curl -fsSL  https://rpm.nodesource.com/setup_18.x | sudo -E bash -
yum install -y nsolid

if ubuntu:

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
apt-get install -y nodejs

upload script files and run this in SSH and go to your script root and run:
 

node .

don't close SSH window .. and this link in browser:
 

http://youtsite.com/install
Link to comment
Share on other sites

3 minutes ago, ziroroot said:

Can anyone share a tutorial on how to install version 6.5.0 on  shared hosting   hostinger

before you install this script to shared hosting you should check nodejs is install or not ..
image.png.e0a4aa98a0221894dbf0235d5f869d95.png

Edited by Magd Almuntaser
Link to comment
Share on other sites

21 minutes ago, Ninu said:

Hello bang, my website is not showing QR Code as well 😞 can you help ?image.png.4a7e9d885b5c3361c0dfe0876fe7d97d.png


becouse your whatsapp server not working
you can search in google for (port check) i think the website called yougetsignal and put your website and your whatsapp port 3100 if is not ON you should run this command in SSH in root script if using VPS:
 

node .

if shared hosting you can check nodejs from cpanel if working

Link to comment
Share on other sites

para usar en SSL, modifique el server.js asi: 

"use strict";

const wa = require("./server/whatsapp");
const fs = require("fs");
require("dotenv").config();
const lib = require("./server/lib");
global.log = lib.log;

const express = require("express");
const app = express();
const https = require("https");
const serverOptions = {
  cert: fs.readFileSync("C:/Certbot/live/phat_ssl/fullchain.pem"),
  key: fs.readFileSync("C:/Certbot/live/phat_ssl/privkey.pem"),
};
const server = https.createServer(serverOptions, app);

const { Server } = require("socket.io");
const io = new Server(server);
const port = process.env.PORT_NODE;

app.use((req, res, next) => {
  res.set("Cache-Control", "no-store");
  req.io = io;
  next();
});

const bodyParser = require("body-parser");

app.use(
  bodyParser.urlencoded({
    extended: false,
    limit: "50mb",
    parameterLimit: 100000,
  })
);
app.use(bodyParser.json());
app.use(express.static("src/public"));
app.use(require("./server/router"));

io.on("connection", (socket) => {
  socket.on("StartConnection", (data) => {
    wa.connectToWhatsApp(data, io);
  });
  socket.on("ConnectViaCode", (data) => {
    wa.connectToWhatsApp(data, io, true);
  });
  socket.on("LogoutDevice", (device) => {
    wa.deleteCredentials(device, io);
  });
});

server.listen(port, console.log(`Server running and listening on port: ${port}`));

 

Link to comment
Share on other sites

Em 15/04/2024 em 13:37, Magd Almuntaser disse:

it's easy .. install in your vps (nodejs 16) if almalinex 8:

curl -fsSL  https://rpm.nodesource.com/setup_18.x | sudo -E bash -
yum install -y nsolid

if ubuntu:

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
apt-get install -y nodejs

upload script files and run this in SSH and go to your script root and run:
 

node .

don't close SSH window .. and this link in browser:
 

http://youtsite.com/install

it's easy .. install in your vps (nodejs 16) if almalinex 8:

curl -fsSL  https://rpm.nodesource.com/setup_18.x | sudo -E bash -
yum install -y nsolid

if ubuntu:

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
apt-get install -y nodejs

upload script files and run this in SSH and go to your script root and run:
 

node .

don't close SSH window .. and this link in browser:
 

http://youtsite.com/install

It doesn't go to the install folder, I just get a list of files

A few more steps beyond creating the ubuntu domain, installing node and running the command, node .

Captura de Tela 2024-04-19 às 15.27.03.png

Link to comment
Share on other sites

8 hours ago, Renato Oliveira Fotografia said:

It doesn't go to the install folder, I just get a list of files

A few more steps beyond creating the ubuntu domain, installing node and running the command, node .

Captura de Tela 2024-04-19 às 15.27.03.png

this is wrong, when will you be free let me help you fix it remotely

Link to comment
Share on other sites

On 4/19/2024 at 9:29 PM, Renato Oliveira Fotografia said:

It doesn't go to the install folder, I just get a list of files

A few more steps beyond creating the ubuntu domain, installing node and running the command, node .

Captura de Tela 2024-04-19 às 15.27.03.png

becouse your vps is full empty .. you should install LAMP (apache, mariadb, php)

you can search in google for (install LAMP ubuntu) or (install LAMP almalinex)

Link to comment
Share on other sites

On 4/19/2024 at 8:55 PM, Sayyid Naufal said:

How to setup NodeJs because my QR code not showing

.Untitled.thumb.png.05cb1f6c3fc77ec5c86752f92dd44f16.png

Application root:

/home/yourusername/public_html/whatsapp/

Application URL:
 

http://yourdomain.com/whatsapp

Application startup file:
 

/home/yourusername/public_html/whatsapp/server.js
On 4/19/2024 at 3:07 AM, kenariponsel ponsel said:

@The Billionaire I have installed Nginx, for PHP version 5.0, does it support PHP 7.4?

Not working on php 5 you should upgrade to 7.4 and up

On 4/18/2024 at 8:31 PM, ABhi Raj said:

How to install this Script in VPS ( AAPANEL )

you can see my last post how to install script in your website

Link to comment
Share on other sites

14 horas atrás, Magd Almuntaser disse:

becouse your vps is full empty .. you should install LAMP (apache, mariadb, php)

you can search in google for (install LAMP ubuntu) or (install LAMP almalinex)

VPS was with apache, maria db 10 and php 8.2 and all the requirements to install the system

The image itself shows that Apache is installed

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...