1
0
mirror of https://github.com/minio/docs.git synced 2025-07-30 07:03:26 +03:00

Use 9001 as the default console address port (#1081)

As state in
https://github.com/minio/minio/pull/18561#issuecomment-1833303435 ,
consistent use 9001 as the console port, to avoid confusion for new
users.
This commit is contained in:
jingsam
2023-12-26 23:20:14 +08:00
committed by GitHub
parent 2acf572489
commit d97d63ae90
37 changed files with 92 additions and 92 deletions

View File

@ -71,7 +71,7 @@ The instructions include examples for both quay.io and DockerHub:
.. tab-item:: MinIO Web Console
You can access the MinIO Web Console by entering http://localhost:9090 in your preferred browser.
You can access the MinIO Web Console by entering http://localhost:9001 in your preferred browser.
Any traffic to the MinIO Console port on the local host redirects to the container.
Log in with the :envvar:`MINIO_ROOT_USER` and :envvar:`MINIO_ROOT_PASSWORD` configured in the environment file specified to the container.

View File

@ -11,7 +11,7 @@ The commands in this section create the following resources:
:substitutions:
sudo podman pod create \
-p 9000:9000 -p 9090:9090 -p 7373:7373 \
-p 9000:9000 -p 9001:9001 -p 7373:7373 \
-v |kescertpath|:/certs \
-v |miniodatapath|:/mnt/minio \
-v |kesconfigpath|:/etc/default/ \
@ -33,7 +33,7 @@ The commands in this section create the following resources:
--pod "|namespace|" \
-e "MINIO_CONFIG_ENV_FILE=/etc/default/minio" \
quay.io/minio/minio:|minio-latest| server \
--console-address ":9090"
--console-address ":9001"
You can verify the status of the containers using the following commands:

View File

@ -50,11 +50,11 @@ Procedure
podman run \
-p 9000:9000 \
-p 9090:9090 \
-p 9001:9001 \
-v ~/minio/data:/data \
-e "MINIO_ROOT_USER=ROOTNAME" \
-e "MINIO_ROOT_PASSWORD=CHANGEME123" \
quay.io/minio/minio server /data --console-address ":9090"
quay.io/minio/minio server /data --console-address ":9001"
The example above works this way:
@ -75,11 +75,11 @@ Procedure
podman run \
-p 9000:9000 \
-p 9090:9090 \
-p 9001:9001 \
-v D:\minio\data:/data \
-e "MINIO_ROOT_USER=ROOTNAME" \
-e "MINIO_ROOT_PASSWORD=CHANGEME123" \
quay.io/minio/minio server /data --console-address ":9090"
quay.io/minio/minio server /data --console-address ":9001"
The example above works this way:
@ -106,12 +106,12 @@ Procedure
docker run \
-p 9000:9000 \
-p 9090:9090 \
-p 9001:9001 \
--name minio \
-v ~/minio/data:/data \
-e "MINIO_ROOT_USER=ROOTNAME" \
-e "MINIO_ROOT_PASSWORD=CHANGEME123" \
quay.io/minio/minio server /data --console-address ":9090"
quay.io/minio/minio server /data --console-address ":9001"
The example above works this way:
@ -133,12 +133,12 @@ Procedure
docker run \
-p 9000:9000 \
-p 9090:9090 \
-p 9001:9001 \
--name minio1 \
-v D:\minio\data:/data \
-e "MINIO_ROOT_USER=ROOTUSER" \
-e "MINIO_ROOT_PASSWORD=CHANGEME123" \
quay.io/minio/minio server /data --console-address ":9090"
quay.io/minio/minio server /data --console-address ":9001"
The example above works this way:
@ -165,13 +165,13 @@ Procedure
docker run \
-p 9000:9000 \
-p 9090:9090 \
-p 9001:9001 \
--user $(id -u):$(id -g) \
--name minio1 \
-e "MINIO_ROOT_USER=ROOTUSER" \
-e "MINIO_ROOT_PASSWORD=CHANGEME123" \
-v ${HOME}/minio/data:/data \
quay.io/minio/minio server /data --console-address ":9090"
quay.io/minio/minio server /data --console-address ":9001"
The example above works this way:
@ -198,13 +198,13 @@ Procedure
docker run \
-p 9000:9000 \
-p 9090:9090 \
-p 9001:9001 \
--name minio1 \
--security-opt "credentialspec=file://path/to/file.json"
-e "MINIO_ROOT_USER=ROOTUSER" \
-e "MINIO_ROOT_PASSWORD=CHANGEME123" \
-v D:\data:/data \
quay.io/minio/minio server /data --console-address ":9090"
quay.io/minio/minio server /data --console-address ":9001"
The example above works this way:
@ -222,7 +222,7 @@ Procedure
#. Connect your Browser to the MinIO Server
Access the :ref:`minio-console` by going to a browser and going to ``http://127.0.0.1:9000`` or one of the Console addresses specified in the :mc:`minio server` command's output.
For example, :guilabel:`Console: http://192.0.2.10:9090 http://127.0.0.1:9090` in the example output indicates two possible addresses to use for connecting to the Console.
For example, :guilabel:`Console: http://192.0.2.10:9001 http://127.0.0.1:9001` in the example output indicates two possible addresses to use for connecting to the Console.
While port ``9000`` is used for connecting to the API, MinIO automatically redirects browser access to the MinIO Console.

View File

@ -1,6 +1,6 @@
.. |KEYCLOAK_URL| replace:: localhost:8080
.. |MINIO_S3_URL| replace:: localhost:9000
.. |MINIO_CONSOLE_URL| replace:: localhost:9090
.. |MINIO_CONSOLE_URL| replace:: localhost:9001
1) Create the Podman Pod
~~~~~~~~~~~~~~~~~~~~~~~~
@ -12,7 +12,7 @@ This ensures both containers can communicate normally.
:class: copyable
podman pod create \
-p 9000:9000 -p 9090:9090 -p 8080:8080 \
-p 9000:9000 -p 9001:9001 -p 8080:8080 \
-v ~/minio-keycloak/minio:/mnt/minio \
-n minio-keycloak
@ -81,9 +81,9 @@ The following command starts the MinIO Container and attaches it to the ``minio-
podman run -dt \
--name minio-server \
--pod minio-keycloak \
quay.io/minio/minio:RELEASE.2023-02-22T18-23-45Z server /mnt/data --console-address :9090
quay.io/minio/minio:RELEASE.2023-02-22T18-23-45Z server /mnt/data --console-address :9001
Go to ``localhost:9090`` to access the MinIO Console.
Go to ``localhost:9001`` to access the MinIO Console.
Log in using the default credentials ``minioadmin:minioadmin``.
7) Configure MinIO for Keycloak Authentication

