Skip to content

Commit f7ac9db

Browse files
committed
delete 9001 port
1 parent ab0d149 commit f7ac9db

6 files changed

Lines changed: 31 additions & 54 deletions

File tree

docs/en/features/baremetal/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Suitable for development and testing environments:
2828

2929
```bash
3030
# Single node with single drive
31-
rustfs server /data --console-address ":9001"
31+
rustfs server /data
3232
```
3333

3434
![Bare Metal Architecture 2](./images/sec2-2.png)
@@ -40,7 +40,6 @@ Recommended for production environments:
4040
```bash
4141
# Node 1
4242
rustfs server http://server{1...4}/data{1...4} \
43-
--console-address ":9001"
4443

4544
# Node 2-4 (similar configuration)
4645
```

docs/en/features/cloud-native/index.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,12 @@ services:
6161
image: rustfs/rustfs:latest
6262
ports:
6363
- "9000:9000"
64-
- "9001:9001"
6564
volumes:
6665
- data1:/data1
6766
- data2:/data2
6867
- data3:/data3
6968
- data4:/data4
70-
command: server /data{1...4} --console-address ":9001"
69+
command: server /data{1...4}
7170
environment:
7271
- RUSTFS_ROOT_USER=admin
7372
- RUSTFS_ROOT_PASSWORD=password123
@@ -105,7 +104,7 @@ services:
105104
memory: 4G
106105
reservations:
107106
memory: 2G
108-
command: server http://rustfs_rustfs:9000/data --console-address ":9001"
107+
command: server http://rustfs_rustfs:9000/data
109108
networks:
110109
- rustfs_network
111110

@@ -166,9 +165,7 @@ spec:
166165
- name: api
167166
port: 9000
168167
targetPort: 9000
169-
- name: console
170-
port: 9001
171-
targetPort: 9001
168+
172169
```
173170

174171
## Observability

docs/en/features/distributed/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ The recommended production deployment mode:
2121

2222
```bash
2323
# 4 nodes, 4 drives each (16 drives total)
24-
rustfs server http://node{1...4}.example.com/data{1...4} \
25-
--console-address ":9001"
24+
rustfs server http://node{1...4}.example.com:9000/data{1...4} \
2625
```
2726

2827
**Benefits:**
@@ -37,8 +36,7 @@ Suitable for environments with external storage:
3736

3837
```bash
3938
# 4 nodes, 1 drive each
40-
rustfs server http://node{1...4}.example.com/data \
41-
--console-address ":9001"
39+
rustfs server http://node{1...4}.example.com:9000/data \
4240
```
4341

4442
**Use Cases:**

docs/en/installation/docker.md

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -91,19 +91,17 @@ Parameter descriptions:
9191
docker run -d \
9292
--name rustfs_container \
9393
-p 9000:9000 \
94-
-p 9001:9001 \
9594
-v /mnt/rustfs/data:/data \
96-
-e RUSTFS_ACCESS_KEY=myaccesskey \
97-
-e RUSTFS_SECRET_KEY=mysecretkey \
95+
-e RUSTFS_ACCESS_KEY=rustfsadmin \
96+
-e RUSTFS_SECRET_KEY=rustfsadmin \
9897
-e RUSTFS_CONSOLE_ENABLE=true \
9998
-e RUSTFS_SERVER_DOMAINS=example.com \
10099
rustfs/rustfs:latest \
101100
--address :9000 \
102-
--console-address :9001 \
103101
--console-enable \
104102
--server-domains example.com \
105-
--access-key myaccesskey \
106-
--secret-key mysecretkey \
103+
--access-key rustfsadmin \
104+
--secret-key rustfsadmin \
107105
/data
108106
```
109107

