Tutorials  /  Linux Basics

Install Parse Server on CentOS 7: Complete Step-by-Step Guide

Ccentron Redaktion · April 2025 ·4 min read ·Linux Basics, Tutorial

Parse Server stands as the open-source substitute for the Parse backend service, which has been discontinued. If you're fond of the original platform, you can continue enjoying its features by hosting Parse Server on your own server.

This guide explains the steps required to set up Parse Server on a CentOS 7 system.

Prerequisites

  • A CentOS 7 x64 server environment
  • A user account with sudo privileges
VM

Matching infrastructure at centron

No hardware needed to follow along: ccloud³ VMs with full root access start at €3.12 per month, billed by the hour and ready in seconds. Rent a cloud server →

Step 1: Update Your CentOS System

Start by accessing your server through SSH using a sudo user account. Then update the operating system using the following commands:

Console
sudo yum install epel-release -y
sudo yum update -y
sudo shutdown -r now

Once the reboot completes, log in again with the same sudo account to continue.

Step 2: Install Node.js

Proceed to install Node.js version 6.x, specifically version 6.9.4 at the time of this writing:

Console
cd
curl --silent --location https://rpm.nodesource.com/setup_6.x | sudo bash -
sudo yum install -y nodejs

Step 3: Set Up MongoDB

Create the YUM repository for MongoDB 3.4 by running this block of code in your terminal:

Code
cat <<EOF | sudo tee -a /etc/yum.repos.d/mongodb-org-3.4.repo
[mongodb-org-3.4]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/7/mongodb-org/3.4/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc
EOF

Install and enable the MongoDB service with the commands below:

Console
sudo yum install -y mongodb-org
sudo systemctl start mongod.service
sudo systemctl enable mongod.service

Step 4: Install Parse Server

Use the following commands to install Parse Server version 2.3.2, which was the current release when this guide was prepared:

Console
sudo yum install git -y
cd /opt
sudo git clone https://github.com/ParsePlatform/parse-server.git
cd parse-server
sudo npm install -g parse-server mongodb-runner

Step 5: Launch Parse Server

Before launching Parse Server, define the following credentials:

  • appId: 462s45ze2vn6x2vrfyfenqmksngx5xbs
  • masterKey: kcr454f9xgq3bpdbhwuy4umamekk3n7f

Then, start the Parse Server using the commands below:

Code
mongodb-runner start
parse-server --appId 462s45ze2vn6x2vrfyfenqmksngx5xbs --masterKey kcr454f9xgq3bpdbhwuy4umamekk3n7f --databaseURI mongodb://localhost/test

The terminal output should look like this:

Code
appId: 462s45ze2vn6x2vrfyfenqmksngx5xbs
masterKey: ***REDACTED***
port: 1337
host: 0.0.0.0
databaseURI: mongodb://localhost/test
mountPath: /parse
maxUploadSize: 20mb
userSensitiveFields: email
serverURL: http://localhost:1337/parse

[13831] parse-server running on http://localhost:1337/parse

Congratulations! Parse Server is now running independently on your machine.

Step 6: Verify Parse Server Functionality

Open another SSH terminal window to run the following tests, while keeping the original Parse Server session active.

First, post some test data to your MongoDB instance:

Console
curl -X POST \
-H "X-Parse-Application-Id: 462s45ze2vn6x2vrfyfenqmksngx5xbs" \
-H "Content-Type: application/json" \
-d '{"score":1337,"InventoryName":"Desktops","cheatMode":false}' \
http://localhost:1337/parse/classes/Inventory

You should receive a reply similar to:

JSON
{"objectId":"meNcfQ6JJJ","createdAt":"2017-01-20T02:19:57.436Z"}

To fetch the stored data, run the following:

Console
curl -X GET \
-H "X-Parse-Application-Id: 462s45ze2vn6x2vrfyfenqmksngx5xbs" \
http://localhost:1337/parse/classes/Inventory/meNcfQ6JJJ

The expected response should include the submitted object data, as shown below:

JSON
{"objectId":"meNcfQ6JJJ","score":1337,"InventoryName":"Desktops","cheatMode":false,"createdAt":"2017-01-20T02:19:57.436Z","updatedAt":"2017-01-20T02:19:57.436Z"}

Conclusion

Installing Parse Server on a CentOS 7 system is a practical and efficient way to regain control over your app backend now that the official Parse service is no longer available. By following the steps above, you can fully replicate the Parse experience on your own infrastructure and begin developing or migrating your applications with confidence.

Jetzt 200 € Guthaben sichern

Testen Sie Ihr Setup auf ccloud³

Registrieren Sie sich in der ccloud³ und erhalten Sie 200 € Startguthaben für Ihr Projekt – z. B. für eine PostgreSQL-VM mit automatischen Backups.

centron Redaktion Technische Redaktion

Das Redaktionsteam von centron schreibt Anleitungen aus dem Betriebsalltag: getestet auf unserer eigenen Plattform, betrieben im Rechenzentrum in Hallstadt bei Bamberg.

Kategorie Linux Basics
Teilen
Noch offene Fragen?

Our team will help you with your specific setup - in German or English, by people who run the platform themselves.

War dieses Tutorial hilfreich?

Your answer is stored anonymously and helps us improve our tutorials.

Kommentare

No comments yet - be the first to ask a question about this tutorial.

Sign in to comment

Comments are open to centron customers. Sign in to your account to ask a question about this tutorial.

Weiterlesen

Das könnte Sie auch interessieren

Jetzt kostenlos anfangen

Melden Sie sich an und erhalten Sie in den ersten 60 Tagen ein Guthaben von 200 € bei centron.

Dieses Werbeangebot gilt nur für neue Konten. Angebot ausschließlich für Gewerbetreibende.

Jetzt loslegen Sales kontaktieren