Deployment

Fully-hosted (cloud)

To deploy Cameyo for Linux in the cloud, in your Cameyo portal:

  1. Navigate to Servers and select "Add".
  2. Click the Windows logo and switch it to Linux as shown below.
  3. Click "Create now".


Self-hosted (on-premises)

To deploy Cameyo for Linux on your own Linux server (see supported distributions), proceed as following:

  1. Download https://curfiles.cameyo.com/downloads/linux-bin/install.sh
  2. Run as administrator (sudo) install.sh
  3. Restart the Cameyo server


Publishing your first application

  1. Once your server is provisioned, it will appear in your Servers page:

  2. Click on your new server. You should see the following:

  3. Click "Start now". You should see this:
  4. Click the Terminal app:
    Install the application you would like as an administrator (sudo). Once installed, you can publish apps using the following Cameyo command lines:
Listing installed applications:
cameyo -publish app-list
Publishing a listed application:
cameyo -publish app [app_name]
example:
cameyo -publish app "Google Chrome"
Publishing a native linux application by command-line:
cameyo -publish cmd [app_name] [command_line_with_arguments] [icon]
example:
cameyo -publish cmd "Chrome" "/opt/google/chrome/chrome --kiosk" \ /usr/share/icons/hicolor/128x128/apps/google-chrome.png
Publishing a wine application by command-line:
cameyo -publish cmd [app_name] [command_line_with_arguments] [icon]
example:
cameyo -publish cmd "Notepad++" "/bin/wine \"/opt/cameyo/var/wine/drive_c/Program Files/Notepad++/notepad++.exe\"" /opt/cameyo/var/wine/drive_c/Program\ Files/Notepad++/Notepad_plus_plus.png

Note that when publishing a wine application:
1. the application needs to be started with /bin/wine
2. spaces should NOT be escaped (as you normally do for spaces in Linux paths
3. the parameter to wine (hence the path to the Windows application needs to be in (escaped) double quotes \"
4. applications installed under wine are installed into /opt/cameyo/var/wine/drive_c

Publishing a listed application:
cameyo -publish app [app_name]
example:
cameyo -publish app "Google Chrome"


Step-by-step examples: app installation and publishing

The following examples are for Debian based systems


Example #1: Visual Studio Code

sudo apt-get install wget gpg
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
rm -f packages.microsoft.gpg
sudo apt install apt-transport-https
sudo apt update
sudo apt install code

And then:

cameyo -publish cmd "Visual Studio Code" "/usr/share/code/code --unity-launch" /usr/share/code/resources/app/resources/linux/code.png


Example #2: LibreOffice

sudo apt install libreoffice


List the installed modules:

cameyo -publish app-list

cameyo -publish app "LibreOffice"
cameyo -publish app "LibreOffice Calc"

If you go back to your server's page, you will then see the published apps:



Supported Distributions:
- Debian 11, 12
- Fedora 38
- Rocky 8, 9
- Ubuntu 22.04, 22.10, 23.04