@@ -113,20 +111,18 @@ docker run -d \
113111
```bash
114112
-e RUSTFS_ADDRESS=:9000 \
115113
-e RUSTFS_SERVER_DOMAINS=example.com \
116-
-e RUSTFS_ACCESS_KEY=myaccesskey \
117-
-e RUSTFS_SECRET_KEY=mysecretkey \
114+
-e RUSTFS_ACCESS_KEY=rustfsadmin \
115+
-e RUSTFS_SECRET_KEY=rustfsadmin \
118116
-e RUSTFS_CONSOLE_ENABLE=true \
119-
-e RUSTFS_CONSOLE_ADDRESS=:9001 \
120117
```
121118

122119
2. **Command line parameter method**:
123120
```
124121
--address :9000 \
125122
--server-domains example.com \
126-
--access-key myaccesskey \
127-
--secret-key mysecretkey \
123+
--access-key rustfsadmin \
124+
--secret-key rustfsadmin \
128125
--console-enable \
129-
--console-address :9001 \
130126
```
131127

132128
3. **Required parameters**:
@@ -147,7 +143,6 @@ docker run -d \
147143
```bash
148144
docker run -d \
149145
-p 9000:9000 \
150-
-p 9001:9001 \
151146
-v /mnt/data:/data \
152147
-e RUSTFS_CONSOLE_ENABLE=true \
153148
rustfs/rustfs:latest \
@@ -161,20 +156,19 @@ docker run -d \
161156
docker run -d \
162157
-p 9000:9000 \
163158
-v /mnt/data:/data \
164-
-e RUSTFS_ACCESS_KEY=admin123 \
165-
-e RUSTFS_SECRET_KEY=secret123 \
159+
-e RUSTFS_ACCESS_KEY=rustfsadmin \
160+
-e RUSTFS_SECRET_KEY=rustfsadmin \
166161
rustfs/rustfs:latest \
167162
./target/debug/rustfs \
168-
--access-key admin123 \
169-
--secret-key secret123 \
163+
--access-key rustfsadmin \
164+
--secret-key rustfsadmin \
170165
/data
171166
```
172167

173168
### Things to note
174169

175170
1. The port mapping must correspond to:
176171
- Service port default 9000(`-p 9000:9000`)
177-
- Console port default 9001(`-p 9001:9001`)
178172

179173
2. Data volumes should be persisted:
180174
- `-v /host/path:/container/path`

docs/zh/installation/docker.md

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ RUSTFS_VOLUMES="/data/rustfs{0...3}"
5656
RUSTFS_ADDRESS=":9000"
5757
#RUSTFS_SERVER_DOMAINS="play.rustfs.com:7000"
5858
RUSTFS_CONSOLE_ENABLE=true
59-
RUSTFS_CONSOLE_ADDRESS=":9001"
6059
RUSTFS_OBS_ENDPOINT=""
6160
RUSTFS_TLS_PATH="/opt/tls"
6261
```
@@ -73,7 +72,6 @@ RustFS SNSD Docker 运行方式,结合上述镜像与配置,执行:
7372
docker run -d \
7473
--name rustfs_local \
7574
-p 9000:9000 \
76-
-p 9001:9001 \
7775
-v /mnt/rustfs/data:/data \
7876
rustfs/rustfs:latest \
7977
/data
@@ -82,7 +80,6 @@ RustFS SNSD Docker 运行方式,结合上述镜像与配置,执行:
8280
各参数说明:
8381

8482
* `-p 9000:9000`:映射宿主机 9000 端口到容器
85-
* `-p 9001:9001`:映射宿主机 9001 端口到容器,用于 console 端访问
8683
* `-v /mnt/rustfs/data:/data`:挂载数据卷
8784
* `--name rustfs_local`:容器自定义名称
8885
* `-d`:后台运行
@@ -95,19 +92,17 @@ RustFS SNSD Docker 运行方式,结合上述镜像与配置,执行:
9592
docker run -d \
9693
--name rustfs_container \
9794
-p 9000:9000 \
98-
-p 9001:9001 \
9995
-v /mnt/rustfs/data:/data \
100-
-e RUSTFS_ACCESS_KEY=myaccesskey \
101-
-e RUSTFS_SECRET_KEY=mysecretkey \
96+
-e RUSTFS_ACCESS_KEY=rustfsadmin \
97+
-e RUSTFS_SECRET_KEY=rustfsadmin \
10298
-e RUSTFS_CONSOLE_ENABLE=true \
10399
-e RUSTFS_SERVER_DOMAINS=example.com \
104100
rustfs/rustfs:latest \
105101
--address :9000 \
106-
--console-address :9001 \
107102
--console-enable \
108103
--server-domains example.com \
109-
--access-key myaccesskey \
110-
--secret-key mysecretkey \
104+
--access-key rustfsadmin \
105+
--secret-key rustfsadmin \
111106
/data
112107
```
113108

