Skip to content

Commit f4286c1

Browse files
author
dushixiang
committed
增加安全网关的Windows服务安装步骤
1 parent 9457720 commit f4286c1

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/pages/gateway/AgentGatewayRegister.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,16 @@ const AgentGatewayRegister = ({
8383
<div>
8484
<a href={`${baseUrl()}/agent-gateway/binary?os=windows&arch=amd64`}>amd64</a>
8585
</div>
86-
<div>2. 前台启动</div>
86+
<div>2. 启动服务 (使用管理员权限打开 CMD)</div>
8787
<div className={clsx('bg-slate-200 p-4 rounded', 'dark:bg-slate-700')}>
8888
<Paragraph copyable={true} style={{margin: 0}}>
89-
{`nt-tunnel.exe run --endpoint ${param.endpoint} --token ${param.token} `}
89+
{`nt-tunnel.exe install --endpoint ${param.endpoint} --token ${param.token} `}
90+
</Paragraph>
91+
</div>
92+
<div>3. 启动服务</div>
93+
<div className={clsx('bg-slate-200 p-4 rounded', 'dark:bg-slate-700')}>
94+
<Paragraph copyable={true} style={{margin: 0}}>
95+
{`nt-tunnel.exe start`}
9096
</Paragraph>
9197
</div>
9298
</div>;

0 commit comments

Comments
 (0)