From ef4ef2195258cd858ff57120411b42007b45502f Mon Sep 17 00:00:00 2001 From: Mr-Update <37781396+Mr-Update@users.noreply.github.com> Date: Sun, 27 Aug 2023 20:58:36 +0200 Subject: [PATCH] Update _index.en.md --- .../rustdesk-server-oss/windows/_index.en.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/self-host/rustdesk-server-oss/windows/_index.en.md b/content/self-host/rustdesk-server-oss/windows/_index.en.md index 53fe826..f692734 100644 --- a/content/self-host/rustdesk-server-oss/windows/_index.en.md +++ b/content/self-host/rustdesk-server-oss/windows/_index.en.md @@ -6,7 +6,7 @@ weight: 20 ## A cross roads You now either have two choices, you can either use PM2 (easier) or NSSM (a bit harder) to start the RustDesk server There are some benefits to using NSSM: -- Backwards compatibility with older Windows (Windows Server 2008R2/Windows 7 and earlier although untested). +- Backwards compatibility with older Windows (Windows Server 2008 R2/Windows 7 and earlier although untested). - Ideal for Windows Server - Auto start on boot without login (The user who created the startup entry does not need to log on for it to start). - Running both binaries as Services. @@ -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 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 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 -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 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:** - You can change `RustDesk hbbs service` to whatever you desire to name hbbs the service @@ -82,7 +82,7 @@ nssm start ### 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 @@ -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): ```cmd -cd c:\rustdesk-server-windows-x64 +cd C:\rustdesk-server-windows-x64 pm2 start hbbs.exe -- -r pm2 start hbbr.exe pm2 save