@@ -117,20 +112,18 @@ docker run -d \
117112
```bash
118113
-e RUSTFS_ADDRESS=:9000 \
119114
-e RUSTFS_SERVER_DOMAINS=example.com \
120-
-e RUSTFS_ACCESS_KEY=myaccesskey \
121-
-e RUSTFS_SECRET_KEY=mysecretkey \
115+
-e RUSTFS_ACCESS_KEY=rustfsadmin \
116+
-e RUSTFS_SECRET_KEY=rustfsadmin \
122117
-e RUSTFS_CONSOLE_ENABLE=true \
123-
-e RUSTFS_CONSOLE_ADDRESS=:9001 \
124118
```
125119

126120
2. **命令行参数方式**:
127121
```
128122
--address :9000 \
129123
--server-domains example.com \
130-
--access-key myaccesskey \
131-
--secret-key mysecretkey \
124+
--access-key rustfsadmin \
125+
--secret-key rustfsadmin \
132126
--console-enable \
133-
--console-address :9001 \
134127
```
135128

136129
3. **必需参数**:
@@ -151,7 +144,6 @@ docker run -d \
151144
```bash
152145
docker run -d \
153146
-p 9000:9000 \
154-
-p 9001:9001 \
155147
-v /mnt/data:/data \
156148
-e RUSTFS_CONSOLE_ENABLE=true \
157149
rustfs/rustfs:latest \
@@ -165,20 +157,19 @@ docker run -d \
165157
docker run -d \
166158
-p 9000:9000 \
167159
-v /mnt/data:/data \
168-
-e RUSTFS_ACCESS_KEY=admin123 \
169-
-e RUSTFS_SECRET_KEY=secret123 \
160+
-e RUSTFS_ACCESS_KEY=rustfsadmin \
161+
-e RUSTFS_SECRET_KEY=rustfsadmin \
170162
rustfs/rustfs:latest \
171163
./target/debug/rustfs \
172-
--access-key admin123 \
173-
--secret-key secret123 \
164+
--access-key rustfsadmin \
165+
--secret-key rustfsadmin \
174166
/data
175167
```
176168

177169
### 注意事项
178170

179171
1. 端口映射要对应:
180172
- 服务端口默认 9000 (`-p 9000:9000`)
181-
- 控制台端口默认 9001 (`-p 9001:9001`)
182173

183174
2. 数据卷要持久化:
184175
- `-v /host/path:/container/path`

docs/zh/installation/linux.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ RUSTFS_VOLUMES="/data/rustfs{0...3}"
140140
RUSTFS_ADDRESS=":9000"
141141
#RUSTFS_SERVER_DOMAINS="play.rustfs.com:9000"
142142
RUSTFS_CONSOLE_ENABLE=true
143-
RUSTFS_CONSOLE_ADDRESS=":9001"
144143
RUSTFS_OBS_ENDPOINT=""
145144
RUSTFS_TLS_PATH="/opt/tls"
146145
EOF
@@ -266,12 +265,11 @@ systemctl status rustfs
266265

267266
3. 检查服务端口
268267
```bash
269-
ss -tunlp | grep -E '9000|9001'
270268
```
271269

272270
4. 验证控制台访问
273271
```bash
274-
curl -u rustfsadmin:rustfsadmin http://localhost:9001/metrics
272+
curl -u rustfsadmin:rustfsadmin http://localhost:9000/
275273
```
276274

277275
5. 查看日志文件

0 commit comments

Comments
 (0)