(408) 943-4100               V   Commercial Support

VM Deployment

  2 minute read.

Last Modified 2021-05-05 13:23 EDT

Deploying TrueCommand on a virtual machine (VM) requires different methods depending on what operating system you intend to use.

You can find VM images and setup instructions on our TrueCommand-install GitHub repository.

Linux

If you don’t already have it, you can download the VM image here.

Ensure you have the “wget” utility installed first: apt-get install wget

Run this command (as root) from a system terminal:
wget https://raw.githubusercontent.com/iXsystems/truecommand-install/main/debian/setup.sh -O - | bash

If you don’t already have it, you can download the VM image here.

Ensure you have the “wget” utility installed first: apk add wget.
Ensure that you have the “community” package repository enabled:

  • Edit the /etc/apk/repositories file as root and uncomment the community repository line.
  • Run apk update to refresh the list of available packages.

Run this command (as root) from a system terminal:
wget https://raw.githubusercontent.com/iXsystems/truecommand-install/main/alpine/setup.sh -O - | sh

If you don’t already have it, you can download the VM image here.

Ensure you have the “wget” utility installed first: xbps-install -y wget

Run this command (as root) from a system terminal:
wget https://raw.githubusercontent.com/iXsystems/truecommand-install/main/void/setup.sh -O - | bash

Windows

If you don’t already have it, you can download the VM image here.

  1. On your Windows platform (VM or Bare-Metal) install Docker for Windows.
  2. Open Windows PowerShell (Start > Windows Power Shell > Windows Power Shell)
  3. Run the following command inside powershell to start TrueCommand:
    docker run --pull=always --restart unless-stopped --detach -v "[hostdirectory]:/data" -p [portnumber]:80 -p [sslportnumber]:443 ixsystems/truecommand
Replace [hostdirectory] with a path to where you want TrueCommand to store its local database. Replace [portnumber] and [sslportnumber] with the ports you wish to expose for TC access.

If the command was successful, you should be able to access TrueCommand on http://localhost:80.