From 37f79650c885e155c77432159fa9149c8b89ad6b Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Thu, 9 Jun 2022 07:30:09 +0200 Subject: [PATCH] APT and YUM repo are now available This is possible thanks to the Oregon State University's free mirroring service Signed-off-by: Nicola Murino --- README.md | 2 ++ docs/repo.md | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 docs/repo.md diff --git a/README.md b/README.md index 9a4ec754..a8002597 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,8 @@ An official Docker image is available. Documentation is [here](./docker/README.m +APT and YUM repositories are [available](./docs/repo.md). + SFTPGo is also available on [AWS Marketplace](https://aws.amazon.com/marketplace/seller-profile?id=6e849ab8-70a6-47de-9a43-13c3fa849335) and [Azure Marketplace](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/prasselsrl1645470739547.sftpgo_linux), purchasing from there will help keep SFTPGo a long-term sustainable project.
Windows packages diff --git a/docs/repo.md b/docs/repo.md new file mode 100644 index 00000000..f0b76330 --- /dev/null +++ b/docs/repo.md @@ -0,0 +1,61 @@ +# SFTPGo repositories + +These repository are available through Oregon State University's free mirror service. Special thanks to Lance Albertson, Director of the Oregon State University Open Source Lab, who helped me with the initial setup. + +## APT repo + +Supported distributions: + +- Debian 10 "buster" +- Debian 11 "bullseye" + +Import the public key used by the package management system using the following command: + +```shell +curl -sS https://ftp.osuosl.org/pub/sftpgo/apt/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/sftpgo-archive-keyring.gpg +``` + +If you receive an error indicating that `gnupg` is not installed, you can install it using the following command: + +```shell +sudo apt install gnupg +``` + +Create the SFTPGo source list file: + +```shell +CODENAME=`lsb_release -c -s` +echo "deb [signed-by=/usr/share/keyrings/sftpgo-archive-keyring.gpg] https://ftp.osuosl.org/pub/sftpgo/apt ${CODENAME} main" | sudo tee /etc/apt/sources.list.d/sftpgo.list +``` + +Reload the package database and install SFTPGo: + +```shell +sudo apt update +sudo apt install sftpgo +``` + +## YUM repo + +The YUM repository supports generic Red Hat based distributions. + +Create the SFTPGo repository using the following command: + +```shell +ARCH=`uname -m` +curl -sS https://ftp.osuosl.org/pub/sftpgo/yum/${ARCH}/sftpgo.repo | sudo tee /etc/yum.repos.d/sftpgo.repo +``` + +Reload the package database and install SFTPGo: + +```shell +sudo yum update +sudo yum install sftpgo +``` + +Start the SFTPGo service and enable it to start at system boot: + +```shell +sudo systemctl start sftpgo +sudo systemctl enable sftpgo +```