Installation
Getting started with Pigsty
Quick Start
Quick start: Prepare an ssh-accessible node with fresh installed Linux,
run as user with nopass ssh and sudo privileges:
Download pigsty with:
curl -fsSL https://repo.pigsty.io/get | bash; cd ~/pigsty;Configure the inventory file according to your need. (CHANGE PASSWORDS in the generated pigsty.yml)
./configureInstall everything according to your config:
./install.ymlPigsty Installed! Explore the User Interface, check port 5432 for Postgres Service, port 3000 for Grafana dashboards (admin / pigsty).
What's Next?
- Access Postgres Service
- Explore Grafana Dashboards
- Create Biz Database and User
- Adding more nodes for real HA
- Get more PostgreSQL Extensions
Installation
Get Started
Setup current linux node, and download everything from the Internet
Multi-Node Installation
Setup multiple nodes for real high-available production environment.
Offline Installation
Bootstrap from a local offline package when internet is not available.
Minimal Installation
Install essential packages for HA Postgres Cluster only, no monitoring.
Preparation
Prepare
Prepare node, network, storage, user, ssh, sudo, ansible, etc...
Linux OS
Check compatible linux distributions and availability matrix
Vagrant
Provision local linux virtual machines with vagrant / virtualbox
Terraform
Provision cloud linux servers with terraform on cloud vendors