Technology Sharing

Finalshell releases front-end project to Alibaba Cloud

2024-07-12

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

cd /usr/local/nginx/sbin, start the nginx server
insert image description hereinsert image description here
insert image description here

cd /nginx/conf
insert image description here
Restart nginx web server
insert image description here
insert image description here
Install nginx
insert image description here
cd /nginx execute ./configure to generate nginx files
insert image description here
insert image description here
Unzip the nginx compressed package
insert image description here
You can also unzip it to /usr/local
insert image description here
Download the compressed file
insert image description here
Dependencies required before installing nginx
insert image description here
insert image description here
Alibaba Server
insert image description here
Public IP needs to be purchased
insert image description here
insert image description here
This password is used when finalshell connects to the server
insert image description here
insert image description here
insert image description here
SSH connection
insert image description here
insert image description here
cd /nginx/conf
vim nginx.conf
insert image description here
You can also download node without nginx
insert image description here
insert image description here
npm i lite-server -g
The project port started with lite-server is 3000. To add a security group,
insert image description here
One disadvantage is that the service stops as soon as the lite-server command line window is closed, so it is recommended to use nginx service