Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove the explicit given passwords of "admin" from documents #180

Merged
merged 1 commit into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ in the future, we will use `--set global.local=true` for unambiguous.

```bash
helm repo add higress.io https://higress.io/helm-charts
helm install higress -n higress-system higress.io/higress --create-namespace --render-subchart-notes --set global.local=true --set higress-console.o11y.enabled=false --set higress-console.domain=console.higress.io --set higress-console.admin.password.value=admin
helm install higress -n higress-system higress.io/higress --create-namespace --render-subchart-notes --set global.local=true --set higress-console.o11y.enabled=false --set higress-console.domain=console.higress.io --set higress-console.admin.password.value=<YOUR-PASSWORD>
```

> If you'd like to enable the built-in o11y suite, please refer to the [Deploy by Helm](../ops/deploy-by-helm) document.
Expand Down Expand Up @@ -220,22 +220,22 @@ curl http://GatewayIP/foo -H "Host: foo.bar.com"
**Installation Command 1: Use a separated-deployed Nacos service**

```bash
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- -c nacos://192.168.0.1:8848 --nacos-username=nacos --nacos-password=nacos -p admin
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- -c nacos://192.168.0.1:8848 --nacos-username=nacos --nacos-password=nacos -p <YOUR-PASSWORD>
```

Please replace `192.168.0.1` with the actual IP address of Nacos service (if Nacos is deployed locally, please use a non-loopback address such as `localhost` or `127.0.0.1`), and update the value of `--nacos-username` and `--nacos-password` based on actual configurations. If authentication isn't enabled in Nacos, you can remove these two arguments.

**Installation Command 2: Use the Higress Built-In Nacos**

```bash
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- --use-builtin-nacos -p admin
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- --use-builtin-nacos -p <YOUR-PASSWORD>
```

Note: On Windows, you can use Unix-like shells such as Cygwin, Git Bash to execute the command above.

### Stage 2: Configuration

Open `http://127.0.0.1:8080` in browser and log into Higress Console using admin as both username and password.
Open `http://127.0.0.1:8080` in browser and log into Higress Console using username `admin` and the previously set password.

![image](/img/user/quickstart/en-us/login.png)

Expand Down
8 changes: 4 additions & 4 deletions i18n/zh-cn/docusaurus-plugin-content-blog/DeployOnWindows.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ cygcheck -c cygwin
### 使用 Higrees 对接 Nacos
**安装命令:使用独立部署的 Nacos**

当访问docker容器互相访问时候本地回环地址并不是真正的地址,所以需要在cywin中执行获取本地网卡地址
当访问docker容器互相访问时候本地回环地址并不是真正的地址,所以需要在cygwin中执行获取本地网卡地址

```shell
ipconfig
Expand All @@ -93,7 +93,7 @@ ipconfig


```
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- -c nacos://192.168.0.1:8848 --nacos-username=nacos --nacos-password=nacos -p admin
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- -c nacos://192.168.0.1:8848 --nacos-username=nacos --nacos-password=nacos -p <你的密码>
```

请将 `192.168.0.1` 替换为 Nacos 服务器的 IP(如果 Nacos 部署在本机,请不要使用如 `localhost` 或 `127.0.0.1` 的 Loopback 地址),并按需调整 `--nacos-username` 和 `--nacos-password` 的取值。如果 Nacos 服务未开启认证功能,则可以移除这两个参数。
Expand All @@ -104,13 +104,13 @@ curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- -c nacos://
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- -c nacos://10.30.0.225:8848

```
输入命令等待部署,即可看到生成的用户名名与密码
输入命令等待部署,即可看到生成的用户名与密码

![D.png](..%2F..%2F..%2Fstatic%2Fimg%2Fblog%2Fwindows%2Fpic%2FD.png)

### Higress 控制台配置

**访问 `http://localhost:8080/`, 使用 admin 作为用户名密码登录 Higress 控制台。**
**访问 `http://localhost:8080/`, 使用用户名 admin 和安装时设置的密码登录 Higress 控制台。**

