Skip to content

Build NodeJS Image

E.L edited this page May 16, 2019 · 2 revisions

Build NodeJS

Follow this guide to build an OpenLiteSpeed Node image/template/snapshot.

Build Process

1. Launch a Server

Choose the Long Term Support version for the base image, e.g. Ubuntu 18.04.

Select a basic plan from the cloud platform.

2. Install OLS + NodeJS

You can use a single command to install OpenLiteSpeed and NodeJS easily. It is totally free and does not require any kind of license.

bash <( curl -sk )

This installation may take around 5 minutes to finish.

3. Install Launch script

bash <( curl -sk ) 

This step may clean up all SSH access methods, which means once you exit the server, you will not be able to SSH back

Launch script will do following:

a. Set up Welcome Banner

This is just a basic SSH console welcome message template. The banner will do the following:

  • Check the public IP address

  • Display how to login

b. Install Upgrade Script

This script provides the system auto update function and domain setup assistant.

c. Others

  • Regenerate SSL Certificate

  • Regenerate Secret Key

  • Clean up passwords

  • Clean up SSH keys

  • Clean up logs

4. Build Image

Start building your image by SnapShot, Image or Template, which are provided by cloud providers, and that's it. You can now launch any type of servers from the snapshot you just built.

You can’t perform that action at this time.