docs repo: add instructions for Suse/OpenSuse

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2023-09-14 19:41:48 +02:00
parent e54fd46a9e
commit 75278d64de
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF

View file

@ -38,7 +38,9 @@ sudo apt install sftpgo
## YUM repo ## YUM repo
The YUM repository supports generic Red Hat based distributions. The YUM repository can be used on generic Red Hat based distributions as well as on Suse/OpenSuse.
### Red Hat based distributions
Create the SFTPGo repository: Create the SFTPGo repository:
@ -60,3 +62,32 @@ Start the SFTPGo service and enable it to start at system boot:
sudo systemctl start sftpgo sudo systemctl start sftpgo
sudo systemctl enable sftpgo sudo systemctl enable sftpgo
``` ```
### Suse/OpenSUSE
Import the public key used by the package management system:
```shell
sudo rpm --import https://ftp.osuosl.org/pub/sftpgo/apt/gpg.key
```
Add the SFTPGo repository:
```shell
ARCH=`uname -m`
sudo zypper addrepo "https://ftp.osuosl.org/pub/sftpgo/yum/${ARCH}" sftpgo
```
Reload the package database and install SFTPGo:
```shell
sudo zypper refresh
sudo zypper install sftpgo
```
Start the SFTPGo service and enable it to start at system boot:
```shell
sudo systemctl start sftpgo
sudo systemctl enable sftpgo
```