search
HomeTopicsPagoda PanelTeach you step by step how to deploy node koa express project in pagoda

This article is provided by the tutorial column of Pagoda Panel to introduce you step by step how to deploy the node koa express project in the Pagoda Panel. There are pictures for each step~ I hope it will be helpful to you if you need it!

Environment configuration before deployment: Install the pagoda panel image, open port 8888 and port 22, and the ports for project deployment. For example:

Teach you step by step how to deploy node koa express project in pagoda

1/15666 opens all ports from 1 to 15666, which will facilitate the opening of other ports in the future. Log in to the pagoda panel, the effect is as follows

Teach you step by step how to deploy node koa express project in pagoda

Upload the node project to the www/wwwroot folder

Teach you step by step how to deploy node koa express project in pagoda

Download in the software store pm2node process manager

Teach you step by step how to deploy node koa express project in pagoda

Download the corresponding module and corresponding node version number

Teach you step by step how to deploy node koa express project in pagoda

Teach you step by step how to deploy node koa express project in pagoda

Then add mysql database, upload sql, and import.

Teach you step by step how to deploy node koa express project in pagoda

After completion, click Manage to view the effect, as follows

Teach you step by step how to deploy node koa express project in pagoda

Change the account and password of the node project mysql

Teach you step by step how to deploy node koa express project in pagoda

Add node process

Teach you step by step how to deploy node koa express project in pagoda

Add successfully and display

Teach you step by step how to deploy node koa express project in pagoda

If the port If the number is off, it means that the addition was unsuccessful. The reasons may be: 1. The port is occupied, 2. The port is open and a security group needs to be configured. 3. Database connection failed 4. There is a problem with the project logic and an error is reported. You need to be patient to solve it until the port number is the port number that your project runs on. After the process is added successfully, in the security center column of the Pagoda panel, release 3006

Teach you step by step how to deploy node koa express project in pagoda

. Then you can access the interface through the IP port. The effect is as follows

Teach you step by step how to deploy node koa express project in pagoda

The above is the detailed content of Teach you step by step how to deploy node koa express project in pagoda. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:juejin. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software