How to Install OwnCloud 8 to Create Personal Cloud Storage in Ubuntu - Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Wednesday, February 25, 2015

How to Install OwnCloud 8 to Create Personal Cloud Storage in Ubuntu


Hello Everyone,

In this tutorial,

Let Us Install OwnCloud 8 Released – Create Personal/Private Cloud Storage in Ubuntu 14.04, 14.10 LTS -

You Can also Install in Linux Mint17, Debian, Xbuntu

In order to setup your own personal cloud storage (ownCloud), you must have LAMP (Linux, Apache, MySQL, PHP) stack installed. Other than LAMP stack you might need Perl and Python based upon your use.

Step 1 :- sudo apt-get install apache2 apache2-doc apache2-utils mysql-server mysql-client php5 php5-mysql php5-curl.

Create Cloud Database
Once you setup LAMP stack on your personal box, just login to your database (MySQL, here).

Step 2 :- mysql -u root –p

Step 3 :- create database cloud ;

Step 4 :-  grant all on cloud.* to cloud@localhost identified by 'my_password';

Download and Install ownCloud Application



Step 5:- cp owncloud-8.0.0.tar.bz2 /var/www/

Step 6:- tar -jxvf owncloud-8.0.0.tar.bz2

Step 7:- rm -rf owncloud-8.0.0.tar.bz2

Step 8:- chmod -R 777 owncloud/

Configuring Apache for ownCloud

For security purpose ownCloud uses Apache‘s .htaccess files, in order to use them. We need to enable two Apache modules mod_rewrite and mod_headers for ownCloud to function properly.

Step 9:-   a2enmod rewrite
                a2enmod headers

Step 10:- nano /etc/apache2/apache2.conf
There, find “AllowOverride None”  under  Directory /var/www/ and change this to “AllowOverride All”

Step 11:- AllowOverride   All

Step 12:- service apache2 restart
Access ownCloud Application



OR


Error’s
404 Not Found
the requested URL /owncloud/ was not found on this server.
apache/2.4.7 (Ubuntu) Server at myIP Port 80

Edit    /etc/apache2/sites-available/000-default.conf
DocumentRoot  /var/www/html
to
DocumentRoot  /var/www/

Restarted apache

Error’s

sudo apt-get install php5-gd

/etc/init.d/apache2 restart

Error’s

First edit the file apache2

sudo gedit  /etc/apache2/apache2.conf
then find Directory /var/www/ change
AllowOverride none
to
AllowOverride  All

Save & Quit

Restarted apache
sudo service apache2 restart

NOTE :- For Any Clarification Please Below
 
Comment,
Like and
Share  us  and  help us to spread.

####--------------------------------------------------------------------------------------####
Website    :-   http://www.cloudnetwork.in
Twitter     :-   http://twitter.com/itcloudnet
Skype Id  :-   cloud.network1
E-Mail Id :-   itcloudnet@gmail.com
####----------------------------------------------------------------------------------------####                         
Thanking You
Hope U Like it........