Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Devolutions Server Scripted Installation For Linux

Starting with the Devolutions Server release 2024.3.2.0, Devolutions Server is now available for Linux. Using Microsoft Kestrel as the built-in web server and Microsoft PowerShell 7 for command-line installation, there is no need for the GUI installation through Devolutions Console. For Docker deployment please see, https://redirection.devolutions.com/server-deploy-docker.

Prerequisites

  • Ubuntu 22.04 - Devolutions Server may work in other Linux distributions, and other Ubuntu versions, but Ubuntu 22.04 is the currently tested release. This script requires a full Ubuntu installation (VM's are supported). For the install-dvls.sh script bash is required, as is systemd for the main installation script.
  • Microsoft PowerShell 7 - The current PowerShell version tested is 7.4.5.
  • Microsoft SQL Server (MSSQL) - You may install MSSQL locally, currently tested with SQL Server 2022, or connect to an external MSSQL instance.

Installing Devolutions Server for Linux

You can use install-dvls.ps1 or install-dvls.sh at your convenience. install-dvls.sh will install the latest PowerShell version for you if it is not yet installed. It will then proceed to run install-dvls.ps1 for you, downloading it from this repository if necessary.

This script assumes an accessible Microsoft SQL Server, either located on the same system or externally available. In addition, at this time only SQL authentication is supported.

You have two ways to run the script, either interactive with prompts, or non-interactive:

Interactive

There are two ways of running the interactive installation.

Quick Start One-Liner

Copy and run this bash one-liner in a terminal:

bash <(curl --proto '=https' --tlsv1.2 -sSf "https://raw.githubusercontent.com/Devolutions/ScriptLibrary/refs/heads/main/DVLSForLinux/install-dvls.sh")

By Downloading The Script

PowerShell:

./install-dvls.ps1

Bash:

./install-dvls.sh

Non-Interactive

Download the script file install-dvls.ps1 or install-dvls.sh, and run it with parameters.

PowerShell:

./install-dvls.ps1 -DVLSHostName "MYHOST" -DVLSAdminEmail "[email protected]" -DatabaseHost "MYDBHOST" -DatabaseUsername "MYDBUSERNAME" -DatabasePassword "MYSTRONGPASSWORD" -GenerateSelfSignedCertificate -Confirm:$False

Bash:

./install-dvls.sh --dvls-hostname "MYHOST" --dvls-admin-email "[email protected]" --database-host "MYDBHOST" --database-username "MYDBUSERNAME" --database-password "MYSTRONGPASSWORD" --generate-self-signed-certificate --no-confirm

Non-Interactive Install Parameters

Bash

Parameter Description
--dvls-hostname Specify the DVLS host name
--dvls-admin-email Specify the DVLS admin email
--database-host Specify the database host (defaults to dvls)
--database-username Specify the database username
--database-password Specify the database password
--database-name Specify the database name
--zip-file Specify a zip file for the DVLS installation file
--help Show a help message and exit
--no-confirm Do not confirm the action before proceeding
--database-encrypted-connection Enable encrypted connection to the database
--no-database-encrypted-connection Disable encrypted connection to the database
--database-trust-server-certificate Trust the database server certificate
--no-database-trust-server-certificate Do not trust the database server certificate
--no-create-database Do not create the database even if it does not exist
--generate-self-signed-certificate Generate a self-signed certificate
--no-generate-self-signed-certificate Do not generate a self-signed certificate
--disable-telemetry Disable telemetry
--keep-installation-file Keep the installation file after extraction
--no-keep-installation-file Delete the installation file after extraction

PowerShell

Parameter Description
-DVLSHostName Specify the DVLS host name
-DVLSAdminEmail Specify the DVLS admin email
-DatabaseHost Specify the database host (defaults to dvls)
-DatabaseUsername Specify the database username
-DatabasePassword Specify the database password
-DatabaseName Specify the database name
-CreateDatabase Do not create the database even if it does not exist (defaults to $True)
-EnableTelemetry Enable or disable telemetry (defaults to $True)
-Confirm Confirm the action before proceeding (defaults to $True)
-DatabaseEncryptedConnection Enable or disable encrypted connection to the database
-DatabaseTrustServerCertificate Trust the database server certificate
-GenerateSelfSignedCertificate Generate a self-signed certificate
-ZipFile Specify a zip file for the DVLS installation file
-KeepInstallationFile Specify whether the installation file should be removed after extraction