Update _index.en.md

This commit is contained in:
Mr-Update 2023-08-27 20:58:36 +02:00 committed by GitHub
parent 133a0ebcc5
commit ef4ef21952
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,19 +33,19 @@ If you've done everything correctly the folder `C:\Program Files\NSSM` (in this
drive but you can use whatever drive you installed Windows to or whatever path you desire) should drive but you can use whatever drive you installed Windows to or whatever path you desire) should
only contain the file `nssm.exe`. only contain the file `nssm.exe`.
We will be using `C:\Program Files\NSSM` in this example We will be using `C:\Program Files\NSSM` in this example.
Open Command prompt and run `nssm` if you see a help page you are ready to move onto the next step Open Command prompt and run `nssm` if you see a help page you are ready to move onto the next step.
### Run hbbr and hbbs ### Run hbbr and hbbs
Download the Windows version of [server program](https://github.com/rustdesk/rustdesk-server/releases). Download the Windows version of [server program](https://github.com/rustdesk/rustdesk-server/releases).
Unzip the program to the `C:\Program Files\RustDesk Server` (or anywhere you desire just make sure it Unzip the program to the `C:\Program Files\RustDesk Server` (or anywhere you desire just make sure it
doesn't change after the service is installed). now get back to Command prompt doesn't change after the service is installed). Now get back to Command prompt.
We will be using `C:\Program Files\RustDesk Server` in this example We will be using `C:\Program Files\RustDesk Server` in this example.
```cmd ```cmd
nssm install "RustDesk hbbs service" "C:\Program Files\RustDesk Server\hbbs.exe" -r 0.0.0.0 -k _ nssm install "RustDesk hbbs service" "C:\Program Files\RustDesk Server\hbbs.exe" -r 0.0.0.0 -k _
nssm install "RustDesk hbbr Service" "C:\Program Files\RustDesk Server\hbbr.exe" -k _ nssm install "RustDesk hbbr service" "C:\Program Files\RustDesk Server\hbbr.exe" -k _
``` ```
**Note:** **Note:**
- You can change `RustDesk hbbs service` to whatever you desire to name hbbs the service - You can change `RustDesk hbbs service` to whatever you desire to name hbbs the service
@ -82,7 +82,7 @@ nssm start <Desired hbbr servicename>
### Install Node.js ### Install Node.js
Please [download](https://nodejs.org/dist/v16.14.2/node-v16.14.2-x86.msi) and install Node.js. Please [download](https://nodejs.org/dist/v16.14.2/node-v16.14.2-x86.msi) and install Node.js.
Node.js is the runtime environment of PM2, so you need to install Node.js first Node.js is the runtime environment of PM2, so you need to install Node.js first.
### Install PM2 ### Install PM2
@ -99,7 +99,7 @@ pm2-startup install
Download the Windows version of [server program](https://github.com/rustdesk/rustdesk-server/releases). Unzip the program to the C: drive. Run the following four commands (take care to edit the `-r` parameter): Download the Windows version of [server program](https://github.com/rustdesk/rustdesk-server/releases). Unzip the program to the C: drive. Run the following four commands (take care to edit the `-r` parameter):
```cmd ```cmd
cd c:\rustdesk-server-windows-x64 cd C:\rustdesk-server-windows-x64
pm2 start hbbs.exe -- -r <The host where hbbr is running> pm2 start hbbs.exe -- -r <The host where hbbr is running>
pm2 start hbbr.exe pm2 start hbbr.exe
pm2 save pm2 save