Welcome back everyone to part 2 in this series of How to Install ownCloud on Ubuntu using Hyper-V, today we will be going through on getting the OS installed and configuring network settings.
Let’s start off by getting our VM started and walk through the initial install steps
Installing Ubuntu 14.10 on Hyper-V
Once you start up the VM it should boot off of the .iso that we attached earlier and ask for your language of choice
Select your preferred language and hit enter key, at the next screen select the top option to “Install Ubuntu Server”
The next few screens of the installation will ask you about keyboard layout and what your hostname should be, I opted for applinux
During the install process, you will be asked if you want to encrypt your home directory, this is a personal preference and for my scenario, I opted not to encrypt only the home folder but instead do a entire disk encryption.
Since this VM will be holding sensitive information outside of the home directory, lets setup partitioning to also encrypt the entire drive. Now why would I want to do this? Well, let’s say someone is able to get onto my Hyper-V host and has the ability to copy/clone/VSS my VM and now they have a version of my Linux App Server….well it won’t be of any use unless they are able to provide the correct key to decrypt!
Be sure that you remember what the encryption key is that you are setting, I would hate for you to lock yourself out of your own server 🙁
Install OpenSSH when you’re given the option, apache2 and mysql will be installed at a later time.
The reason we want to install OpenSSH now is so we can remotely SSH into this server using Putty when the OS finishes installing. From there, we can quickly copy/paste commands into the window because Hyper-V can be finicky when it comes to that. In the meantime, I suggest you go grab your favorite SSH client (mine is Putty) and have it ready for the next portion of this guide.
Once the VM finishes installing and restarts, it will prompt you to login. Once logged in, you should have a similar logon information as below.
Alright folks, this looks like a good spot for me to stop for this iteration in the guide. This should give you a chance to mess around with the install process and allow you to fine tune it to your needs before we start installing ownCloud.
Good luck and see you next time!