View File

@ -107,7 +107,7 @@ You can use either the MinIO Console or the MinIO :mc:`mc` CLI to enable bucket-
.. tab-item:: MinIO Console
Open the MinIO Console by navigating to http://127.0.0.1:9090 in your preferred browser and logging in with the root credentials specified to the MinIO container.
Open the MinIO Console by navigating to http://127.0.0.1:9001 in your preferred browser and logging in with the root credentials specified to the MinIO container.
Once logged in, create a new Bucket and name it to your preference.
Select the Gear :octicon:`gear` icon to open the management view.

View File

@ -91,7 +91,7 @@ You can use either the MinIO Console or the MinIO :mc:`mc` CLI to enable bucket-
.. tab-item:: MinIO Console
Open the MinIO Console by navigating to http://127.0.0.1:9090 in your preferred browser and logging in with the root credentials specified to the MinIO container.
Open the MinIO Console by navigating to http://127.0.0.1:9001 in your preferred browser and logging in with the root credentials specified to the MinIO container.
Once logged in, create a new Bucket and name it to your preference.
Select the Gear :octicon:`gear` icon to open the management view.

View File

@ -94,7 +94,7 @@ You can use either the MinIO Console or the MinIO :mc:`mc` CLI to enable bucket-
.. tab-item:: MinIO Console
Open the MinIO Console by navigating to http://127.0.0.1:9090 in your preferred browser and logging in with the root credentials specified to the MinIO container.
Open the MinIO Console by navigating to http://127.0.0.1:9001 in your preferred browser and logging in with the root credentials specified to the MinIO container.
Once logged in, create a new Bucket and name it to your preference.
Select the Gear :octicon:`gear` icon to open the management view.

View File

@ -94,7 +94,7 @@ You can use either the MinIO Console or the MinIO :mc:`mc` CLI to enable bucket-
.. tab-item:: MinIO Console
Open the MinIO Console by navigating to http://127.0.0.1:9090 in your preferred browser and logging in with the root credentials specified to the MinIO container.
Open the MinIO Console by navigating to http://127.0.0.1:9001 in your preferred browser and logging in with the root credentials specified to the MinIO container.
Once logged in, create a new Bucket and name it to your preference.
Select the Gear :octicon:`gear` icon to open the management view.

View File

