Install prerequisites

Before using modmail you have to install some prerequisites.

Before installing anything run: and reconnect to your VPS

sudo reboot

Git

Install Git by running

sudo apt-get install git-all

Python 3.10

First start by updating your Ubuntu VPS and it's repositories (this can take a while especially if you've chosen 1 GB RAM.

sudo apt update && sudo apt upgrade -y

Install the required dependency for adding custom PPAs

sudo apt install software-properties-common -y

Add deadsnakes PPA

sudo add-apt-repository ppa:deadsnakes/ppa

Install Python 3.10

sudo apt install python3.10

Verify by running

python3 --version

If the output was Python 3.10.x then Python is installed correctly

PM2

Install npm by doing

sudo apt install npm

Install pm2 by doing

sudo npm i -g pm2

Pip

Install Pip by doing

sudo apt install python3-pip

Pipenv

Install Pipenv by doing

sudo pip install pipenv

Cairosvg

Install Cairosvg by doing

sudo apt-get install libpangocairo-1.0-0

It is recommended to use PM2

Snap

You can find instructions on how to install Snap based on your distribution here.

PuTTY

Windows

Install PuTTY on Windows directly here.

Linux

Enable universe repository using:

sudo add-apt-repository universe

Install PuTTY using:

sudo apt install -y putty

You can open PuTTY by running putty on the terminal or you can manually search the application

Mac

Install XCode developer tools from the app store here and run these two commands.

xcodebuild -license
xcode-select --install

Install XQuartz from here.

Install PuTTY by running this command

sudo port install putty

Run putty by using putty

Termius

Windows and Mac

Install Termius directly here.

Linux

Install Termius by running the command below otherwise you can install the .deb package from here.

sudo snap install termius-app

Last updated