User Tools

Site Tools


linux:owncloud:installation

OwnCloud Installation

If you try to start OC appliance (Ubuntu_14.04-owncloud-9.1.4-1.1-201702081724-disk1.vmdk) on VMware ESXI, you will probably get an error:

Failed to start the virtual machine.
Module DevicePowerOn power on failed.
Unable to create virtual SCSI device for scsi0:0, '/vmfs/volumes/56fab8a0-35277bdd-7efd-002590149f36/Virtualke/OwnCloud_9.1.4/Ubuntu_14.04-owncloud-9.1.4-1.1-201702081724-disk1.vmdk'
Failed to open disk scsi0:0: Unsupported or invalid disk type 7. Ensure that the disk has been imported.

I am sure that there is a better way but workaround that I've found (https://www.youtube.com/watch?v=Xld8MbVQdbE) is to load the .vmx to VMware workstation first, and then upload it to ESXI. After that it will start without error message !

By default your OC appliance is configured to get the IP address from DHCP server. If you want to fix your IP address and don't know much about Linux, you can do it like this:
https://help.ubuntu.com/community/NetworkConfigurationCommandLine/Automatic

1. On OC console login as admin.
2. Type

sudo -i

3. Type

ip addr

This will list the interface names for all NICs on your computer. It will probably include eth0 (hardwired NIC), lo (loopback interface for the localhost), and something for your wireless card (like wifi0, or wlan0).

We will use eth0 in this example, your interface can be named differently, see Finding your network interface.

If you have disabled the either wicd or the network manager you probably don't have a network connection anymore. Connect via a regular UTP cable to your router, and assuming you have DHCP enabled do the following:

sudo ip link set dev eth0 down
sudo dhclient eth0

This will bring your eth0 up by using DHCP. Your network is now configured (for the time being).

If you don't have DHCP enabled configure your network by issuing the commands below, the gateway address is the IP address of your router. And your IP should be in the same range as the router is.

sudo ip addr add 192.168.1.14/24 dev eth0
sudo ip link set dev eth0 up
sudo ip route add default via 192.168.1.1

These commands configure your interface but these changes will not survive a reboot, since the information is not stored anyhwere. This is where the interfaces file comes in handy. To configure a interface permanently you'll need to edit the interfaces file, /etc/network/interfaces.

sudo vi /etc/network/interfaces ***************

There is aline:

source /etc/network/interfaces.d/*.cfg ***

meanining that all the .cfg files from interfaces.d folder are included, so we will not edit the current file, but open location

/etc/network/interfaces.d/ 

and open eth0.cfg in editor !!!!

change it accorrding to your situation:

## To configure a dynamic IP address
auto eth0
iface eth0 inet dhcp

## Or configure a static IP
auto eth0
iface eth0 inet static
  address 192.168.1.14
  gateway 192.168.1.1
  netmask 255.255.255.0
  network 192.168.1.0
  broadcast 192.168.1.255

For these settings to take effect you need to restart your networking services.

ifdown -a -to stop your ethernet
ifup -a to start it again
linux/owncloud/installation.txt · Last modified: 2017/08/27 08:23 by rplecko