Build Xen Orchestra in Fedora Install Fedora (recommend a fresh install, if possible to minimize complications) My specs were... - VM inside of XCP-ng, of course - Other media template - 3GB RAM, Red Hat based boxes tend to want more RAM than Debian based ones; just my experience. - 20 GB HD for OS drive, I'm sure more is better but XO doesn't need much if you're saving VM backups elsewhere. - I left most other things default Moving forward, I will be running and installing as root. Not the most secure but, again, minimize complications Remove the -y flag if you want to prompted prior to each install. The flag saves time and some nagging. Ensure OS is up to date # dnf -y update ******************************************************************************************************************* *Bonus: Install yum-utils. Package allows you to verify if server needs to be rebooted. * *If installed, use the below command to check after updates if server needs rebooting because of changes made. * *# needs-restarting -r * ******************************************************************************************************************* (If reboot is needed) # reboot Installing prereqs Node (2 options) (1) More straightforward # dnf -y install nodejs(Installs 12.x by default as of Apr 2020, verifed to work in XO) OR (2) More control over node version installed # curl -sL https://rpm.nodesource.com/setup_<>.x | bash - THEN dnf -y install nodejs Yarn # curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo # dnf -y install yarn Install redis server # dnf -y install redis Enable Redis server now. If not enabled, you will have alot of failure messages when attempting to start XO-server # systemctl start redis # systemctl enable redis Remaining required packages # cd / You may or may not have these packages installed but it's better to order them installed than to not have them at all # dnf -y install libpng-devel git libvhdi-utils lvm2 cifs-utils make automake gcc gcc-c++ Now that we have all of the prereqs installed, we can move on to... Install XO, instructions are very similar to the official XO "from the sources" documentation # git clone -b master http://github.com/vatesfr/xen-orchestra I like to have a xen-orchestra dir at the root level # cd xen-orchestra Build XO # yarn # yarn build # cd packages/xo-server # mkdir -p ~/.config/xo-server # cp sample.config.toml /etc/xo-server # cp sample.config.toml ~/.config/xo-server/config.toml # vi config.toml Allow access to server via http # firewall-cmd --permanent --add-service=http (if https is needed, change to or add https as well) Allow redis server through firewall # firewall-cmd --permanent --add-port=6379/tcp * Make sure this change was added to FedoraServer group; public will do you no good here # firewall-cmd --reload Test to see if things are working # yarn start Enter URL into browser and if page comes up, you are all set. ************************************************************************* *Bonus: Make XO into a service and have it start on boot * *# yarn global add forever * *# yarn global add forever-service * *# cd /xen-orchestra/packages/xo-server/bin * *# forever-service install orchestra -r root -s xo-server * *# service orchestra start * *Test if service is persistent * *# reboot * * Enter URL into browser and if page comes up, you are all set. * *************************************************************************