


Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts)
This article is provided by the tutorial column of Pagoda Panel to introduce how to use Pagoda to quickly deploy front-end projects. I hope it will be helpful to you if you need it!
1. Environment installation
1. Domain name resolution binding The
IP
address of your own server-
2. Install the pagoda
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
3. Wait for a few minutes. After the installation is completed, The login account and password will appear on the page (copy them first, and you can modify them after logging in)
4. Administer the security group on the Alibaba Cloud server
8888
The port is open5. Use the above account and password to log in to your pagoda interface and modify the user name and password [mainly for the convenience of remembering the account and password]
3. Use Pagoda to deploy static projects
1. Install
nginx
software2. Deploy static projects
3. Access directly on the browser (enter yourself Domain name)
4. If you want to create other static projects
- ##5. Enter the
domain name/folder name in the browser
to access the static project just now
PM2Deployment
nodeProject
- 1. Install
pm2
tools in the software store
- 2.In
pm2
’s management interface switch
nodeversion
- 3. Create a folder in the directory of the site
express_demo
- 4. Install the scaffolding of
express
npm install express-generator
- 5. Generate the project file in the
express_demo
directory
express -enpm install
- 6. Development port [very important]
- Open the port in the pagoda
- If you are using Alibaba Cloud server, you need to continue to open the port on the server side
- Open the port in the pagoda
- 7. In the panel of
PM2
Add
express_demoproject startup
- 8. Enter the domain name in the browser or
IP
with port 3000
nginx and reverse proxy to the
node project
- 1. Click Website settings
- 2. Modify the configuration file of
nginx
##3. To test, directly enter - domain name/express
in the browser
The above is the detailed content of Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts). For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

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.

Notepad++7.3.1
Easy-to-use and free code editor

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment
