Friday, 11 March 2016

How To Install ownCloud 7 Server & Client On Ubuntu 14.04



How To Install OwnCloud Client In Ubuntu 14 LTS


1. Login System with root / sudo permission.


# sudo apt-key add - < Release.key

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


# sudo apt-get update

# sudo apt-get install owncloud-client

Now, OwnCloud Client Installed.

Type "ownCloud" in the search field on your desktop to find the newly installed client app and open the ownCloud-client.


Ref:

https://www.howtoforge.com/tutorial/install-owncloud-client-on-ubuntu-14-04/




Installation of ownCloud 7 Server In Ubuntu 14.04 LTS


Installation :


OwnCloud is a web application that can store and serve content from a centralized location, much like Dropbox. The difference is that ownCloud 7 allows you to host the serving software on your own machines, taking the trust issues out of putting your personal data someone else's server.
We will first download the release key associated with the ownCloud software:
# cd /tmp
# wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/Release.key
# sudo apt-key add - < Release.key


Then we can add the ownCloud 7 repository as follows:
# sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud.list"



Finally, update the package database and install ownCloud:
# sudo apt-get update
# sudo apt-get install owncloud



ownCloud 7 configuration on Ubuntu 14.04

Further we need to install Mariadb(Mysql) to get the configurations as follows:
# sudo apt-get install mariadb-server
It will ask for password input, just enter your desired password there.
We will be configuring our ownCloud server to take advantage of the more robust MySQL database instead of the SQLite default implementation. To do so, we must configure MySQL first as:
# sudo mysql -u root -p'password'
CREATE DATABASE owncloud;



Create One MySQL User with Root Privileges :

MySQL > CREATE USER 'dbadmin'@'%' IDENTIFIED BY 'password';

MySQL > grant all on *.* to 'nagios'@'%' with grant option;

MySQL > flush privileges;

MySQL > \q


Now Browse OwnCloud Server with Server IP :
























Create One Admin User with Password;

User Name : admin
Password : admin

Click on Storage & database:






















Now select MySQL/MariaDB and create an admin account as in my case I have choosen owncloud as my admin account and a desired password for that user:























In the lower tab below the MySQL/MariaDB give the entry of the username=owncloud password=database_password databasename=owncloud.
Then press Finish setup.










































Ref:

https://www.howtoforge.com/how-to-install-owncloud-7-on-ubuntu-14.04
https://www.howtoforge.com/how-to-install-owncloud-7-on-ubuntu-14.04-p2

No comments: