2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
cd /usr/local/nginx/sbin, start the nginx server
cd /nginx/conf
Restart nginx web server
Install nginx
cd /nginx execute ./configure to generate nginx files
Unzip the nginx compressed package
You can also unzip it to /usr/local
Download the compressed file
Dependencies required before installing nginx
Alibaba Server
Public IP needs to be purchased
This password is used when finalshell connects to the server
SSH connection
cd /nginx/conf
vim nginx.conf
You can also download node without nginx
npm i lite-server -g
The project port started with lite-server is 3000. To add a security group,
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