Repository navigation
Installing
Please make sure you've read over the System Requirements prior to beginning your installation.
Open an SSH session to each Pi-hole, and execute the following script.
curl -sSL https://gravity.vmstan.com | bashThe installer will validate that you have all the necessary components to use Gravity Sync, including an active Pi-hole deployment. It will also add a password-less sudo configuration file for the current user, if it is required.
Make sure you have run the installation script on both Pi-hole before starting the configuration.
If you do not have an existing configuration file, the installer will prompt to create one. It can also be run later by executing gravity-sync config. Each Gravity Sync install requires it's own unique configuration.
The configuration utility will guide you through the process of:
- Specifying the IP address of the remote Pi-hole instance.
- Specifying the SSH username to connect to your remote Pi-hole host.
- Creating a unique key and pairing it to your remote Pi-hole.
- Providing details about how each of your two Pi-hole are configured.
The configuration will be saved as gravity-sync.conf in /etc/gravity-sync. If you need to make adjustments to your settings in the future, you can edit this file or run the configuration tool to generate a new one.
After you're pleased with your configuration of both Gravity Sync instances, proceed to the Execution phase.