# Installation

> Getting started with Pigsty
---

## Quick Start

[**Quick start**](/docs/install/start): [Prepare](/docs/prepare) an [ssh-accessible](/docs/prepare/admin#check-accessibility) [node](/docs/prepare/hardware#node) with fresh installed [Linux](/docs/prepare/linux),
 run as [user](/docs/prepare/admin#user) with nopass [`ssh`](/docs/prepare/admin#ssh) and [`sudo`](/docs/prepare/admin#sudo-privileges) privileges:


### Step 1

[**Download**](/docs/prepare/software#pigsty) pigsty with:

```bash
curl -fsSL https://repo.pigsty.io/get | bash -s v3.7.0; cd ~/pigsty;
```


### Step 2
[**Configure**](/docs/config/configure) the [inventory](/docs/config/inventory) file according to your need. (<span class="text-red-500 font-black">CHANGE PASSWORDS</span> in the generated [`pigsty.yml`](/docs/config/inventory))

```bash
./configure
```

### Step 3

[**Install**](/docs/install/start) everything according to your config:

```bash
./install.yml
```





Pigsty Installed!  Explore the [**User Interface**](/docs/install/interface), check port `5432` for [Postgres](/docs/pgsql) [Service](/docs/pgsql/service), port `3000` for [Grafana](/docs/install/interface#grafana) dashboards (`admin` / `pigsty`).



--------

## What's Next?

- [Access Postgres Service](/docs/install/interface#postgresql)
- [Explore Grafana Dashboards](/docs/install/interface#grafana)
- [Create Biz Database](/docs/pgsql/db#create-database) and [User](/docs/pgsql/user#create-user)
- [Adding more nodes for real HA](/docs/install/multinode)
- [Get more PostgreSQL Extensions](/docs/pgsql/extension)


--------

## 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






--------

## Reference



**Interface**


        Provision cloud linux servers with terraform on cloud vendors




**Configure**


        Describe the infra and clusters with declarative configs




**Playbook**


        Check compatible linux distributions and availability matrix




**Security**


        Security hardening and best practices for production environments

---

Section pages:

- [Quick Start](/docs/install/start/): how to install pigsty on your linux machine?
- [User Interface](/docs/install/interface/): Explore dashboard and access database service
- [Multi-Node](/docs/install/multinode/): how to install pigsty on multiple nodes
- [Offline Install](/docs/install/offline/): install pigsty without Internet access?
- [Minimal Install](/docs/install/minimal/): install Postgres with minimal dependencies
- [Video Demo](/docs/install/demo/): Install process video tutorial
