Line 13: |
Line 13: |
| Followed notes form here | | Followed notes form here |
| https://www.centosblog.com/install-configure-minio-object-storage-server-centos-linux/ | | https://www.centosblog.com/install-configure-minio-object-storage-server-centos-linux/ |
| + | |
| | | |
| Install Minio on Centos Linux | | Install Minio on Centos Linux |
| | | |
− | In this example, we’ll install Minio to /opt/minio, and will configure it to run as a (systemd) service.
| |
− | 1. Add a minio user
| |
− | useradd -s /sbin/nologin -d /opt/minio minio
| |
| | | |
− | 2. Set up directories
| + | In this example, we’ll install Minio to /opt/minio, and [won't] configure it to run as a (systemd) service. |
− | mkdir -p /opt/minio/bin
| + | |
− | mkdir /opt/minio/data # this will be your data partition
| + | Add a minio user [This is not the standard SME way but just for testing] |
| + | useradd -s /sbin/nologin -d /opt/minio minio |
| + | |
| + | Set up directories |
| + | mkdir -p /opt/minio/bin |
| + | mkdir /opt/minio/data # this will be your data partition |
| | | |
− | 3. Install minio server binary and set it to executable. In this example we use the Linux x64 binary.
| + | Install minio server binary and set it to executable. In this example we use the Linux x64 binary. |
− | wget https://dl.minio.io/server/minio/release/linux-amd64/minio -O /opt/minio/bin/minio
| + | wget https://dl.minio.io/server/minio/release/linux-amd64/minio -O /opt/minio/bin/minio |
− | chmod +x /opt/minio/bin/minio
| + | chmod +x /opt/minio/bin/minio |
| | | |
− | 4. Ensure all files are owned by minio in /opt/minio:
| + | Ensure all files are owned by minio in /opt/minio: |
− | chown -R minio:minio /opt/minio
| + | chown -R minio:minio /opt/minio |
| | | |
| | | |
Line 39: |
Line 42: |
| | | |
| /opt/minio/bin/minio server --address 1.2.3.4:9000 /opt/minio/data | | /opt/minio/bin/minio server --address 1.2.3.4:9000 /opt/minio/data |
| + | |
| | | |
| Note this only runs on http. It could run http but for EXTERNAL access it is recommended to run a revers proxy. You can then use SSL certs as well. | | Note this only runs on http. It could run http but for EXTERNAL access it is recommended to run a revers proxy. You can then use SSL certs as well. |