Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pgsty/pkg
Pigsty RPM & DEB Packages & Repositories
https://github.com/pgsty/pkg
deb infra pgsql pigsty rpm
Last synced: 27 days ago
JSON representation
Pigsty RPM & DEB Packages & Repositories
- Host: GitHub
- URL: https://github.com/pgsty/pkg
- Owner: pgsty
- License: apache-2.0
- Created: 2024-07-27T17:17:35.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-27T11:28:26.000Z (about 1 month ago)
- Last Synced: 2024-09-28T18:06:21.748Z (about 1 month ago)
- Topics: deb, infra, pgsql, pigsty, rpm
- Language: Makefile
- Homepage: https://pigsty.io
- Size: 35.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pigsty Package Repo
The supplementary [apt](apt/) and [yum](yum/) software repo for PostgreSQL ecosystem used by [Pigsty](https://pigsty.io)
Related Projects:
- [`infra_pkg`](https://github.com/pgsty/infra-pkg): Building observability stack & modules from tarball
- [`pgsql-rpm`](https://github.com/pgsty/pgsql-rpm): Building PostgreSQL RPM packages from source code
- [`pgsql-deb`](https://github.com/pgsty/pgsql-deb): Building PostgreSQL DEB packages from source code--------
## Pigsty
You can install pigsty source from this repo, via:
```bash
# install the latest pigsty version
curl -fsSL https://repo.pigsty.io/get | bash# install a specific version
curl -fsSL https://repo.pigsty.io/get | bash -s v3.0.1# install from china CDN mirror
curl -fsSL https://repo.pigsty.cc/get | bash
```--------
## YUM Repo
Pigsty currently offers a supplementary PG extension repository for EL systems, providing **121** additional RPM plugins in addition to the official PGDG YUM repository (135).
- Pigsty YUM Repository: https://repo.pigsty.io/yum/
- PGDG YUM Repository: https://download.postgresql.org/pub/repos/yum/The Pigsty YUM repository only includes extensions **not present in the PGDG YUM repository**.
Once an extension is added to the PGDG YUM repository, Pigsty YUM repository will either remove it or align with the PGDG repository.For EL 7/8/9 and compatible systems, use the following commands to add the GPG public key and the upstream repository file of the Pigsty repository:
```bash
curl -fsSL https://repo.pigsty.io/key | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-pigsty >/dev/null # add gpg key
curl -fsSL https://repo.pigsty.io/yum/repo | sudo tee /etc/yum.repos.d/pigsty.repo >/dev/null # add repo file
```All RPMs are signed with the GPG key fingerprint `9592A7BC7A682E7333376E09E7935D8DB9BD8B20` (`B9BD8B20`).
Write Repo File Manually
```bash
sudo tee /etc/yum.repos.d/pigsty-io.repo > /dev/null <<-'EOF'
[pigsty-infra]
name=Pigsty Infra for $basearch
baseurl=https://repo.pigsty.io/yum/infra/$basearch
skip_if_unavailable = 1
enabled = 1
priority = 1
gpgcheck = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-pigsty
module_hotfixes=1[pigsty-pgsql]
name=Pigsty PGSQL For el$releasever.$basearch
baseurl=https://repo.pigsty.io/yum/pgsql/el$releasever.$basearch
skip_if_unavailable = 1
enabled = 1
priority = 1
gpgcheck = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-pigsty
module_hotfixes=1
EOF
sudo yum makecache;
```--------
## APT Repo
Pigsty currently offers a supplementary PG extension repository for Debian/Ubuntu systems, providing **133** additional DEB packages in addition to the official PGDG APT repository (109).
- Pigsty APT Repository: https://repo.pigsty.io/apt/
- PGDG APT Repository: http://apt.postgresql.org/pub/repos/apt/The Pigsty APT repository only includes extensions **not present in the PGDG APT repository**.
Once an extension is added to the PGDG APT repository, Pigsty APT repository will either remove it or align with the PGDG repository.For Debian/Ubuntu and compatible systems, use the following commands to sequentially add the GPG public key and the upstream repository file of the Pigsty repository:
```bash
# add GPG key to keyring
curl -fsSL https://repo.pigsty.io/key | sudo gpg --dearmor -o /etc/apt/keyrings/pigsty.gpg# get debian codename, distro_codename=jammy, focal, bullseye, bookworm
distro_codename=$(lsb_release -cs)
sudo tee /etc/apt/sources.list.d/pigsty-io.list > /dev/null <