Parse Server is an open source application written in the node.js programming language. The analysis application is used as a Backend As A Service (BAAS) platform. This helps developers to create a backend for their mobile applications.

Parse-Dashboard is another application built by the parse developers on node.js. This is an external web interface to manage an internal analysis server. You can add and manage multiple scan servers from a single control panel.

This tutorial will help you install and configure the server and scan toolbar applications in the Ubuntu system.

Requirements

  • Create an account with Sudo privileges and apply the initial security by following the initial server settings.
  • Login via SSH as main account

Step 1 – Install the file node.js

The parsing server and the message array are built on the node.js platform. So you need to install Node.js on your Ubuntu system. You can use the official package repository to install it. To set up an account storage :

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash –

To install Node.js on your server, execute the following commands.

install sudo apt -y nodejs

Also install a wire package manager in your system. It is used to install the node modules.

npm assembly – wire

Step 2 – Install MongoDB

Mongodb packages are available in standard apt repositories. You can easily update the apt cache and install packages from the Mongodb database server by executing the following commands:

sudo apt update
sudo apt installation mongodb server

Step 3 – Installation of the scan server

Your Ubuntu system is ready to install the parse server. The analysis server is available as a nodejs module. Use the following command to install the scan server module using the thread package manager :

global wirescan server

Then create a configuration file for your scan server. Where you can define the attributes of the scan server. Create a configuration file and edit it in your favorite word processor:

Json nano-configurator

Then add the following content to the :

[
appName.] My scan server,
DatabaseURI: mongodb://localhost:27017/parsedb,
appId : KSDJFKASJFI3S8DSJFDH,
Master Key : LASDK823JKHR87SDFJSDHF8DFHASFDF,
serverURL: https://localhost:1337/parse,
publicServerURL: https://0.0.0.0:1337/parse,
port : 1337
}

Configuration data :

  • appName – Configure any name for your scan server.
  • databaseURI – Connection string to the MongoDB database.
  • appID – specify a random string as appID, which will be used to connect to the server.
  • masterKey – Define a random string for the master key
  • serverURL – Set the URL of your scan server
  • publicServerURL – provides access to the scan server from the public network.
  • Port – Enter the port to run on the scan server. Standard port 1337

Keep your file. Then run the analyzer with the nohup command. You can also run it in the background.

nohup parse server config.json &

Your syntax server runs on port 1337.

Step 4 – Adjusting the dashboard for parsing

The parse development team also provides a web interface to access the parse server, the so-called parse dashboard. Which is also available as a node module. Use the following command to install the Analysis Dashboard:

Sewage wire

Then create a configuration file for the analysis toolbar. Edit the file in a word processor :

nano parse-darshboard-config.json

And add the following content:

{
Requests: [
{
server URL: http://67.205.146.114:1337/parse,
appId : KSDJFKASJFI3S8DSJFDH,
Master Key : LASDK823JKHR87SDFJSDHF8DFHASFDF,
allowInsecureHTTP: true,
appName : MyApp1
}
], User
: [
{
user:admin,
pass:password
}
],
iconsFolder : icons
}.

You can add multiple scan servers to the scan toolbar. Add your scan server with server URL. The user is the same appID and MasterKey that you have defined for your scan server.

Save the file and execute the following command to start the analysis toolbar.

nohup parse-dashboard –dev –configure parse-darshboard-config.json &

The above command runs your analyzer on port 4040.

Step 5 – Opening ports in the Firewall

you must allow access to the ports on the scan server. We use port 1337 for the parse server and port 4040 for the dashboard. Run the following commands to give public users access to the scan server. To open the gate type :

sudo firewall-cmd –permanent –zone=public –add-port=1337/tcp
sudo firewall-cmd –permanent –zone=public –add-port=4040/tcp

Apply the changes by executing the command:

firewall cmd – reboot

Step 6 – Setting up the test

You can now access the Parse control panel web interface by connecting to your server on port 4040. The username and password are specified in the parse-darshboard-config.json configuration file.

How to install the Ubuntu 20.04 Parse Server with a dashboard

After logging in you will see the dashboard.

How to install the Ubuntu 20.04 Parse Server with a dashboard

Conclusion

In this tutorial you learned how to install the parse server and the dashboard in the Ubuntu system.