docs repo: add instructions for Suse/OpenSuse
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
e54fd46a9e
commit
75278d64de
1 changed files with 32 additions and 1 deletions
33
docs/repo.md
33
docs/repo.md
|
@ -38,7 +38,9 @@ sudo apt install sftpgo
|
|||
|
||||
## 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:
|
||||
|
||||
|
@ -60,3 +62,32 @@ Start the SFTPGo service and enable it to start at system boot:
|
|||
sudo systemctl start 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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue