search
HomeTopicsPagoda PanelTeach 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)
    Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts)

  • 4. Administer the security group on the Alibaba Cloud server8888The port is open

  • 5. 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]
    Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts)

3. Use Pagoda to deploy static projects

  • 1. Install nginxsoftware
    Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts)

  • 2. Deploy static projects
    Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts)

  • 3. Access directly on the browser (enter yourself Domain name)
    Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts)

  • 4. If you want to create other static projects
    Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts)
    Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts)

  • ##5. Enter the

    domain name/folder name in the browser to access the static project just now

4. Use

PM2DeploymentnodeProject

  • 1. Install

    pm2tools in the software store

  • 2.In

    pm2’s management interface switchnodeversion

  • 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


      Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts)

    • If you are using Alibaba Cloud server, you need to continue to open the port on the server side

  • 7. In the panel of

    PM2 Add express_demo project startup
    Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts)

  • 8. Enter the domain name in the browser or

    IP with port 3000

5. Modify the configuration file of

nginx and reverse proxy to the node project

  • 1. Click Website settings


    Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts)

  • 2. Modify the configuration file of

    nginx
    Teach you to use Pagoda to quickly deploy front-end projects (pictures and texts)

  • ##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!

Statement
This article is reproduced at:csdn. 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

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows

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

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

Notepad++7.3.1

Easy-to-use and free code editor

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment