mirror of
https://github.com/Jarli01/xenorchestra_installer
synced 2025-12-23 03:59:59 +00:00
Compare commits
13 Commits
Multiverse
...
Node_modul
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f9905a50a9 | ||
|
|
0bef04ccee | ||
|
|
497289ad7f | ||
|
|
58ae3c40b2 | ||
|
|
f3e41aac44 | ||
|
|
3553c1aa9e | ||
|
|
303fabf3b8 | ||
|
|
c2c4438a5b | ||
|
|
f1f9ca7790 | ||
|
|
b7b2527176 | ||
|
|
d4506d711f | ||
|
|
703ec75190 | ||
|
|
c07119107c |
@@ -32,3 +32,18 @@ This will check and continually update the last 50 log files for your XOCE insta
|
||||
|
||||
journalctl -u xo-server -f -n 50
|
||||
|
||||
# Required Dependencies
|
||||
|
||||
Your system must be able to install the following list of dependencies, usually this is automatic but some distributions might not have the required repositories. Plese confirm you can install these before creating a ticket.
|
||||
|
||||
Check your distribution respositories list ie: ```/etc/apt/sources.list``` for multiverse.
|
||||
|
||||
* build-essential
|
||||
* redis-server
|
||||
* libpng-dev
|
||||
* git
|
||||
* python-minimal
|
||||
* libvhdi-utils
|
||||
* nfs-common
|
||||
|
||||
These dependencies (on Ubuntu) are available from the ```multiverse``` and ```universe``` repositories.
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
#Repository add - confirm required repoistor(ies) are enabled and active, update and upgrade no matter what
|
||||
add-apt-repository multiverse
|
||||
sudo apt update
|
||||
sudo apt upgrade
|
||||
|
||||
# Check if we were effectively run as root
|
||||
[ $EUID = 0 ] || { echo "This script needs to be run as root!"; exit 1; }
|
||||
|
||||
@@ -12,6 +7,9 @@ sudo apt upgrade
|
||||
totalk=$(awk '/^MemTotal:/{print $2}' /proc/meminfo)
|
||||
if [ "$totalk" -lt "1000000" ]; then echo "XOCE Requires at least 1GB Memory!"; exit 1; fi
|
||||
|
||||
distro=$(/usr/bin/lsb_release -is)
|
||||
if [ "$distro" = "Ubuntu" ]; then /usr/bin/add-apt-repository multiverse; fi
|
||||
|
||||
xo_branch="master"
|
||||
xo_server="https://github.com/vatesfr/xen-orchestra"
|
||||
n_repo="https://raw.githubusercontent.com/visionmedia/n/master/bin/n"
|
||||
@@ -41,6 +39,12 @@ echo "$yarn_repo" | tee /etc/apt/sources.list.d/yarn.list
|
||||
/bin/chmod +x $n_location
|
||||
/usr/local/bin/n lts
|
||||
|
||||
#Symbolic Link
|
||||
ln -s /usr/bin/node /usr/local/bin/node
|
||||
|
||||
#node_modules directory creation
|
||||
mkdir /usr/local/lib/node_modules/
|
||||
|
||||
#Install XO dependencies
|
||||
/usr/bin/apt-get install --yes build-essential redis-server libpng-dev git python-minimal libvhdi-utils nfs-common
|
||||
|
||||
|
||||
Reference in New Issue
Block a user