13 Commits

Author SHA1 Message Date
Dustin B
f9905a50a9 Update xo_install.sh 2018-08-17 08:47:21 -04:00
Dustin B
0bef04ccee Merge pull request #32 from Jarli01/Sym-Link-Node
Update xo_install.sh
2018-08-17 08:46:04 -04:00
Dustin B
497289ad7f Update xo_install.sh
Symbolic Link Test
2018-08-17 08:19:27 -04:00
Dustin B
58ae3c40b2 Merge pull request #29 from Jarli01/Troubleshooting-dependencies
Dependencies list
2018-08-03 09:16:40 -04:00
Dustin B
f3e41aac44 Merge pull request #27 from bnrstnr/patch-1
Check distro and install multiverse repo if = Ubuntu
2018-08-03 09:15:12 -04:00
bnrstnr
3553c1aa9e Update xo_install.sh 2018-08-02 15:56:48 -04:00
bnrstnr
303fabf3b8 Update xo_install.sh 2018-08-02 15:42:34 -04:00
Dustin B
c2c4438a5b Update Troubleshooting.md 2018-08-02 11:37:37 -04:00
Dustin B
f1f9ca7790 Dependencies list 2018-08-02 11:28:54 -04:00
bnrstnr
b7b2527176 Update xo_install.sh 2018-08-02 11:06:14 -04:00
bnrstnr
d4506d711f Update xo_install.sh 2018-08-02 08:52:53 -04:00
bnrstnr
703ec75190 Update xo_install.sh 2018-08-02 08:51:30 -04:00
Dustin B
c07119107c Multiverse cleanup prep 2018-07-31 17:25:19 -04:00
2 changed files with 24 additions and 6 deletions

View File

@@ -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 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.

View File

@@ -7,11 +7,8 @@
totalk=$(awk '/^MemTotal:/{print $2}' /proc/meminfo) totalk=$(awk '/^MemTotal:/{print $2}' /proc/meminfo)
if [ "$totalk" -lt "1000000" ]; then echo "XOCE Requires at least 1GB Memory!"; exit 1; fi if [ "$totalk" -lt "1000000" ]; then echo "XOCE Requires at least 1GB Memory!"; exit 1; fi
# Repository add - confirm required repoistor(ies) are enabled and active, update and upgrade no matter what distro=$(/usr/bin/lsb_release -is)
multiverse="http://archive.ubuntu.com/multiverse" if [ "$distro" = "Ubuntu" ]; then /usr/bin/add-apt-repository multiverse; fi
if ! grep -q "^deb .*$multiverse" /etc/apt/sources.list;
then
sudo add-apt-repository multiverse
xo_branch="master" xo_branch="master"
xo_server="https://github.com/vatesfr/xen-orchestra" xo_server="https://github.com/vatesfr/xen-orchestra"
@@ -42,6 +39,12 @@ echo "$yarn_repo" | tee /etc/apt/sources.list.d/yarn.list
/bin/chmod +x $n_location /bin/chmod +x $n_location
/usr/local/bin/n lts /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 #Install XO dependencies
/usr/bin/apt-get install --yes build-essential redis-server libpng-dev git python-minimal libvhdi-utils nfs-common /usr/bin/apt-get install --yes build-essential redis-server libpng-dev git python-minimal libvhdi-utils nfs-common
@@ -90,4 +93,4 @@ fi
echo "" echo ""
echo "" echo ""
echo "Installation complete, open a browser to:" && hostname -I && echo "" && echo "Default Login:"admin@admin.net" Password:"admin"" && echo "" && echo "Don't forget to change your password!" echo "Installation complete, open a browser to:" && hostname -I && echo "" && echo "Default Login:"admin@admin.net" Password:"admin"" && echo "" && echo "Don't forget to change your password!"
fi