Deploying to Linode
Prerequisites
- A Linode account.
Linode Installation
We have a Linode StackScript available, which deploys and installs PostHog on any Linode running Ubuntu/Debian.
- Visit your Linode Dashboard and navigate to StackScripts.
- Click
Create New StackScript
. - You may assign it any label (e.g.
PostHog
). - Under
Target Images
you may select any version of Ubuntu or Debian (although we recommend using Ubuntu 20.04 LTS). - Copy the contents of our StackScript.sh into
Script
. - Click
Save
. - Click on your newly created PostHog StackScript and click
Deploy New Linode
. - Once your Linode is created, you should be able to visit the server address in a web browser and see a working PostHog instance.
Updating your PostHog
- Open your Linode dashboard.
- Navigate to your PostHog installation and click Launch Console.
- Once launched, enter your login information which may be as user:
root
. -
Run the PostHog StackScript in your home
~
directory../StackScript
- Exit Console and your instance should be updated to the latest PostHog release.