From 732049e790f615963b53a214b79c9c114804a490 Mon Sep 17 00:00:00 2001 From: epoberezkin Date: Wed, 4 Dec 2024 10:25:54 +0000 Subject: [PATCH] deploy: 4f1cf6e79f5ce3c18274a9c34d3573e176b5078c --- docs/business.html | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/docs/business.html b/docs/business.html index 9a4cb26c78..201b037ff7 100644 --- a/docs/business.html +++ b/docs/business.html @@ -781,7 +781,63 @@ window.addEventListener('scroll',changeHeaderBg);

Technical advice

Running SimpleX Chat in the cloud

+

To install SimpleX Chat CLI in the cloud, follow this:

+
    +
  1. +

    Create dedicated user for CLI:

    +
    useradd -m -s /bin/bash simplex-cli
    +
    +
  2. +
  3. +

    Create new tmux session

    +
    tmux new -s simplex-cli
    +
    +
  4. +
  5. +

    Login to dedicated user:

    +
    su - simplex-cli
    +
    +
  6. +
  7. +

    Install CLI:

    +
    curl -o- https://raw.githubusercontent.com/simplex-chat/simplex-chat/stable/install.sh | bash
    +
    +
  8. +
  9. +

    Run the CLI:

    +
    simplex-chat
    +
    +
  10. +
+

To deattach from running CLI simply press Ctrl+B and then D.

+

To reattach back to CLI, run: tmux attach -t simplex-cli.

Using remote profiles via Desktop app

+

To use CLI from Desktop app, follow this:

+
    +
  1. +

    Enable Developer tools in desktop app.

    +
  2. +
  3. +

    In the Desktop app, click - Linked mobile -> + Link a mobile, choose local address 127.0.0.1, enter some fixed port (can be any free port, e.g. 12345), and copy the link.

    +
  4. +
  5. +

    In the same machine where Desktop app is running, execute:

    +

    Change PORT to port, chosen in the previous step in Desktop app and SERVER_IP to your server.

    +
    ssh -R PORT:127.0.0.1:PORT -N root@SERVER_IP
    +
    +
  6. +
  7. +

    In the CLI on the server:

    +

    Change LINK to link, copied in the first step and enter the following:

    +
    /crc LINK
    +
    +

    CLI will print verification code:

    +
    Compare session code with controller and use:
    +/verify remote ctrl ...
    +
    +

    Simply copy the whole line starting with /verify ... from the terminal and paste it. Now you can control the CLI from your Desktop app.

    +
  8. +

Organizations using SimpleX Chat for customer service, support and sales

Please let us know if you use SimpleX Chat to communicate with your customers and want to be included in this list.