Deployment
Fully-hosted (cloud)
To deploy Cameyo for Linux in the cloud, in your Cameyo portal:
- Navigate to Servers and select "Add".
- Click the Windows logo and switch it to Linux as shown below.
- Click "Create now".
Self-hosted (on-premises)
To deploy Cameyo for Linux on your own Linux Debian 11 server, proceed as following:
- Download and extract https://files.cameyo.com/downloads/linux-bin/install.zip
- Run as administrator (sudo) install.sh and then register-machine.sh
- Restart the Cameyo server
Publishing your first application
Once your server is provisioned, it will appear in your Servers page:
Click on your new server. You should see the following:
Click "Start now". You should see this:
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 an 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
Step-by-step examples: app installation and publishing
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: