Thursday 26 March 2015

Installing OwnCloud 8 on Ubuntu 14.04

Yesterday I found an easier way to install OwnCloud 8 on Ubuntu 14.04 without all of the errors that I was getting installing the packager from the OwnCloud Site.

I used the downloadable package from HERE and used the xUbuntu 1404 instructions with the following additional steps.

Step 1. First of all log in to your server as root and make sure that all packages are up to date.
apt-get update
apt-get upgrade

Step 2. Instal Apache web server on your Ubuntu 14.04 VPS if it is not already installed.

apt-get install apache2

Step 3. Next, install PHP on your server.

apt-get install php5 php5-mysql

Once the installation is done add the following PHP modules required by OwnCloud:

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

Step 4. Install MySQL database server.

apt-get install mysql-server

Step 5. Create a new MySQL database for OwnCloud using the following commands.

#mysql -u root -p
Enter password:
mysql> CREATE USER 'ownclouduser'@'localhost' IDENTIFIED BY 'YOURPASSWORD';
mysql> CREATE DATABASE ownclouddb;
mysql> GRANT ALL ON ownclouddb.* TO 'ownclouduser'@'localhost';
mysql> FLUSH PRIVILEGES;
mysql> exit

Step 6. Add the repository too the apt source list.

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud.list"

Step 7. Install the key for the new repository by running the following commands:

wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/Release.key

sudo apt-key add - < Release.key 

Step 8. Update the apt repository list

sudo apt-get update

Step 9. Install OwnCloud

sudo apt-get install owncloud

Step 10. Go to your newly installed OwnCloud install by putting http://serverip/owncloud in the browser.

Step 11. Add an admin user and password


Step 12. Click on Storage and Databases


Step 13. select mysql


Step 14. Add the database settings and click finish configurations.

Step 15. The writing on the Finish Configuration will change to Finishing and the browser will be greyed out while the settings are configured.
Step 16. Once the configuration hasfinished you will see the Welcome screen OwnCloud is now installed.






No comments:

Post a Comment