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
    281.0k
    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.
    • olivierO
      olivier @Alex Sage
      last edited by

      @anonymous Experience ^^ (if the build fails).

      In general, when there is a new big release of Node, dependencies can't catch the breaking changes for a time. That's why Node 5 broke the build for a time.

      You can use the LTS version of Node to be safe: https://nodejs.org/en/blog/release/v4.2.0/

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        Hopefully LTS means more for Node than it does for ubuntu.

        olivierO 1 Reply Last reply Reply Quote 0
        • olivierO
          olivier @scottalanmiller
          last edited by

          @scottalanmiller hahaha 😄

          1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch
            last edited by

            I lost track of if @anonymous is using CentOS or Ubuntu now..

            Here is the guide for nodejs on CentOS 7

            http://mangolassi.it/topic/5366/getting-nodejs-on-centos-7-with-nvm

            scottalanmillerS 1 Reply Last reply Reply Quote 1
            • scottalanmillerS
              scottalanmiller @JaredBusch
              last edited by

              @JaredBusch said:

              I lost track of if @anonymous is using CentOS or Ubuntu now..

              Here is the guide for nodejs on CentOS 7

              http://mangolassi.it/topic/5366/getting-nodejs-on-centos-7-with-nvm

              I updated that this morning to cover Ubuntu too. Tested and working there as well.

              1 Reply Last reply Reply Quote 0
              • olivierO
                olivier
                last edited by

                It should also work on MacOS and Windows ^^

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @olivier
                  last edited by

                  @olivier said:

                  It should also work on MacOS and Windows ^^

                  But... who cares 😉

                  1 Reply Last reply Reply Quote 0
                  • olivierO
                    olivier
                    last edited by

                    Build should be back on track on next-release branch.

                    DustinB3403D 1 Reply Last reply Reply Quote 4
                    • DustinB3403D
                      DustinB3403 @olivier
                      last edited by

                      @olivier said:

                      Build should be back on track on next-release branch.

                      From the individual folders of xo-server and xo-web

                      git checkout next-release
                      
                      git fetch; git pull
                      
                      1 Reply Last reply Reply Quote 1
                      • olivierO
                        olivier
                        last edited by

                        If you want to stick on stable, a workaround would be npm i [email protected]

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

                          At @olivier this is what I'm getting now, attempting this install.

                          0_1452704902568_XenCenter_2016-01-13_12-07-42.png

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            Same here, even after installing GULP.

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

                              @scottalanmiller Are you running stable as well, or "next release" ?

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @DustinB3403
                                last edited by

                                @DustinB3403 said:

                                @scottalanmiller Are you running stable as well, or "next release" ?

                                I'm running from your how-to

                                1 Reply Last reply Reply Quote 0
                                • olivierO
                                  olivier
                                  last edited by

                                  That's because the install process went bad, due to lodash issue (we reported it here)

                                  So before the npm i, do a npm i [email protected].

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

                                    Yeah I got it sorted, getting the updated guide sorted out

                                    Thank you

                                    1 Reply Last reply Reply Quote 0
                                    • DashrenderD
                                      Dashrender @olivier
                                      last edited by

                                      @olivier said:

                                      That's because the install process went bad, due to lodash issue (we reported it here)

                                      So before the npm i, do a npm i [email protected].

                                      you are the man, you know that! Not only reporting on your own pages, but coming here and reporting as well... that's just awesome!

                                      1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @Alex Sage
                                        last edited by

                                        Okay, here we go. I took @DustinB3403's working process and turned it into a script. I'm going to blow everything away and see if this works from scratch. Just take this, copy into a file like /opt/xoinstaller.sh, chmod +x /opt/xoinstaller.sh and then run it /opt/xoinstaller.sh

                                        #!/bin/bash
                                        cd /opt
                                        curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
                                        sudo apt-get install --yes nodejs
                                        curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n
                                        chmod +x /usr/local/bin/n
                                        n stable
                                        node -v
                                        npm -v
                                        sudo apt-get install --yes build-essential redis-server libpng12-dev git python-minimal
                                        git clone -b stable https://github.com/vatesfr/xo-server
                                        git clone -b stable https://github.com/vatesfr/xo-web
                                        cd xo-server
                                        sudo npm install && npm run build
                                        cp xo-server/sample.config.yaml xo-server/.xo-server.yaml
                                        sed /mounts/a\\"    '/': '/opt/xo-web/dist'" xo-server/.xo-server.yaml
                                        cd /opt/xo-web
                                        sudo npm i [email protected]
                                        sudo npm install
                                        sudo npm run build
                                        cd /opt/xo-server
                                        sudo npm start
                                        
                                        1 Reply Last reply Reply Quote 1
                                        • olivierO
                                          olivier
                                          last edited by

                                          The lodash specific stuff won't be necessary after the 4.12

                                          A 1 Reply Last reply Reply Quote 2
                                          • scottalanmillerS
                                            scottalanmiller
                                            last edited by

                                            Boom, the script goes from bare Ubuntu 15.10 install to this in one command...

                                            0_1452711304634_xo1.png

                                            1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 15
                                            • 16
                                            • 17
                                            • 18
                                            • 19
                                            • 30
                                            • 31
                                            • 17 / 31
                                            • First post
                                              Last post