You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bugungi raqamli landshaftda kengaytiriladigan va samarali storage solutiolariga bo'lgan ehtiyoj birinchi o'ringa chiqdi. Tashkilotlar borgan sari katta hajmdagi ma'lumotlarni ishlab chiqargan va boshqarayotganligi sababli, an'anaviy(traditional) storage systemlari ko'pincha zamonaviy applicationlar va workflowlar talablariga mos kelish uchun kurash olib boradi. Bu yerda bizga **Minio** keladi.
10
+
11
+
**Minio** - cloud-native va konteynerli environmentlar uchun yaratilgan open source, high-performance object storage serveridir. U ishlab developerlar va korxonalarga fotosuratlar, videolar, log fayllari, backuplar va boshqalar kabi tuzilmagan(unstructured) ma'lumotlarni saqlash va boshqarish uchun oddiy, ammo kuchli yechimni taqdim etadi. Minio-ni ajratib turadigan narsa uning **Amazon S3 API** bilan mosligi bo'lib, S3-compatible storagega tayanadigan mavjud applicationlar va ekotizimlarga integratsiyani osonlashtiradi.
12
+
13
+
Minio yordamida tashkilotlar o'zlarining private cloud storage infratuzilmasini yaratishi mumkin, ular public cloud providerlari bilan bir xil darajada kengaytirilishi, chidamliligi va ishonchliligini ta'minlaydi, lekin ularning ma'lumotlari va infratuzilmasi ustidan to'liq nazoratga ega. On-premise yoki cloudda foydalanishdan qat'i nazar, Minio foydalanuvchilarga o'ziga xos ishlash, xavfsizlik va muvofiqlik talablariga javob beradigan storage solutionlarini yaratish imkonini beradi.
14
+
15
+
Ushbu qo'llanmada biz Minio serverini o'rnatish va sozlash jarayonini o'rganamiz. Bu bilan siz Minio-ning salohiyatidan foydalanish va tashkilotingizning storage ehtiyojlarini qondirish uchun undan foydalanish uchun bilim va tajribaga ega bo'lasiz.
16
+
17
+
## Ishni boshlash
18
+
19
+
Ushbu amaliyotni amalga oshirish uchun bizga quyidagi minimum server talablaridagi server kerak bo'ladi. Xotira qancha ko'p va tezligi yuqori xotira bo'lsa shuncha yaxshi.
Ushbu qo'llanma biz **[Single-Node Single-Drive](https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-single-node-single-drive.html#minio-snsd)** o'rnatishdan foydalanmiz. Biz bitta nodeli bitta drayverli Minio o'rnatamiz.
39
+
40
+
41
+
**1->** Binary Minio Serverni yuklab olamiz va o'rnatamiz. Intel yoki AMD 64-bit protsessorida Linux bilan ishlaydigan server uchun MiniIO server o'rnatish faylini quyidagicha yuklab olamiz.
ExecStartPre=/bin/bash -c "if [ -z \"${MINIO_VOLUMES}\" ]; then echo \"Variable MINIO_VOLUMES not set in /etc/default/minio\"; exit 1; fi"
74
+
ExecStart=/usr/local/bin/minio server $MINIO_OPTS$MINIO_VOLUMES
75
+
76
+
# MinIO RELEASE.2023-05-04T21-44-30Z adds support for Type=notify (https://www.freedesktop.org/software/systemd/man/systemd.service.html#Type=)
77
+
# This may improve systemctl setups where other services use `After=minio.server`
78
+
# Uncomment the line to enable the functionality
79
+
# Type=notify
80
+
81
+
# Let systemd restart this service always
82
+
Restart=always
83
+
84
+
# Specifies the maximum file descriptor number that can be opened by this process
85
+
LimitNOFILE=65536
86
+
87
+
# Specifies the maximum number of threads this process can create
88
+
TasksMax=infinity
89
+
90
+
# Disable timeout logic and wait until process is stopped
91
+
TimeoutStopSec=infinity
92
+
SendSIGKILL=no
93
+
94
+
[Install]
95
+
WantedBy=multi-user.target
96
+
97
+
# Built for ${project.name}-${project.version} (${project.name})
98
+
```
99
+
100
+
**3->** Xavfsizlik yuzasidan minio uchun minio guruh va user ochib minio storage pathga ownerlik beramiz. Biz minio storage pathini **mnt/data**ga belgilab qo'yamiz.
101
+
102
+
```bash
103
+
groupadd -r minio-user
104
+
useradd -M -r -g minio-user minio-user
105
+
chown minio-user:minio-user /mnt/disk1 /mnt/data
106
+
```
107
+
108
+
**4->** Minio sozlash uchun minio config yaratib sozlab olamiz.
109
+
110
+
```bash
111
+
sudo nano /etc/default/minio
112
+
```
113
+
**minio** konfigimiz quyidagicha to'ldiramiz.
114
+
115
+
```bash
116
+
# MINIO_ROOT_USER and MINIO_ROOT_PASSWORD sets the root account for the MinIO server.
117
+
# This user has unrestricted permissions to perform S3 and administrative API operations on any resource in the deployment.
118
+
# Omit to use the default values 'minioadmin:minioadmin'.
119
+
# MinIO recommends setting non-default values as a best practice, regardless of environment
120
+
121
+
MINIO_ROOT_USER=myminioadmin
122
+
MINIO_ROOT_PASSWORD=miniooadmin234pr934
123
+
124
+
# MINIO_VOLUMES sets the storage volume or path to use for the MinIO server.
125
+
126
+
MINIO_VOLUMES="/mnt/data"
127
+
128
+
# MINIO_OPTS sets any additional commandline options to pass to the MinIO server.
129
+
# For example, `--console-address :9001` sets the MinIO Console listen port
130
+
MINIO_OPTS="--console-address :9001"
131
+
132
+
# MINIO_SERVER_URL sets the hostname of the local machine for use with the MinIO Server
133
+
# MinIO assumes your network control plane can correctly resolve this hostname to the local machine
134
+
135
+
# Uncomment the following line and replace the value with the correct hostname for the local machine and port for the MinIO server (9000 by default).
136
+
137
+
#MINIO_SERVER_URL="http://minio.example.net:9000"
138
+
```
139
+
140
+
Ushbu konfiguratsiyamizda minio admin user/parol va console-addres/minio-volume belgilab sozlaymiz.
0 commit comments