Ubuntu 15.10 installing for the first time
-
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 promptsudu -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
@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-instructionsand 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]/adminYou'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
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
-
Thanks!
-
I'm glad the guide was of help.
-
OK so these instructions take you all the way through XO - but more is always better, right?
-
@DustinB3403 Majorly!
Though I don't think we need to add the startup script anymore... the file was already there and populated.
-
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.
-
You can read the installer script here.
https://github.com/scottalanmiller/xenorchestra_installer/blob/master/xo_install.sh
-
@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.
-
@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
-
You can say that again, guy who won't install Telegram
-
@DustinB3403 said:
@Dashrender said:
@DustinB3403 said:
But I'm SOOOOOO LAZY right now... lol -
Updated.