mirror of
https://github.com/minio/docs.git
synced 2025-11-09 02:22:17 +03:00
Docs have moved from min.io/docs to docs.min.io/commuinity. This fixes hard, external links to use the new subdomain. Note that some of these files are automatically pulled from elsewhere as part of the build process, so some may not carry through even after this PR merges.
95 lines
3.0 KiB
ReStructuredText
95 lines
3.0 KiB
ReStructuredText
1) Download the MinIO Server
|
|
----------------------------
|
|
|
|
The following tabs provide examples of installing MinIO onto 64-bit Linux operating systems using RPM, DEB, or binary.
|
|
The RPM and DEB packages automatically install MinIO to the necessary system paths and create a ``minio`` service for ``systemctl``.
|
|
MinIO strongly recommends using the RPM or DEB installation routes.
|
|
To update deployments managed using ``systemctl``, see :ref:`minio-upgrade-systemctl`.
|
|
|
|
.. tab-set::
|
|
|
|
.. tab-item:: RPM (RHEL)
|
|
:sync: rpm
|
|
|
|
Use the following commands to download the latest stable MinIO RPM and
|
|
install it.
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
:substitutions:
|
|
|
|
wget |minio-rpm| -O minio.rpm
|
|
sudo dnf install minio.rpm
|
|
|
|
.. tab-item:: DEB (Debian/Ubuntu)
|
|
:sync: deb
|
|
|
|
Use the following commands to download the latest stable MinIO DEB and
|
|
install it:
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
:substitutions:
|
|
|
|
wget |minio-deb| -O minio.deb
|
|
sudo dpkg -i minio.deb
|
|
|
|
.. tab-item:: Binary
|
|
:sync: binary
|
|
|
|
Use the following commands to download the latest stable MinIO binary and
|
|
install it to the system ``$PATH``:
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
wget https://dl.min.io/server/minio/release/linux-amd64/minio
|
|
chmod +x minio
|
|
sudo mv minio /usr/local/bin/
|
|
|
|
2) Run the MinIO Server
|
|
-----------------------
|
|
|
|
Run the :mc-cmd:`minio server` command to start the MinIO server.
|
|
Specify the path to the volume or folder to use as the storage directory.
|
|
The :mc-cmd:`minio` process must have full access (``rwx``) to the specified path and all subfolders:
|
|
|
|
The following example uses the ``~/minio-data`` folder:
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
mkdir ~/minio-data
|
|
minio server ~/minio-data --console-address ":9001"
|
|
|
|
|
|
The :mc:`minio server` process prints its output to the system console, similar
|
|
to the following:
|
|
|
|
.. code-block:: shell
|
|
|
|
API: http://192.0.2.10:9000 http://127.0.0.1:9000
|
|
RootUser: minioadmin
|
|
RootPass: minioadmin
|
|
|
|
Console: http://192.0.2.10:9001 http://127.0.0.1:9001
|
|
RootUser: minioadmin
|
|
RootPass: minioadmin
|
|
|
|
Command-line: https://docs.min.io/community/minio-object-store/reference/minio-mc.html
|
|
$ mc alias set myminio http://192.0.2.10:9000 minioadmin minioadmin
|
|
|
|
Documentation: https://docs.min.io/community/minio-object-store/index.html
|
|
|
|
WARNING: Detected default credentials 'minioadmin:minioadmin', we recommend that you change these values with 'MINIO_ROOT_USER' and 'MINIO_ROOT_PASSWORD' environment variables
|
|
|
|
Open your browser to any of the listed :guilabel:`Console` addresses to open the
|
|
:ref:`MinIO Console <minio-console>` and log in with the :guilabel:`RootUser`
|
|
and :guilabel:`RootPass`.
|
|
|
|
For applications, use the :guilabel:`API` addresses to access the MinIO
|
|
server and perform S3 operations.
|
|
|
|
The following steps are optional but recommended for further securing the
|
|
MinIO deployment.
|