Home > Topics > Pagoda Panel > 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)

藏色散人
Release: 2021-11-05 16:39:36
forward
9930 people have browsed it

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
    Copy after login
  • 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
    Copy after login
  • 5. Generate the project file in the

    express_demo directory

    express -enpm install
    Copy after login
  • 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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template