在Debian系统上安装MinIO的步骤如下:
更新系统包列表
sudo apt update
安装Snapd(如果尚未安装)
sudo apt install snapd
启用Snap商店
sudo snap refresh
sudo snap set system refresh.hold='forever'
通过Snap商店安装MinIO
sudo snap install minio --classic
启动MinIO服务
sudo systemctl start minio
设置MinIO服务开机自启
sudo systemctl enable minio
验证安装
打开浏览器,访问 http://<your-server-ip>:9000,应该能看到MinIO的Web界面。
导入MinIO的GPG密钥
wget -qO - https://dl.min.io/server/minio/release/linux/debian/minio.gpg.key | sudo apt-key add -
添加MinIO的APT仓库
sudo add-apt-repository 'deb https://dl.min.io/server/minio/release/linux/debian/ bullseye main'
更新系统包列表
sudo apt update
安装MinIO
sudo apt install minio
启动MinIO服务
sudo systemctl start minio
设置MinIO服务开机自启
sudo systemctl enable minio
验证安装
打开浏览器,访问 http://<your-server-ip>:9000,应该能看到MinIO的Web界面。
/etc/minio/minio.conf。你可以根据需要编辑此文件。export MINIO_ACCESS_KEY=your-access-key
export MINIO_SECRET_KEY=your-secret-key
通过以上步骤,你应该能够在Debian系统上成功安装并运行MinIO。