Updated grammar and markdown syntax; fixed bug in control-mobile

This commit is contained in:
Luke Barone
2022-07-09 20:20:52 -07:00
parent a670ac8bea
commit 7fda5f2d33
5 changed files with 97 additions and 86 deletions

View File

@@ -5,28 +5,34 @@ weight: 20
### Install NodeJs
Please [Download](https://nodejs.org/dist/v16.14.2/node-v16.14.2-x86.msi) and install.
Please [download](https://nodejs.org/dist/v16.14.2/node-v16.14.2-x86.msi) and install.
NodeJs is the runtime environment of pm2, so you need to install NodeJs first。
### Install pm2
Enter belows in cmd.exe, press the Enter key for each line, and run them line by line.
```
Enter belows in `cmd.exe`, press the <kbd>Enter</kbd> key for each line, and run them line by line.
```cmd
npm install -g pm2
npm install pm2-windows-startup -g
pm2-startup install
```
### Run hbbr and hbbs
Download the windows version of [server program](https://github.com/rustdesk/rustdesk-server/releases), assuming you unzip it to the C drive. Run the following four lines of commands respectively.
```
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
pm2 start hbbs.exe -- -r <The address of the host where hbbr is running>
pm2 start hbbs.exe -- -r <The host where hbbr is running>
pm2 start hbbr.exe
pm2 save
```
### View log
```
### View the log
```cmd
pm2 log hbbr
pm2 log hbbs
```
```