Xen Orchestra

Uit WaaaghPedia

https://xen-orchestra.com/docs/from_the_sources.html

https://github.com/ronivay/XenOrchestraInstallerUpdater


CentOS 7

XO Admin User

Maak nieuwe user. sla dit over indien gewenst

adduser xoadmin
passwd xoadmin
Set password prompts:
Changing password for user username.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
usermod -aG wheel xoadmin
su - xoadmin

Install

sudo yum install -y git
git clone https://github.com/ronivay/XenOrchestraInstallerUpdater.git
cd XenOrchestraInstallerUpdater
cp sample.xo-install.cfg xo-install.cfg

Bekijk de config

nano xo-install.cfg

Plugins toevoegen aan xo-install.cfg

# Comma separated list of plugins to be installed, check README for more information. Optionally set to all, to install all plugins
#PLUGINS="xo-server-transport-email,xo-server-usage-report,xo-server-perf-alert"
PLUGINS="all"

Start de installatie

sudo ./xo-install.sh --install
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo firewall-cmd --reload

Update

yum update -y && yum upgrade -y
cd XenOrchestraInstallerUpdater
./xo-install.sh --update

Debian

Install

su
apt install -y git
git clone https://github.com/ronivay/XenOrchestraInstallerUpdater.git
cd XenOrchestraInstallerUpdater
./xo-install.sh --install

Update

su
apt update -y && apt upgrade -y
cd XenOrchestraInstallerUpdater
./xo-install.sh --update

SSL

mkdir /ssl
touch /ssl/key.key
touch /ssl/cert.crt
nano /etc/xo/xo-server/config.toml #Selfhosted
nano /etc/xo-server/config.toml #XOA

https://xen-orchestra.com/docs/configuration.html#https