I bought an ecs server on Aliyun, and then I want to build a node service online for my usual node study. But after buying it, I look confused. I don"t know where to start and what I need to install. Please click, where to start
I bought an ecs server on Aliyun, and then I want to build a node service online for my usual node study. But after buying it, I look confused. I don"t know where to start and what I need to install. Please click, where to start
ssh
connect to it and treat it like your computer.
it is recommended to start with see the document .
principle is that different versions of node, are installed in different locations for ease of use.
if the server is windows server, you can remotely operate it as your own computer, install the software and start the service.
if it's linux, it's the same routine, only using the command line to install, deploy, and start.
Oh, by the way, don't forget to set the entry and exit ip and port of ECS security policy, otherwise it will be inaccessible.
https://www.jianshu.com/p/386. this is my article. Do not know how to ask
first you need to connect to your server. If it is window, you will have an interface. Just type commands in cmd like your own computer.
if you have a linux system, you need to know a little bit about the basics of the linux operating system. After entering, there is also a command line. The difference is that
other operations such as adding folders through linux commands are no different from those you do locally
search the installation tutorials of nodejs under linux. Depending on the system package manager, you can install it using different commands, such as yum install nodejs
using red hat , and apt install nodejs
using debian. Of course, you can also choose to install
your usual node learning
local development
you can start
by connecting to the server (xshell), with software.Previous: Try/catch was unable to capture the problem with promise.reject
Next: On the display of end coordinates of highchart Line Chart