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:
- Install Docker on your machine.
- Clone the RustDesk repository:
git clone https://github.com/rustdesk/rustdesk.git
- Change to the RustDesk directory:
cd rustdesk
- Build the Docker image:
docker build -t rustdesk .
- 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:
- Install RustDesk on your machine.
- Clone the RustDesk repository:
git clone https://github.com/rustdesk/rustdesk.git
- Change to the RustDesk directory:
cd rustdesk
- Install the RustDesk server dependencies:
sudo apt install libssl-dev libffi-dev
- Build the RustDesk server:
cargo build --release
- Start the RustDesk server:
./target/release/rustdesk-server
Once the RustDesk server is started, you can connect to it using the RustDesk client.