Para is a decentralized application platform that allows developers to build and deploy applications on the blockchain. In this tutorial, we will guide you through the process of installing Para on Ubuntu Server Latest.
Before starting the installation process, make sure that your Ubuntu Server Latest is up-to-date and has the necessary dependencies installed. You should also have sudo privileges on your server.
Connect to your Ubuntu Server Latest and update the package lists using the command below:
sudo apt update
Para requires Node.js version 14 or newer, so you need to install Node.js and its package manager (npm). Run the following command to install Node.js:
sudo apt install nodejs
To confirm that Node.js is installed, run the following command:
node -v
This should output the version number of Node.js installed.
PM2 is a process manager that helps you manage Node.js applications. You can use it to start, stop, and monitor your Para node. To install PM2, run the following command:
sudo npm install -g pm2
Next, clone the Para repository from Github using the command below:
git clone https://github.com/ParityAsia/para.git
This will create a new directory called para in your current working directory.
Navigate to the para directory using the command below:
cd para
Next, install the dependencies and build Para using the following commands:
npm install
npm run build
This will install the necessary packages and build the Para software.
Once you have built Para, you can start it using PM2. Run the following command:
pm2 start npm --name "para" -- start
This will start the Para node and name it "para". You can check the status of the node using the following command:
pm2 status
This should output the status of the "para" node.
To enable the Para node to start automatically on server reboot, you need to save the PM2 process list. Run the following command:
pm2 save
This will save the current PM2 process list to the startup script.
Congratulations! You have successfully installed Para on Ubuntu Server Latest. Now you can start building and deploying applications on the Para platform. Remember to monitor the node and keep it up-to-date with the latest versions of Para.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!