@ -27,7 +27,7 @@ Select the container management interface of your choice for the relevant comman
:class: copyable
podman run -dt \
-p 9000:9000 -p 9090:9090 \
-p 9000:9000 -p 9001:9001 \
-v PATH1:/data-1 \
-v PATH2:/data-2 \
-v PATH3:/data-3 \
@ -35,7 +35,7 @@ Select the container management interface of your choice for the relevant comman
-v /etc/default/minio:/etc/config.env \
-e "MINIO_CONFIG_ENV_FILE=/etc/config.env" \
--name "minio_local" \
minio server --console-address ":9090"
minio server --console-address ":9001"
Specify any other :podman-docs:`options <markdown/podman-run.1.html>` to ``podman run`` as necessary for your local environment.
@ -47,7 +47,7 @@ Select the container management interface of your choice for the relevant comman
:class: copyable
docker run -dt \
-p 9000:9000 -p 9090:9090 \
-p 9000:9000 -p 9001:9001 \
-v PATH1:/data-1 \
-v PATH2:/data-2 \
-v PATH3:/data-3 \
@ -55,7 +55,7 @@ Select the container management interface of your choice for the relevant comman
-v /etc/default/minio:/etc/config.env \
-e "MINIO_CONFIG_ENV_FILE=/etc/config.env" \
--name "minio_local" \
minio server --console-address ":9090"
minio server --console-address ":9001"
Specify any other `options <https://docs.docker.com/engine/reference/commandline/run/>`__ to ``docker run`` as necessary for your local environment.
@ -83,7 +83,7 @@ The following table describes each line of the command and provides additional c
- Directs Podman/Docker to create and start the container as a detached (``-d``) background process with a pseudo-TTY (``-t``).
This allows the container to run in the background with an open TTY for bash-like access.
* - ``-p 9000:9000 -p 9090:9090``
* - ``-p 9000:9000 -p 9001:9001``
- Binds the ports ``9000`` and ``9090`` on the local machine to the same ports on the container.
This allows access to the container through the local machine.
@ -114,9 +114,9 @@ The following table describes each line of the command and provides additional c
Omit this value to allow Podman/Docker to automatically generate a container name.
You can replace this value to best reflect your requirements.
* - ``minio server --console-address ":9090"``
* - ``minio server --console-address ":9001"``
- Starts the MinIO server using the ``minio:minio`` image pulled from an earlier step.
The :mc-cmd:`minio server --console-address ":9090" <minio server --console-address>` option directs the server to set a static port for the MinIO Console Web Interface.
The :mc-cmd:`minio server --console-address ":9001" <minio server --console-address>` option directs the server to set a static port for the MinIO Console Web Interface.
This option is *required* for containerized environments.
If you modify this value, ensure you set the proper port mapping using the ``-p`` flag to Podman/Docker to ensure traffic forwarding between the local host and the container.
@ -134,7 +134,7 @@ The following table describes each line of the command and provides additional c
API: http://10.0.2.100:9000 http://127.0.0.1:9000
RootUser: myminioadmin
RootPass: minio-secret-key-change-me
Console: http://10.0.2.100:9090 http://127.0.0.1:9090
Console: http://10.0.2.100:9001 http://127.0.0.1:9001
RootUser: myminioadmin
RootPass: minio-secret-key-change-me

View File

@ -27,12 +27,12 @@ Select the container management interface of your choice for the relevant comman
:class: copyable
podman run -dt \
-p 9000:9000 -p 9090:9090 \
-p 9000:9000 -p 9001:9001 \
-v PATH:/mnt/data \
-v /etc/default/minio:/etc/config.env \
-e "MINIO_CONFIG_ENV_FILE=/etc/config.env" \
--name "minio_local" \
minio server --console-address ":9090"
minio server --console-address ":9001"
Specify any other :podman-docs:`options <markdown/podman-run.1.html>` to ``podman run`` as necessary for your local environment.
@ -44,12 +44,12 @@ Select the container management interface of your choice for the relevant comman
:class: copyable
docker run -dt \
-p 9000:9000 -p 9090:9090 \
-p 9000:9000 -p 9001:9001 \
-v PATH:/mnt/data \
-v /etc/default/minio:/etc/config.env \
-e "MINIO_CONFIG_ENV_FILE=/etc/config.env" \
--name "minio_local" \
minio server --console-address ":9090"
minio server --console-address ":9001"
Specify any other `options <https://docs.docker.com/engine/reference/commandline/run/>`__ to ``docker run`` as necessary for your local environment.
@ -76,7 +76,7 @@ The following table describes each line of the command and provides additional c
- Directs Podman/Docker to create and start the container as a detached (``-d``) background process with a pseudo-TTY (``-t``).
This allows the container to run in the background with an open TTY for bash-like access.
* - ``-p 9000:9000 -p 9090:9090``
* - ``-p 9000:9000 -p 9001:9001``
- Binds the ports ``9000`` and ``9090`` on the local machine to the same ports on the container.
This allows access to the container through the local machine.
@ -105,9 +105,9 @@ The following table describes each line of the command and provides additional c
Omit this value to allow Podman/Docker to automatically generate a container name.
You can replace this value to best reflect your requirements.
* - ``minio server --console-address ":9090"``
* - ``minio server --console-address ":9001"``
- Starts the MinIO server using the ``minio:minio`` image pulled from an earlier step.
The :mc-cmd:`minio server --console-address ":9090" <minio server --console-address>` option directs the server to set a static port for the MinIO Console Web Interface.
The :mc-cmd:`minio server --console-address ":9001" <minio server --console-address>` option directs the server to set a static port for the MinIO Console Web Interface.
This option is *required* for containerized environments.
If you modify this value, ensure you set the proper port mapping using the ``-p`` flag to Podman/Docker to ensure traffic forwarding between the local host and the container.
@ -128,7 +128,7 @@ The command should return a unique ID for the created container.
API: http://10.0.2.100:9000 http://127.0.0.1:9000
RootUser: myminioadmin
RootPass: minio-secret-key-change-me
Console: http://10.0.2.100:9090 http://127.0.0.1:9090
Console: http://10.0.2.100:9001 http://127.0.0.1:9001
RootUser: myminioadmin
RootPass: minio-secret-key-change-me