mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 15:40:23 +00:00
0b9a96ec6b
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
1.5 KiB
1.5 KiB
SFTPGo repositories
These repositories are available through Oregon State University's free mirroring 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:
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:
sudo apt install gnupg
Create the SFTPGo source list file:
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:
sudo apt update
sudo apt install sftpgo
YUM repo
The YUM repository supports generic Red Hat based distributions.
Create the SFTPGo repository:
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:
sudo yum update
sudo yum install sftpgo
Start the SFTPGo service and enable it to start at system boot:
sudo systemctl start sftpgo
sudo systemctl enable sftpgo