mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 06:40:54 +03:00
docs repo: add instructions for Suse/OpenSuse
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
33
docs/repo.md
33
docs/repo.md
@@ -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
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user