Installing dependencies

Before using modmail you have to install some prerequisites.

On your computer

Putty

Windows

Install PuTTY on Windows directly from herearrow-up-right.

Linux

circle-exclamation

Enable the universe repository using:

sudo add-apt-repository universe

Install PuTTY by using:

sudo apt install -y putty

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

Mac

circle-exclamation

Install XCode developer tools from the app store herearrow-up-right and run these two commands.

xcodebuild -license

Install XQuartz from herearrow-up-right.

Install PuTTY by running this command

Run putty by using putty

Termius

Windows and Mac

Install Termius directly from herearrow-up-right for Windows or herearrow-up-right for Mac.

Linux

Install Termius by running the command below otherwise you can install the .deb package from herearrow-up-right if you are on a debian-based distro (Ubuntu, Debian, Linux Mint, etc).

circle-info

If you don't have Snap installed, you can find instructions on how to download it herearrow-up-right.

On your VPS

triangle-exclamation

Upgrading the system

It is necessary to update the system before proceeding.

Start by updating the repositories:

Then upgrade all packages:

circle-info

If "Pending kernel upgrade" or "Daemons using outdated libraries" appears, hit Enter.

Once apt has finished upgrading, reboot the VPS:

Wait ~1 minute for the reboot to finish then reconnect to your VPS.

Sometimes apt doesn't get upgraded. To avoid this, upgrade the system once more.

Then:

Pip and pipenv

Install pip by running:

Install pipenv by running:

PM2

circle-exclamation

Start by installing node.js and npm:

circle-info

npm depends on a considerable amount of packages. Expect this to take some time.

Install pm2 by running:

libcairosvg

Install libcairosvg by running:

Last updated