Skip to main content

Full-stack JavaScript framework with MongoDB, Express, Angular, and Node.

Accelerate your JavaScript development by avoiding common blockers and time wasters, like installing foundational components. MEAN is a full-stack JavaScript-based framework consisting of MongoDB database, ExpressJS, AngularJS, and NodeJS. This free, open source stack allows developers to build entire web applications on JavaScript, from client to server to database. Single-language programming makes it easier to develop working applications more quickly without sacrificing functionality and features.

Jump-start your JavaScript project by deploying Linode’s MEAN Marketplace App.

Deploying the MEAN Stack Marketplace App

  1. Log in to the Cloud Manager and select the Marketplace link from the left navigation menu. This displays the Linode Compute Create page with the Marketplace tab pre-selected.
  2. Under the Select App section, select the app you would like to deploy.
  3. Fill out all required Options for the selected app as well as any desired Advanced Options (which are optional). See the Configuration Options section for details.
  4. Complete the rest of the form as discussed within the Getting Started > Create a Linode.
  5. Click the Create Linode button. Once the Linode has provisioned and has fully powered on, wait for the software installation to complete. If the Linode is powered off or restarted before this time, the software installation will likely fail. To determine if the installation has completed, open the Linode’s Lish console and wait for the system login prompt to appear.
  6. Follow the instructions within the Getting Started After Deployment section.

Software installation should complete within 2-3 minutes after the Linode has finished provisioning.

Configuration Options

Here are the additional options available for this Marketplace App:

FieldDescription
Admin Email for the serverThis email is require to generate the SSL certificates. Required
Your Linode API TokenYour Linode API Token is needed to create DNS records. If this is provided along with the subdomain and domain fields, the installation attempts to create DNS records via the Linode API. If you don’t have a token, but you want the installation to create DNS records, you must create one before continuing.
SubdomainThe subdomain you wish the installer to create a DNS record for during setup. The suggestion given is www. The subdomain should only be provided if you also provide a domain and API Token
DomainThe domain name where you wish to host your Wazuh instance. The installer creates a DNS record for this domain during setup if you provide this field along with your API Token.
The limited sudo user to be created for the LinodeThis is the limited user account to be created for the Linode. This account has sudo user privileges.
The password for the limited sudo userSet a password for the limited sudo user. The password must meet the complexity strength validation requirements for a strong password. This password can be used to perform any action on your server, similar to root, so make it long, complex, and unique.
The SSH Public Key that will be used to access the LinodeIf you wish to access SSH via Public Key (recommended) rather than by password, enter the public key here.
Disable root access over SSH?Select Yes to block the root account from logging into the server via SSH. Select No to allow the root account to login via SSH.

Note
Currently, Linode does not manage software and systems updates for Marketplace Apps. It is up to the user to perform routine maintenance on software deployed in this fashion.

Getting Started After Deployment

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. Follow the instructions below to view or access it.

Accessing the MEAN App through the Command Line

The MEAN sample application is stored in the /opt/mean/ directory. To access it within the command line, follow the instructions below.

  1. Log in to your Compute Instance via SSH or Lish.
  2. Navigate to the directory in which the application is stored:

    cd /opt/mean/
  3. Open the sample application with your preferred command line text editor, such as nano or vim.

    nano server.js

Viewing the MEAN App through a Web Browser

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 guide for information on viewing rDNS.

Software Included

The MEAN One-Click App will install the following software on your Linode:

SOFTWAREDESCRIPTION
MongoDBDocument-based database
Express Web application framework
AngularJavaScript library
Node JSRuntime environment
NGINX
Web server
UFWFirewall utility. Ports 22, 80, and 443 for IPv4 and IPv6 are set to allow traffic. All other ports have the following firewall rules: deny (incoming), allow (outgoing).

The MEAN JavaScript Stack Marketplace App was built by Linode. For support regarding app deployment, contact Linode Support via the information listed in the sidebar. For support regarding the tool or software itself, visit MEAN Community.