How to install RustDesk server

There are two ways to install the RustDesk server:

  • Using Docker: This is the easiest way to install RustDesk server. You will need to have Docker installed on your machine.
  • Without Docker: This is a more manual process, but it gives you more control over the installation.

Here are the steps to install RustDesk server using Docker:

  1. Install Docker on your machine.
  2. Clone the RustDesk repository:
git clone https://github.com/rustdesk/rustdesk.git
  1. Change to the RustDesk directory:
cd rustdesk
  1. Build the Docker image:
docker build -t rustdesk .
  1. Run the Docker image:
docker run -d -p 21115-21119:21115-21119 rustdesk

Once the Docker image is running, you can connect to the RustDesk server using the RustDesk client.

Here are the steps to install RustDesk server without Docker:

  1. Install RustDesk on your machine.
  2. Clone the RustDesk repository:
git clone https://github.com/rustdesk/rustdesk.git
  1. Change to the RustDesk directory:
cd rustdesk
  1. Install the RustDesk server dependencies:
sudo apt install libssl-dev libffi-dev
  1. Build the RustDesk server:
cargo build --release
  1. Start the RustDesk server:
./target/release/rustdesk-server

Once the RustDesk server is started, you can connect to it using the RustDesk client.