mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
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 <nicola.murino@gmail.com>
This commit is contained in:
parent
560e7f316a
commit
75efaa9741
2 changed files with 63 additions and 0 deletions
|
@ -93,6 +93,8 @@ An official Docker image is available. Documentation is [here](./docker/README.m
|
|||
|
||||
</details>
|
||||
|
||||
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.
|
||||
|
||||
<details><summary>Windows packages</summary>
|
||||
|
|
61
docs/repo.md
Normal file
61
docs/repo.md
Normal file
|
@ -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
|
||||
```
|
Loading…
Reference in a new issue