Instead of going straight to installing Linux on a server I want to do some test runs, just to see if everything actually works. I am not experienced enough to make any real security checks, but will try some guides I have found online for securing the server. On a virtual server I can mess up as much as I want, and just recover from an earlier snapshot if I want to revert back to where it worked.
Naturally the first thing to install is the operating system. As mentioned I will be using Debian, and installing as few components as possible. The server hardware could probably cope with a full install, but just in case I want it as basic as possible. Any necessary bits will be installed manually if needed.
Now, this is where the first little flaw showed itself. I did try this at home in a test before and everything worked fine. Debian got installed without any issues. This time however I am on a virtual machine. The IP for the Debian installer was on another subnet, and I could not connect to it through SSH. A minor setback, but I am sure I can work around it somehow. For now I have to continue the installation process from VirtualBox, and just pretend its through SSH. It looks the same anyway.
*Edit: I figured it out, check bottom of the page!*
Thats it for installing Debian. Some trouble with the SSH connection, but that might be the office wireless network I am currently connected to. I will have to test it again on a network I control myself.
Next up is installing ownCloud. For testing I might even have to run two virtual machines in parallell. The other machine should be a Windows machine running the ownCloud desktop client, to test syncing and usability.
With some testing I figured out why I could not connect to the virtual machine through SSH. The network settings was all wrong, and it ended up on a different subnet. Using bridgemode in the virtual machines network settings gave it it’s own IP address, and I was able to connect through SSH again, and later on hopefully through a web browser as well!