Create your own cloud with OwnCloud and a Raspberry Pi

Owncloud

If you have a Raspberry Pi Surely on more than one occasion you have looked for some type of project to be able to configure it and that acts well as a console, a multimedia center for the whole home or directly as a nerve center for some much more ambitious and different project. We are truly talking about a card that today offers us tremendous freedom to make everything that comes to mind come true.

Returning a little to the topic that brings us together today, tell you that after several tests I want to tell you the necessary steps to take if you want to set up your own personal cloud with a Raspberry Pi. For this, perhaps one of the most interesting methods is to use the service OwncloudAlthough it is not the only one, the truth is that, at least personally, it is the one that I have found the most interesting in terms of characteristics of all the ones I have seen.

Building our own cloud thanks to OwnCloud and Raspberry Pi

 

As details to take into account, tell you that, at least for the moment, we will focus on installing the program and configuring it to be able to access from our local network in a way that allows us save our files to an SD card located on the Raspberry Pi. A very interesting step, something that we will leave for later, is to be able to configure the Raspberry Pi so that, instead of being limited by an SD card, we can use a hard disk of much more capacity as storage and even be able to connect to this service from anywhere part of the world.

1. Update the Raspberry Pi

sudo apt-get upgrade && sudo apt-get update

2. Install Apache web server and PHP. Essential to be able to make OwnCloud work

sudo apt-get install apache2 php5 php5-json php-xml-parser php5-gd php5-sqlite curl libcurl3 libcurl3-dev php5-curl php5-common

3. Download OwnCloud

wget download.owncloud.org/community/owncloud-5.0.0.tar.bz2

4. Unzip

tar -xjf owncloud-5.0.0.tar.bz2

5. Copy to Apache directory

sudo cp -r owncloud /var/www

6. Give OwnCloud permissions to access the server folder

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

7. Restart Apache

sudo service apache2 restart

8. Edit maximum file upload size

sudo nano /etc/php5/apache2/php.ini

When entering this file we have to and overwrite the variables "upload_max_filesize" and "post_max_size" with the maximum size of the file.

9. Restart Apache

sudo service apache2 restart

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

Be the first to comment

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.