Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 807bd80

Browse files
committed
Package installation added to "Installation and Setup"
1 parent 0fa7217 commit 807bd80

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,23 @@ Regardless of the chosen backup type, all backups taken with `pg_probackup` supp
4242
* Configuration files outside of PostgreSQL data directory are not included into the backup and should be backed up separately.
4343

4444
## Installation and Setup
45+
### Linux Installation
46+
```shell
47+
#DEB Ubuntu|Debian Packages
48+
echo "deb [arch=amd64] http://repo.postgrespro.ru/pg_probackup/deb/ $(lsb_release -cs) main-$(lsb_release -cs)" > /etc/apt/sources.list.d/pg_probackup.list
49+
wget -O - http://repo.postgrespro.ru/pg_probackup/keys/GPG-KEY-PG_PROBACKUP | apt-key add - && apt-get update
50+
apt-get install pg-probackup-(10|9.6|9.5)
51+
52+
#DEB-SRC Packages
53+
echo "deb-src [arch=amd64] http://repo.postgrespro.ru/pg_probackup/deb/ $(lsb_release -cs) main-$(lsb_release -cs)" >>\
54+
/etc/apt/sources.list.d/pg_probackup.list
55+
```
56+
57+
```shell
58+
#RPM Centos Packages
59+
rpm -ivh http://repo.postgrespro.ru/pg_probackup/keys/pg_probackup-repo-centos.noarch.rpm
60+
yum install -y pg_probackup-(10|9.6|9.5)
61+
```
4562

4663
To compile `pg_probackup`, you must have a PostgreSQL installation and raw source tree. To install `pg_probackup`, execute this in the module's directory:
4764

0 commit comments

Comments
 (0)