How to Install Planka on Ubuntu Server Latest

Planka is an open-source, self-hosted web application that helps you manage your tasks and project boards easily. In this tutorial, we'll guide you through the installation process of Planka on Ubuntu Server latest.

Prerequisites

Step 1: Install Node.js and NPM

Planka is built with Node.js and NPM. Install Node.js and NPM by running the following command:

sudo apt update
sudo apt install nodejs npm -y

Verify the installation of Node.js and NPM by running the following commands:

node -v
npm -v

Step 2: Install MongoDB

Planka uses MongoDB as its database. Install MongoDB by running the following command:

sudo apt install mongodb -y

Start the MongoDB service and enable it to start at boot time by running the following commands:

sudo systemctl start mongodb
sudo systemctl enable mongodb

Verify MongoDB installation and service status by running the following commands:

mongo --version
sudo systemctl status mongodb

Step 3: Install Planka

Create a directory to store the Planka files by running the following command:

sudo mkdir /opt/planka

Change to the Planka directory and clone the official Planka repository from GitHub by running the following commands:

cd /opt/planka
sudo git clone https://github.com/plankanban/planka.git .

Install the dependencies by running the following command:

sudo npm install --production

Step 4: Configure Planka

Copy the example configuration file and modify it based on your needs by running the following commands:

sudo cp .env.example .env
sudo nano .env

Ensure the following line is uncommented:

MONGODB_URI=mongodb://localhost:27017/planka

Step 5: Start Planka

Start Planka by running the following command:

sudo npm start

Planka will run on port 3000. You can access Planka via your server domain name or IP address followed by port 3000. If you need to run Planka on a different port, pass the PORT environment variable. For example, to run Planka on port 8000, run the following command:

sudo PORT=8000 npm start

Conclusion

That's it! You've successfully installed Planka on your Ubuntu Server latest. Don't forget to configure your firewall to allow traffic to port 3000 or the custom port you choose. Happy task and project management!

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!