ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Xen Orchestra on Ubuntu 15.10 - Complete installation instructions

    IT Discussion
    how to xen orchestra ubuntu 15.10 debian xen open source ubuntu linux xenserver
    24
    609
    280.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403 @brandon
      last edited by

      @brandon said in Xen Orchestra on Ubuntu 15.10 - Complete installation instructions:

      @DustinB3403 I tried on Debian 8 but I failed, I have a 7.8? I am running ubuntu 15 and why not lts, I know they don't do the hole long time support thing but is there something wrong with the lts?

      LTS is a marketing campaign (more or less). Just run the proper server and stay up to date with that.

      1 Reply Last reply Reply Quote 1
      • B
        brandon @DustinB3403
        last edited by

        @DustinB3403 Downloading 16.10 doesnt matter that the OS is 64 bit?

        DustinB3403D 1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403 @brandon
          last edited by

          @brandon said in Xen Orchestra on Ubuntu 15.10 - Complete installation instructions:

          @DustinB3403 Downloading 16.10 doesnt matter that the OS is 64 bit?

          It only depends if your hardware isn't 64-bit...

          B 1 Reply Last reply Reply Quote 0
          • B
            brandon @DustinB3403
            last edited by

            @DustinB3403 Haha okay so it doesnt matter then, okay will install and give feedback. Did you use the install script or did you do go manual with 16.10?

            DustinB3403D 1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403 @brandon
              last edited by

              @brandon Yes I installed maybe 2 weeks ago on 16.10 (server)

              B 1 Reply Last reply Reply Quote 0
              • B
                brandon @DustinB3403
                last edited by

                @DustinB3403 Okay will be a clean server install so the script will install everything needed?

                DustinB3403D 1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403 @brandon
                  last edited by

                  @brandon it should.

                  1 Reply Last reply Reply Quote 0
                  • DanpD
                    Danp @brandon
                    last edited by

                    @brandon said in Xen Orchestra on Ubuntu 15.10 - Complete installation instructions:

                    @DustinB3403 Yes I did: sudo su, sudo ./script

                    To ensure that you are using the most recent version of the installation script, it is recommended to install using --

                    sudo curl https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh | bash
                    
                    B 2 Replies Last reply Reply Quote 1
                    • B
                      brandon @Danp
                      last edited by

                      @Danp Hi Danp I tried to use the script but the new Ubuntu server is just so unstable... Cant install anything then apt crashes and I have to run dpkg --configure -a , while running the script it will randomly stop and say Killed... Busy running the script manually I am currently busy with sudo npm install and npm run build in the ox-server dir. Will give an update if the install is successful or not.... Why is the new Ubuntu such a pain? I use Xubuntu 14.04 as my main driver at home and work and I haven't had any real problem besides the wallpaper reverting back after every reboot but that was minor.

                      1 Reply Last reply Reply Quote 0
                      • B
                        brandon @Danp
                        last edited by

                        Okay so I dont even get as far anymore keep getting "Killed" when I run "sudo npm install" in the xo-server dir...

                        root@xenorc:/opt# git clone -b stable https://github.com/vatesfr/xo-server
                        Cloning into 'xo-server'...
                        remote: Counting objects: 10478, done.
                        remote: Compressing objects: 100% (59/59), done.
                        remote: Total 10478 (delta 31), reused 0 (delta 0), pack-reused 10419
                        Receiving objects: 100% (10478/10478), 2.71 MiB | 959.00 KiB/s, done.
                        Resolving deltas: 100% (7503/7503), done.
                        Checking connectivity... done.
                        root@xenorc:/opt# git clone -b stable https://github.com/vatesfr/xo-web
                        Cloning into 'xo-web'...
                        remote: Counting objects: 26052, done.
                        remote: Compressing objects: 100% (81/81), done.
                        remote: Total 26052 (delta 33), reused 0 (delta 0), pack-reused 25968
                        Receiving objects: 100% (26052/26052), 9.20 MiB | 1.41 MiB/s, done.
                        Resolving deltas: 100% (17340/17340), done.
                        Checking connectivity... done.
                        root@xenorc:/opt# cd xo-server
                        root@xenorc:/opt/xo-server# sudo npm install
                        ^[[B[ ..] - extract:lodash: verb gentlyRm don't care about contennpm WARN prefer global [email protected] should be installed with -g
                        npm WARN prefer global [email protected] should be installed with -g
                        npm WARN prefer global [email protected] should be installed with -g
                        npm WARN prefer global [email protected] should be installed with -g

                        [email protected] install /opt/xo-server/node_modules/argon2
                        node-gyp rebuild

                        Killed

                        1 Reply Last reply Reply Quote 0
                        • B
                          brandon
                          last edited by

                          Hi Everyone

                          Okay installed Debian 7.8, Installation gave me a lot less problems than Ubuntu 16.10, the installation wasn't successful....
                          Here is the complete installation output of xo-server and web

                          xo-server : http://pastebin.com/yH0MRFpJ

                          xo-web: http://pastebin.com/XVxXs9gf

                          Here is my error:

                          root@xen-orcha:/opt/xo-web# sudo npm run build

                          [email protected] build /opt/xo-web
                          npm run build-indexes && NODE_ENV=production gulp build

                          [email protected] build-indexes /opt/xo-web
                          index-modules --auto src

                          index generated src/common/intl/locales/index.js
                          [13:27:41] Using gulpfile /opt/xo-web/gulpfile.js
                          [13:27:41] Starting 'build'...
                          [13:27:41] Starting 'buildPages'...
                          [13:27:41] Starting 'buildScripts'...
                          [13:27:41] Starting 'buildStyles'...
                          [13:27:41] Starting 'copyAssets'...
                          [13:27:47] Finished 'buildPages' after 6.7 s
                          [13:27:53] Finished 'buildStyles' after 12 s
                          [13:27:54] Finished 'copyAssets' after 14 s
                          Killed

                          npm ERR! Linux 3.2.0-4-amd64
                          npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
                          npm ERR! node v7.4.0
                          npm ERR! npm v4.0.5
                          npm ERR! code ELIFECYCLE
                          npm ERR! [email protected] build: npm run build-indexes && NODE_ENV=production gulp build
                          npm ERR! Exit status 137
                          npm ERR!
                          npm ERR! Failed at the [email protected] build script 'npm run build-indexes && NODE_ENV=production gulp build'.
                          npm ERR! Make sure you have the latest version of node.js and npm installed.
                          npm ERR! If you do, this is most likely a problem with the xo-web package,
                          npm ERR! not with npm itself.
                          npm ERR! Tell the author that this fails on your system:
                          npm ERR! npm run build-indexes && NODE_ENV=production gulp build
                          npm ERR! You can get information on how to open an issue for this project with:
                          npm ERR! npm bugs xo-web
                          npm ERR! Or if that isn't available, you can get their info via:
                          npm ERR! npm owner ls xo-web
                          npm ERR! There is likely additional logging output above.

                          npm ERR! Please include the following file with any support request:
                          npm ERR! /opt/xo-web/npm-debug.log

                          Does anyone know what to do?

                          1 Reply Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403
                            last edited by DustinB3403

                            Brandon it looks like you're trying to run the manual installation. Which I haven't updated those instructions in some time.

                            Use the installation script at the very top of the first post.

                            B 1 Reply Last reply Reply Quote 0
                            • B
                              brandon @DustinB3403
                              last edited by

                              @DustinB3403 Hi DustinB3403, I am copy and pasting from the installation script?
                              wget https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh

                              DustinB3403D 1 Reply Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403 @brandon
                                last edited by DustinB3403

                                @brandon said in Xen Orchestra on Ubuntu 15.10 - Complete installation instructions:

                                @DustinB3403 Hi DustinB3403, I am copy and pasting from the installation script?
                                wget https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh

                                And are you running the script by chmod +x xo_install.sh and then running ./xo_install.sh ?

                                B 2 Replies Last reply Reply Quote 0
                                • B
                                  brandon @DustinB3403
                                  last edited by

                                  @DustinB3403 At first I did "sudo su" then chmod 777 xo_install.sh and then sudo ./xo_install.sh script ran and bugged out so I tried copied and paste everything into the terminal

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    brandon @DustinB3403
                                    last edited by

                                    @DustinB3403 Debian 7.8 has gotten the closes to installing, Debian 8, Ubuntu 15 and 16 didn't get this far before giving errors

                                    DustinB3403D 1 Reply Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403 @brandon
                                      last edited by

                                      @brandon Assuming you still have the Ubuntu 16.10 VM you were working on before.

                                      Did you install curl and bash?

                                      If so did you try this exact command?

                                      sudo curl https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh | bash
                                      
                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        brandon @DustinB3403
                                        last edited by

                                        @DustinB3403 Yes I did I can run it again if you like but it will fail 😞

                                        1 Reply Last reply Reply Quote 0
                                        • DustinB3403D
                                          DustinB3403
                                          last edited by

                                          I'm troubleshooting some other things for work at the moment. Please create a new post, list what OS you're using and we can proceed from there.

                                          if you connect to the vm with SSH can you log everything into a text file and post it so we can investigate from there.

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            brandon @DustinB3403
                                            last edited by

                                            @DustinB3403 Okay I have two VM's Debian 7.8 and Ubuntu 16.10 both are clean installs the only thing I did before running the scripts were apt-get update and upgrade... I removed Ubuntu 15 and Debian 8

                                            The previous error was from Debian 7.8...

                                            I just ran sudo curl https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh | bash as the root user on Ubuntu will copy and paste the output as soon as it is done, it looks like the script is at npm install & rebuild part in the xo-server dir

                                            DustinB3403D 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 25
                                            • 26
                                            • 27
                                            • 28
                                            • 29
                                            • 30
                                            • 31
                                            • 27 / 31
                                            • First post
                                              Last post