How to Install changedetection.io on Linux Mint

This tutorial will guide you through the process of installing changedetection.io on Linux Mint, a free and open-source operating system based on Ubuntu.

Prerequisites

Before starting, you will need to:

  • Have a Linux Mint machine with access to the internet
  • Have a GitHub account
  • Have basic knowledge of Linux commands

Step 1: Install Required Packages

To get started, open up a terminal window and update your package list using the following command:

sudo apt update

Next, install the required packages:

sudo apt install -y git docker-compose

Step 2: Clone the Repository

Clone the changedetection.io repository from GitHub:

git clone https://github.com/dgtlmoon/changedetection.io.git

Step 3: Configure your .env File

Navigate to the changedetection.io directory by running:

cd changedetection.io

Rename the .env.template file to .env:

mv .env.template .env

Open the .env file using your favorite text editor and configure the settings:

nano .env

Update the following settings:

  • CDIO_DOMAIN: Set this to localhost if you're running the site locally or to your public domain if you're hosting the site online.
  • CDIO_DB_PASSWORD: Set a secure password for your database. Make a note of this password for later.
  • CDIO_SECRET_KEY: Set a secure password. Make a note of this password for later.

Save and close the file.

Step 4: Launch the Site

Run the following command to build and launch the site:

docker-compose up --build

The first time you run this command, it will take a while to download and build the necessary images. Once the build is complete, the site will be accessible from your browser at http://localhost.

If you need to stop the site, press Ctrl+C. To start the site back up, rerun the docker-compose up command.

Congratulations, you have successfully installed changedetection.io on Linux Mint!

Conclusion

In this tutorial, you learned how to install changedetection.io on Linux Mint. By following these steps, you should now have a running instance of the site that you can use to monitor websites for changes.