Complete Guide to Deploying MinIO Object Storage Services on CentOS Systems
This article will guide you on how to quickly deploy and configure MinIO object storage services on a CentOS server. We will cover all steps from installation to client configuration.
Step 1: Install the MinIO server
First, download the MinIO server binary:
wget https://dl.min.io/server/minio/release/linux-amd64/minio chmod x minio sudo mv minio /usr/local/bin/
Step 2: Create a data storage directory
MinIO requires a directory to store data. Create and set permissions:
sudo mkdir -p /data sudo chown $(whoami):$(whoami) /data
Step 3: Start the MinIO server
Use the following command to start the MinIO server, replace /data
with your data directory and set the access key:
minio server /data --console-address ":9001"
/data
specifies the data storage location, --console-address ":9001"
enables the MinIO web console, and the port is 9001.
Step 4: Configure the firewall (if applicable)
If your server has firewall enabled, make sure to allow access to port 9001:
sudo firewall-cmd --permanent --zone=public --add-port=9001/tcp sudo firewall-cmd --reload
Step 5: Access the MinIO Web Console
Visit http://:9001
in your browser to access the MinIO web console.
Step 6: Install and configure MinIO client (mc)
Download and install the MinIO client mc
:
wget https://dl.min.io/client/mc/release/linux-amd64/mc chmod x mc sudo mv mc /usr/local/bin/
Configure the mc
client to connect to your MinIO server:
mc alias set myminio http://<your server ip address>:9001 ACCESS_KEY SECRET_KEY</your>
Please replace ,
ACCESS_KEY
and SECRET_KEY
with your actual values. ACCESS_KEY
and SECRET_KEY
are keys that you automatically generate when starting the MinIO server and can be viewed in the MinIO console. myminio
is a custom alias for easy subsequent use.
Step 7: Use MinIO client to manage buckets and objects
Now you can manage buckets and objects using the mc
client:
# Create bucket mc mb myminio/mybucket # List all buckets mc ls myminio # Upload file mc cp /path/to/your/file myminio/mybucket/ # Download the file mc cp myminio/mybucket/yourfile/path/to/download/location
Please replace /path/to/your/file
and /path/to/download/location
as your actual file paths.
After completing the above steps, you have successfully deployed and configured the MinIO object storage service on the CentOS server. You can manage your data through the MinIO web console or the mc
client.
The above is the detailed content of How to deploy miniio in centos. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The latest version of Binance is v2.102.5, and the update tutorial is: 1. Click the download link in the web page; 2. Authorize the installation permission of "Allow installation from unknown sources"; 3. Find the downloaded APk and click to install; 4. Click the installed application to open it.

The latest version of Binance is v2.102.5, and the update tutorial is: 1. Click the download link in the web page; 2. Authorize the installation permission of "Allow installation from unknown sources"; 3. Find the downloaded APk and click to install; 4. Click the installed application to open it.

The latest version of Binance is v2.102.5, and the update tutorial is: 1. Click the download link in the web page; 2. Authorize the installation permission of "Allow installation from unknown sources"; 3. Find the downloaded APk and click to install; 4. Click the installed application to open it.

How to conduct BTC transactions through Binance App? The answers are as follows: 1. Download and install the Binance App, complete registration and identity verification, and recharge funds; 2. Open the App to search for BTC, select trading pairs such as BTC/USDT, and be familiar with price charts and entrustment types; 3. Choose Buy or Sell, set limit orders or market orders and submit an order; 4. Check the order status on the entrustment page, view records through historical orders, and manage digital assets on the asset page.

The Virtual Currency Exchange APP is a professional digital asset trading application, providing users with safe and convenient digital currency trading services. The new v6.129.0 version has upgraded the performance and operation experience, aiming to bring a smoother trading experience.

The latest version of Binance is 2.101.8, and the update tutorial is: 1. Click the download link in the web page; 2. Authorize the installation permission of "Allow installation from unknown sources"; 3. Find the downloaded APk and click to install; 4. Click the installed application to open it.

The latest version of Binance is 2.101.8, and the update tutorial is: 1. Click the download link in the web page; 2. Authorize the installation permission of "Allow installation from unknown sources"; 3. Find the downloaded APk and click to install; 4. Click the installed application to open it.

The latest version of Binance is v2.102.5, and the update tutorial is: 1. Click the download link in the web page; 2. Authorize the installation permission of "Allow installation from unknown sources"; 3. Find the downloaded APk and click to install; 4. Click the installed application to open it.
