meta données pour cette page
Ceci est une ancienne révision du document !
Installation Xen Orchestra à partir des sources
Sources
Installation
Installation sur une debian 13
- installation des paquets requis
root@xoa:~# apt-get install build-essential redis-server libpng-dev git python3-minimal libvhdi-utils lvm2 cifs-utils nfs-common ntfs-3g openssl libfuse2 nmap wget npm htop tree
- installation de yarn
root@xoa:~# npm install -g yarn
- test de REDIS
root@xoa:~# systemctl restart redis.service root@xoa:~# redis-cli ping PONG
- installation de Xen Orchestra
root@xoa:~# git clone -b master https://github.com/vatesfr/xen-orchestra root@xoa:~# cd xen-orchestra root@xoa:~# yarn root@xoa:~# yarn build root@xoa:~# cd packages/xo-server
- création du fichier de conf
root@xoa:~# mkdir -p /etc/xo-server/ root@xoa:~# cp sample.config.toml /etc/xo-server/config.toml In this config file, you can change default ports (80 and 443) for xo-server. If you are running the server as a non-root user, you will need to set the port to 1024 or higher. ici nous le faisons tourner sur le 8080
- démarrage du service
root@xoa:~# yarn start Default user: "admin@admin.net" with password "admin"
Démarrage automatique
Le daemon tournant sur le port 8080, nous pouvons le lancer en utilisateur non-root.
- création du user xen-orchestra
root@xoa:~# useradd -m xen-orchestra -d /home/xen-orchestra
Updating
If you would like to update your current version, enter your xen-orchestra directory and run the following:
# This will clear any changes you made in the repository!! git checkout .
git pull –ff-only yarn yarn build