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

    Ubuntu 15.10 installing for the first time

    IT Discussion
    ubuntu ubuntu 15.10
    3
    12
    1.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.
    • DashrenderD
      Dashrender
      last edited by

      So, on my way to getting a Xen Orchestra box stood up, I need to start with a Ubuntu chassis.

      I've downloaded the ISO, uploaded it to my ISO repository, create a custom VM in XenServer (using XenCenter). The VM was setup with 16 GB drive and 1 GB RAM. I followed all the defaults for installation - though I should have added OpenSSH during the install.
      Instead I had to install it manually, no big deal.

      Install went fine, 10 mins later and I have a login prompt.
      I think to myself.. well even though the setup told me it was going to build a non-root user for me to use, I still assumed I'd have to login as root - yeah no.. I have no idea what the root password might be.... so I just moved on to logging in with the user I created during install.

      *Note: I'm putting this here because if you're following along doing this yourself - you should install the XS PV drivers now, not later like I did.

      To install the PV drivers, from within XC, pick the XenTools ISO to load as a CD.
      We need to get ourselves a root prompt

       sudu -s
      

      Now we need to mount the cd to the filesystem, Ubuntu in my case did not automount the disk.

      mount /dev/dvd /mnt
      

      Your device might have a different name. The first instructions I found told me the command should have been mount /dev/xvdd /mnt which failed.

      Change to the Linux (notice capitalization).

      CD /mnt/Linux
      

      I now run the install script. You'll need to change the file name based on whatever version of XS you're running.

      dpkg -i xe-guest-utilities_6.5.0-1436_amd64.deb
      

      Here is the output from that command
      0_1458248801541_ubuntu-01.JPG

      @scottalanmiller tells me that the warning is indicating that old methods have been deprecated, and that we don't need to worry because this is a warning, not a failure.

      Now unmount the ISO

      cd /
      umount /mnt
      

      Well, as I mentioned a moment ago, I wanted to add OpenSSH since I didn't pick it during install

       sudo apt-get install openssh-server
      

      This then prompted me for my non root user password - weird, but OK. It said the install would be 4 MB - OK? I typed y enter and away it went.

      Then I looked up doing updates. I found these three commands:

      sudo apt-get update        # Fetches the list of available updates
      sudo apt-get upgrade       # Strictly upgrades the current packages
      sudo apt-get dist-upgrade  # Installs updates (new ones)
      

      These begged for some more disk space - ok fine.

      Next I moved onto installing XO - looked up the one line command over here:
      http://mangolassi.it/topic/7349/xen-orchestra-on-ubuntu-15-10-complete-installation-instructions

      and ran @scottalanmiller command

      sudo bash
      <password>
      sudo curl https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh | bash
      <password>

      Now what was odd, neither of the commands above actually prompted me for a password. Was that perhaps because I ran a sudo command to install OpenSSH earlier, and now it's cached?

      It's at this point that I actually installed the PV drivers

      Next I wanted to test my SSH connection: launched puTTY and it worked great! (I had a problem with X2Go Client - I'll troubleshoot later)

      Now to launch a webpage to the ip of the XO server.
      reading directions help The default username and password for XO are: [email protected]/admin

      You're greeted with a message about this being installed from source, you should really use the appliance and get support, etc, etc. 🙂 Click OK.

      Now you see
      0_1458249850938_XO-01.JPG

      Adding your XS to the list is pretty straight forward, so I won't bore you with pictures of that.

      Don't forget to change your XO password.

      Now time to explore

      1 Reply Last reply Reply Quote 2
      • StrongBadS
        StrongBad
        last edited by

        Thanks!

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

          I'm glad the guide was of help.

          DashrenderD 1 Reply Last reply Reply Quote 1
          • DashrenderD
            Dashrender
            last edited by

            OK so these instructions take you all the way through XO - but more is always better, right? 😉

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

              @DustinB3403 Majorly!

              Though I don't think we need to add the startup script anymore... the file was already there and populated.

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

                That's because I updated the installer to include the systemctl startup portion that was written by @Danp.

                So it's installed automatically, no more need to say "It'd be great if it started automatically" because now it does.

                Just the OP in the original topic hasn't been updated to reflect that.

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

                  You can read the installer script here.

                  https://github.com/scottalanmiller/xenorchestra_installer/blob/master/xo_install.sh

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

                    @DustinB3403 said:

                    You can read the installer script here.

                    https://github.com/scottalanmiller/xenorchestra_installer/blob/master/xo_install.sh

                    Awww - nice! yeah, time to update the OP in that thread.

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

                      @Dashrender said:

                      @DustinB3403 said:

                      You can read the installer script here.

                      https://github.com/scottalanmiller/xenorchestra_installer/blob/master/xo_install.sh

                      Awww - nice! yeah, time to update the OP in that thread.

                      But I'm SOOOOOO LAZY right now... lol

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

                        You can say that again, guy who won't install Telegram

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

                          @DustinB3403 said:

                          @Dashrender said:

                          @DustinB3403 said:
                          But I'm SOOOOOO LAZY right now... lol

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

                            Updated.

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post