uBuntu – ownCloud 7 Install on Ubuntu 14 Server


Part 1 – Updated how to install ownCloud 7 onto Ubuntu 14.04.1 LTS Server

Part 2 – Configure SSL for secure owncloud access

Commands used in the video:

***************
Change to fixed ip

sudo nano /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.11
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254

New location for the DNS settings by editing the resolvconf file:

sudo nano /etc/resolvconf/resolv.conf.d/base

nameserver 192.168.1.254

********

sudo service networking restart

or

sudo /etc/init.d/networking restart

********

make sure that all packages are up to date

sudo apt-get update
sudo apt-get upgrade

Extra packages required by owncloud

sudo apt-get install php5 php5-mysql php5-gd php5-json php5-curl php5-intl php5-mcrypt php5-imagick

restart apache

sudo service apache2 restart

*********

Get owncloud – current latest is 7.0.2

wget https://download.owncloud.org/community/owncloud-7.0.2.tar.bz2

Extract to apache webservice

sudo tar -xvf owncloud-7.0.2.tar.bz2 -C /var/www/html/

Change permissions so owncloud can access

sudo chown www-data:www-data -R /var/www/html/owncloud/

**********