Install Hosting Agent on Windows
Invoke-WebRequest https://apps.momentum.se/go/i -Outf i.ps1; PowerShell .\i.ps1 -ExecutionPolicy=Bypass
Install Hosting Agent on Linux 64bit
1. Install the official Docker Engine first at https://docs.docker.com/engine/install/ubuntu/ (Ubuntu) or run:
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh ./get-docker.sh
sudo usermod -aG docker $USER
newgrp docker
sudo sh ./get-docker.sh
sudo usermod -aG docker $USER
newgrp docker
2. Install the Apps Agent:
curl -L https://apps.momentum.se/go/i/linux-x64 | sh -e
These commands can also be used to safely reinstall the Agent without losing configuration and the connection to Apps.
3. Show status of the Apps Agent (optional)
sudo systemctl status apps
sudo journalctl -u apps
sudo journalctl -u apps
Use Apps Powershell Module
Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-WebRequest https://apps.momentum.se/go/ps -OutFile ps.ps1; . .\ps.ps1
Get-Command -Module Momentum.Apps.Powershell
Get-Command -Module Momentum.Apps.Powershell