Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 2.71 KB

File metadata and controls

41 lines (30 loc) · 2.71 KB

Deploying BoxLang Ubuntu Cloud Servers

Create an Azure Virtual Machine from an Ortus BoxLang with CommandBox (Ubuntu Server 24.04 LTS) Virtual Machine (Azure VM). We have created several based Ubuntu based images.

Images Status
BoxLang MiniServer
BoxLang with CommandBox

Software and tools installed matrix

On every Ubuntu based Cloud Server you will find software or tools to achieve best experience with our solutions. This software include:

Tool name Version installed BoxLang MiniServer BoxLang with CommandBox
CommandBox latest
BoxLang runtime latest ✅(As OS binary) ✅(Into CommandBox)
BoxLang MiniServer (As OS binary) latest
ColdBox Application latest

Due these Cloud Servers are Ubuntu 24.04 LTS based, you can follow this link to know more about base software running.

Environment variables

Variable Default value Description
BOXLANG_HOME /root/.boxlang Directory where BoxLang place configs and modules
COMMANDBOX_HOME /root/.commandbox Directory where CommandBox place configs and modules
BOXLANG_TARGET_VERSION latest BoxLang version installed and to be used for BoxLang

Default site

For every Linux based BoxLang Cloud Server a Systemd daemon is used to get up and running a Web Server on well know HTTP port 80/TCP. Depending of the server flavor this can be started using BoxLang MiniServer or CommandBox. If you want to start a custom site or application, you can update this daemon service if need it, or just only place your custom site or application under /web/boxlang-site/wwwroot directory.

Server Red Hat like Debian like Daemon name
BoxLang MiniServer boxlang-miniserver --host 0.0.0.0 --port 80 --webroot /web/boxlang-site/wwwroot --rewrites index.cfm boxlang-miniserver --host 0.0.0.0 --port 80 --webroot /web/boxlang-site/wwwroot --rewrites index.cfm boxlang-miniserver
BoxLang with CommandBox /bin/box server start serverConfigFile=server.json /usr/local/bin/box server start serverConfigFile=server.json coldbox-site

{% hint style="info" %} If you only place your custom site under /web/boxlang-site/wwwroot remember to delete their content before in order to remove the sample ColdBox Application {% endhint %}