How to install GSP on Ubuntu

The first step to install GSP is to install MongoDB, the NoSQL database used to log into the web panel

Install MongoDB

Import GPG key

wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -

Add MongoDB repos and install it

echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list

and then

sudo apt update && sudo apt install -y mongodb-org

now you have to start mongod.service with the following command

sudo systemctl start mongod

Install Docker

This step is simpler than the previous one since Docker is already in the Ubuntu repositories.

sudo apt install docker && sudo apt install docker.io

once installed start docker service

sudo systemctl enable --now docker

Install NodeJS and NPM

sudo apt install nodejs npm

Clone git repository

git clone https://github.com/game-server-panel/game-server-panel.git

Install dependencies

npm run dependencies

Congratulations, you’ve just installed GSP! :D