安装
快速上手安装 Pigsty
快速上手
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
)
./configure
Install everything according to your config:
./install.yml
Pigsty Installed! Explore the User Interface, check port 5432
for Postgres Service, port 3000
for Grafana dashboards (admin
/ pigsty
).
下一步?
安装
单节点安装
标准单机安装,在一台 Linux 服务器上从零开始部署一切组件。
多节点安装
使用更多节点打造真高可用部署,使用本地软件仓库确保版本一致性。
离线安装
在没有互联网的环境中,从离线安装包安装所有组件
精简安装
只安装高可用 Postgres 集群,不带监控
准备
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