Skip to content

Commit e5bfece

Browse files
update distro and instructions for nodejs marketplace oca
1 parent 8761836 commit e5bfece

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

docs/marketplace-docs/guides/nodejs/index.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Deploy Node.js through the Linode Marketplace"
33
description: "Deploy Node.js on a Linode Compute Instance. This provides a JavaScript runtime to use with web applications."
44
published: 2022-02-22
5-
modified: 2022-03-08
5+
modified: 2022-04-09
66
keywords: ['nodejs','development','javascript']
77
tags: ["marketplace", "linode platform", "cloud manager"]
88
aliases: ['/products/tools/marketplace/guides/nodejs/','/guides/nodejs-marketplace-app/']
@@ -27,41 +27,48 @@ marketplace_app_name: "Node.js"
2727

2828
## Configuration Options
2929

30-
- **Supported distributions:** Ubuntu 20.04 LTS
30+
- **Supported distributions:** Ubuntu 24.04 LTS
3131
- **Recommended plan:** All plan types and sizes can be used.
3232

3333
### Node.js Options
3434

3535
- **Email address** *(required)*: Enter the email address to use for generating the SSL certificates.
3636

37-
{{% content "marketplace-limited-user-fields-shortguide" %}}
37+
{{% content "marketplace-required-limited-user-fields-shortguide" %}}
3838

3939
{{% content "marketplace-custom-domain-fields-shortguide" %}}
4040

4141
{{% content "marketplace-special-character-limitations-shortguide" %}}
4242

4343
## Getting Started after Deployment
4444

45-
The Node.js Marketplace App is running [Nginx](https://www.nginx.com/), [Node.js](https://nodejs.org/en/), [NPM](https://www.npmjs.com/), and [PM2](https://pm2.keymetrics.io/). Once deployed, a "Hello World" sample application should be running on `http://localhost:3000`. An Nginx reverse proxy then serves the application through your custom domain or rDNS domain over ports 80 and 443
45+
The Node.js Marketplace App is running [Nginx](https://www.nginx.com/), [Node.js](https://nodejs.org/en/), and [NPM](https://www.npmjs.com/). Once deployed, a sample page should be running on your FQDN (if applicable) or the Compute Instance's Reverse DNS address.
4646

4747
### Accessing the Node.js App through the Command Line
4848

49-
The Node.js sample application is stored in the `hello.js` file within `/opt/nodejs/`. To access it within the command line, follow the instructions below.
49+
The Node.js sample application is stored in the `app.js` file within `/var/www/[domain]/`.
5050

5151
1. Log in to your Compute Instance via [SSH](/docs/guides/connect-to-server-over-ssh/) or [Lish](/docs/products/compute/compute-instances/guides/lish/).
5252

5353
1. Navigate to the directory in which the application is stored:
5454

55-
cd /opt/nodejs/
55+
cd /var/www/[domain]
5656

5757
1. Open the sample application with your preferred command line text editor, such as [nano](/docs/guides/use-nano-to-edit-files-in-linux/) or [vim](/docs/guides/what-is-vi/).
5858

59-
nano hello.js
59+
nano app.js
6060

6161
### Viewing the Node.js App through a Web Browser
6262

63-
Open your web browser and navigate to `http://[domain]/`, where *[domain]* can be replaced with the custom domain you entered during deployment or your Compute Instance's rDNS domain (such as `192-0-2-1.ip.linodeusercontent.com`). See the [Managing IP Addresses](/docs/products/compute/compute-instances/guides/manage-ip-addresses/) guide for information on viewing rDNS.
63+
Open your web browser and navigate to `https://[domain]/`, where *[domain]* can be replaced with the custom domain you entered during deployment or your Compute Instance's rDNS domain (such as `192-0-2-1.ip.linodeusercontent.com`). See the [Managing IP Addresses](/docs/products/compute/compute-instances/guides/manage-ip-addresses/) guide for information on viewing rDNS.
6464

65-
![Screenshot of Node.js sample application](nodejs-site.png)
65+
## Software Included
66+
67+
| **Software** | **Description** |
68+
|:--------------|:------------|
69+
| **Node.js** | JavaScript runtime environment |
70+
| **NPM** | Node.js package manager |
71+
| **NGINX** | Web server and reverse proxy |
72+
| **UFW (Uncomplicated Firewall)** | Firewall utility. Ports 22/tcp, 80/tcp, and 443/tcp for IPv4 and IPv6 are enabled with installation of this app. All other ports have the following firewall rules: deny (incoming), allow (outgoing). |
6673

6774
{{% content "marketplace-update-note-shortguide" %}}
-54.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)