Sign Up

Continue with Facebook
Continue with Google
or use


Have an account? Sign In Now

Sign In Sign In

Continue with Facebook
Continue with Google
or use


Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Have an account? Sign In Now

You must login to ask a question.

Continue with Facebook
Continue with Google
or use


Forgot Password?

Need An Account, Sign Up Here

You must login to add post.

Continue with Facebook
Continue with Google
or use


Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

IT Support BD Logo IT Support BD Logo
Sign InSign Up

IT Support BD

IT Support BD Navigation

  • Home
  • About Us
  • Blog
  • Download
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Terms of Use
  • Terms and Conditions
  • Privacy Policy
  • Cookie Policy
Home/ Questions/Q 7620
Next
In Process
Asked: January 12, 20232023-01-12T12:05:28+06:00 2023-01-12T12:05:28+06:00In: Server

How to create own remote desktop server infrastructure.

Abak
Abak IT Manager

I want to create my own remote desktop server infrastructure in my origination. How to create?

  • 2
  • 1 1 Answer
  • 78 Views
  • 0 Followers
  • 0
    • Report
  • Share
    Share
    • Share onFacebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp

Leave an answer
Cancel reply

You must login to add an answer.

Continue with Facebook
Continue with Google
or use


Forgot Password?

Need An Account, Sign Up Here
Continue with Facebook
Continue with Google

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. admin IT Admin
    2023-01-12T18:11:11+06:00Added an answer on January 12, 2023 at 6:11 pm
    This answer was edited.

    An open-source alternative to TeamViewer and AnyDesk is RustDesk. It offers businesses free remote desktop services on its self-hosted and cloud infrastructure.

    Requirements is: OS need Ubuntu 22.04 and Allow udp port 21117 on firewall and OS.

    1. Connect to the server via SSH using root access by following the command:

    sudo -i

    2. Update the Server OS Packages
    Make sure that wget is installed on the server. This utility is needed to run the panel installation script. If wget isn’t installed in the OS, execute the following commands to install it:

    1. Docker install Commands on Ubuntu 22.04

    Step 1: Update the system

    The first step is to refresh the repositories. To do so, run the command:

    $ sudo apt update

    Step 2: Install dependencies

    Some dependencies are needed for the installation to go along seamlessly. Therefore, run the following command to install them:

    $ sudo apt install apt-transport-https curl gnupg-agent ca-certificates software-properties-common -y
    

    Step 3: Install Docker on Ubuntu 22.04

    With the requirements installed, the next step is to install Docker. We will install the Docker Community Edition ( Docker  CE ) which is opensource and free to download and use.

    To do so, we will add the GPGK key

    $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    
    

    Since Ubuntu 22.04 is yet to be officially released, add the repository for Ubuntu 20.04 Stable.

    $ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"

    With the GPG key and the repository added, run the following command to install Docker and associated packages.

    $ sudo apt install docker-ce docker-ce-cli containerd.io -y
    

    Step 4: Confirm that Docker is installed

    To verify that Docker is installed, run the command:

    $ docker version
    

    Step 5: Manage Docker Service

    By default, Docker autostarts upon installation. To verify this, run the command:

    $ sudo systemctl status docker

    If, for any reason, Docker is not running, simply execute the following command:

    $ sudo systemctl start docker

    To enable Docker to start automatically every time on system startup, run the command:

    $ sudo systemctl enable docker

    To restart Docker  run:

    $ sudo systemctl restart docker

    the volume that Portainer Server will use to store its database

    docker volume create portainer_data

    Download and install the Portainer Server container

    Next, we will download and install the Portainer container. To do that, use the following:

    docker run -d -p 8000:8000 -p 9443:9443 --name portainer \
        --restart=always \
        -v /var/run/docker.sock:/var/run/docker.sock \
        -v portainer_data:/data \
        portainer/portainer-ce:2.11.1

    RustDesk Repository copy:

    # useradd rustdesk

    # usermod -aG sudo rustdesk

     

    Enter your password

    mkdir /rustdesk

    cd /rustdesk

    nano docker-compose.yaml

    version: '3'
    
    networks:
      rustdesk-net:
        external: false
    
    services:
      hbbs:
        container_name: hbbs
        ports:
          - 21115:21115
          - 21116:21116
          - 21116:21116/udp
          - 21118:21118
        image: rustdesk/rustdesk-server:latest
        command: hbbs -r <your-cool.server.com>:21117
        volumes:
          - ./hbbs:/root
        networks:
          - rustdesk-net
        depends_on:
          - hbbr
        restart: unless-stopped
    
      hbbr:
        container_name: hbbr
        ports:
          - 21117:21117
          - 21119:21119
        image: rustdesk/rustdesk-server:latest
        command: hbbr
        volumes:
          - ./hbbr:/root
        networks:
          - rustdesk-net
        restart: unless-stopped

     

    # press Esc button and type :wq and hit enter

     

    run the server

    # sudo docker-compose up -d

     

    3. Install RustDesk on clients and configure the server IP.

    Go to RustDesk.com and click the Download button.  If you’re running the client on a Linux machine, you can also try their new Appendage file to see if it will work. Make sure you get the latest release, and look for the .appendage file.

    Once downloaded, if you need to run the installer, run it per your Distros requirements.  Windows is a zipped file, with an executable inside, so extract the file, then run the .exe to install.

    Once you run the client it will connect to the RustDesk default servers.  You’ll see an ID number and passcode (hidden by default).  Next to the ID you’ll see a 3-dot icon. Click it, and select “ID/Relay Server”.

    Allow the rustdesk port  by using the ufw command:

    sudo ufw allow 21115
    sudo ufw allow 21116
    sudo ufw allow 21117
    sudo ufw allow 21118
    sudo ufw allow 21119

    Take care everyone and happy coding.

     

     

    • 0
    • Reply
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 125
  • Answers 193
  • Best Answers 72
  • Users 88
  • Popular
  • Answers
  • admin

    How to approach applying for a job at a company ...

    • 7 Answers
  • admin

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • admin

    What is a programmer’s life like?

    • 5 Answers
  • admin
    admin added an answer How can you set up a new Windows 11 laptop… March 25, 2023 at 11:54 am
  • admin
    admin added an answer How to use Quillbot Premium for a lifetime with the… March 21, 2023 at 9:42 am
  • IT BD
    IT BD added an answer o configure a static IP address and internet connection on… March 4, 2023 at 11:47 pm

Related Questions

  • How to build network monitoring and problem-solving tools?

    • 1 Answer
  • I want to host site using xamp on internet

    • 1 Answer
  • How can I Create own storage server and intagreate it ...

    • 1 Answer
  • Why is my server always signing out

    • 1 Answer
  • How to create a free Webhosting Cpanel server.

    • 1 Answer

Top Members

admin

admin

  • 34 Questions
  • 1k Points
IT Admin
Arif

Arif

  • 35 Questions
  • 675 Points
IT Moderator
Support

Support

  • 29 Questions
  • 402 Points
IT Coordinator

Trending Tags

analytics company computer custom rom english google javascript language microsoft office mobile nas network os php programs server storage website whatsapp wordpress

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • Shop

Footer

We hope you enjoy our blog as much as We enjoy offering them to you. If you have any questions or comments, please don't hesitate to contact us.

About Us

  • Meet The Team
  • Blog
  • About Us
  • Contact Us

Legal Stuff

  • Terms of Use
  • Terms and Conditions
  • Privacy Policy
  • Cookie Policy

Help

  • Knowledge Base
  • Support

Follow

© 2018-2023 IT Support BD. All Rights Reserved

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Close Refresh

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.