Search The Hostwinds Guides Knowledge Base

How to Install MEAN Stack on Cloud VPS

Share This Article

You can install an impressive number of software applications onto your Hostwinds Cloud VPS with the click of a button.  If you’re looking for a NodeJS hosting environment, we offer a default MEAN stack template for your VPS at the click of a button.

What is MEAN Stack?

MEAN Stack is a software stack for website hosting using JavaScript as the primary language, particularly useful for dynamic, responsive, reactive websites and web applications.  MEAN is an acronym of the four JavaScript software packages used to develop the web applications: MongoDB is a NoSQL database, Express.js is a web application framework that runs on Node.js, Angular.js is a series of JavaScript model-view-controller frameworks that displays your website content, and Node.js is an event-driven JavaScript that processes code outside of the website browser.

This guide will explain how to both create a new server with MEAN stack, as well as how to reinstall a pre-existing server to have a MEAN stack using the Hostwinds Cloud Portal.

Creating a New MEAN Stack Server

Just follow these steps to create a new MEAN Stack VPS:

Step 1: Log into your Client Area at https://clients.hostwinds.com

Step 2: Select Cloud Control and then click on Cloud Portal

Cloud Control Cloud Portal Location Image

Step 3: Click on the Create button and select Servers from the drop down menu

Step 4: Under Select Server Image, click on the Applications menu item

Applications Options

Step 5: Click on MEAN Stack option from the list of available applications

The MEAN Stack template in Cloud Portal

Step 6: Select your server resources, location, and billing cycle, and select Create Server at the very bottom

Your server will not be activated until the pending invoice has been completed.

Please allow up to 15 minutes for the application to complete initial installation.

Step 7: Go to your MEAN Stack server URL at http://YOUR-SERVER-IP-ADDRESS:3000

The MEAN stack installs a boilerplate web application, which includes software to track users and articles.

If you ever need your login information, you can SSH into your server and run the command cat /root/details.txt

Reinstall MEAN Stack On a Pre-Existing VPS / Cloud Server

The following steps will let you reinstall your current VPS with MEAN Stack installed.

Please note that this will erase and destroy all data on the server to reinstall it. We highly suggest that you take a snapshot backup if you need to restore your server from a backup prior to proceeding with this guide.

Step 1: Log into your Client Area at https://clients.hostwinds.com

Step 2: Choose Cloud Control and then click on Cloud Portal

Cloud Control Cloud Portal Location Image

Step 3: Select the Server you wish to reinstall

Selecting server

Step 4: Click on the Actions button, and then select Reinstall from the drop down menu

Instance Reinstall Location Image

Step 5: Under Select Server Image, click on the Applications tab.

Applications Options

Step 6: Click on MEAN Stack icon from the list of applications

The MEAN Stack template in Cloud Portal

Please allow up to 15 minutes for the application to complete initial installation.

Step 7: Go to your MEAN Stack server URL at http://YOUR-SERVER-IP-ADDRESS:3000

The MEAN stack installs a boilerplate web application, which includes software to track users and articles.

If you ever need your login information, you can SSH into your server and run the command cat /root/details.txt

Related Articles: