Linux environment installation Minio tutorial
1. Download server and client files
2. Create minio related directories
# 创建minio应用程序目录
mkdir -p /opt/minio/bin
# 创建minio数据目录
mkdir -p /opt/minio/data
# 创建minio日志目录
mkdir -p /opt/minio/logs
Put the two files downloaded in 1 into the /opt/minio/bin directory
3. Grant executable permissions to the server and client files
cd /opt/minio/bin
# 服务端的
chmod +x minio
# 客户端的
chmod +x mc
4. Set user name and password
# 设置用户名
export MINIO_ROOT_USER=myname
# 设置密码
export MINIO_ROOT_PASSWORD=mypassword
5. Start the minio service
MINIO_ROOT_USER=myname MINIO_ROOT_PASSWORD=mypassword nohup /opt/minio/bin/minio server /opt/minio/data --console-address ":9001" --address ":9000" > /opt/minio/logs/minio.log 2>&1 &
6. View minio version
cd /opt/minio/bin
./minio --version
7. Access the minio console
# 在浏览器输入服务器Ip + 端口号,然后输入4中设置的用户名和密码登录控制台
10.x.x.16:9001
Precautions
(a) If you don’t need the client, you don’t need to install it;
(b) 9001 in the tutorial is the console port, and 9000 is the service port.