![13.png](..%2F..%2F..%2Fstatic%2Fimg%2Fblog%2Fwindows%2Fpic%2F13.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ custom_edit_url: https://github.com/higress-group/higress-group.github.io/blob/m
启动终端,并执行以下命令:

```
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- -c file://~/higress/conf -p admin -a
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- -c file://~/higress/conf -p <你的密码> -a
```

请耐心等待安装过程执行完毕。Higress 的执行文件将被安装在当前目录下的 `higress` 子目录内。配置数据则将被写入 `~/higress/conf` 目录内。
Expand Down
2 changes: 1 addition & 1 deletion i18n/zh-cn/docusaurus-plugin-content-blog/skywalking.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ $ kubectl -n higress-system port-forward service/higress-gateway 8080:80
```
3)通过浏览器打开访问上面三个域名

Higress 控制台: http://console.higress.io:8080 , 登录名称和密码 admin/admin
Higress 控制台: [http://console.higress.io:8080](http://console.higress.io:8080),用户名为 admin,登录密码为安装时设定的管理员密码。

![img.png](../../../static/img/blog/skywalking/higress1.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ kubectl.exe config use-context kind-higress

```bash
helm repo add higress.io https://higress.io/helm-charts
helm install higress -n higress-system higress.io/higress --create-namespace --render-subchart-notes --set global.local=true --set higress-console.o11y.enabled=false --set higress-console.domain=console.higress.io --set higress-console.admin.password.value=admin
helm install higress -n higress-system higress.io/higress --create-namespace --render-subchart-notes --set global.local=true --set higress-console.o11y.enabled=false --set higress-console.domain=console.higress.io --set higress-console.admin.password.value=<你的密码>
```

> 若要启用 Higress 内置的套件,可参阅[安装部署](../ops/deploy-by-helm.md)文档。
Expand Down Expand Up @@ -174,7 +174,7 @@ spec:
GatewayIP console.higress.io
```

在浏览器中输入`http://console.higress.io`,使用前面获取的用户名密码登录 Higress 控制台(本地集群的用户名密码均为 admin)。
在浏览器中输入`http://console.higress.io`,使用前面获取或设置的用户名密码登录 Higress 控制台(本地集群用户名固定为 admin)。

![image](/img/user/quickstart/zh-cn/login.png)

Expand Down Expand Up @@ -225,22 +225,22 @@ curl http://GatewayIP/foo -H 'host: foo.bar.com'
**安装命令一:使用独立部署的 Nacos**

```bash
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- -c nacos://192.168.0.1:8848 --nacos-username=nacos --nacos-password=nacos -p admin
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- -c nacos://192.168.0.1:8848 --nacos-username=nacos --nacos-password=nacos -p <你的密码>
```

请将 `192.168.0.1` 替换为 Nacos 服务器的 IP(如果 Nacos 部署在本机,请不要使用如 `localhost` 或 `127.0.0.1` 的 Loopback 地址),并按需调整 `--nacos-username` 和 `--nacos-password` 的取值。如果 Nacos 服务未开启认证功能,则可以移除这两个参数。

**安装命令二:使用 Higress 内置 Nacos**

```bash
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- --use-builtin-nacos -p admin
curl -fsSL https://higress.io/standalone/get-higress.sh | bash -s -- --use-builtin-nacos -p <你的密码>
```

注:Windows 系统下可以使用 Cygwin、Git Bash 等类 Unix Shell 中执行上述命令。

### 阶段二:配置

在浏览器中输入`http://127.0.0.1:8080`,使用 admin 作为用户名密码登录 Higress 控制台。
在浏览器中输入`http://127.0.0.1:8080`,使用用户名 `admin` 和安装时设置的密码登录 Higress 控制台。

![image](/img/user/quickstart/zh-cn/login.png)

Expand Down
Loading