Saltar al contenido
Contact : alejandrasalcedo0288@gmail.com

Own cloud in Ubuntu without storage limits

own-cloud-principal-web "width =" 700 "height =" 500 "class =" aligncenter size-full wp-image-25505 "srcset =" https://rootear.com/files/2015/02/own- cloud-principal-web.jpg 700w, https://rootear.com/files/2015/02/own-cloud-principal-web-400x285.jpg 400w, https://rootear.com/files/2015/02/ own-cloud-principal-web-220x157.jpg 220w "sizes =" (max-width: 700px) 100vw, 700px "/></p>
<p><strong>This is not the first time we talked about ownCloud</strong>, we already tell you how to create your own cloud with your Raspberry Pi and today we will show you how to do it in Ubuntu.</p><div class=

For those who do not know ownCloud is a free software under AGPLv3 license with a slight Dropbox resemblance but one step ahead, the biggest difference with other rival solutions is that it is totally free, so anyone can install it and use it on a private server as their own cloud without size restriction or connected users. Owncloud is prepared in PHP and JavaSriptFor remote access use SabreDAV, a free WebDAV server, is ready to work with any database system, be it SQLite, MariaDB, MySQL or PostgreSQL.

As for synchronization, we have clients both for desktop, with clients on Linux, Windows and Mac OS X and mobile with clients for Android and iOS. Although we can consult the files from a web browser without the need for additional software. The full features of ownCloud are:

  • Interface and fluid user experience.
  • Encrypted of files
  • Synchronization between cross-platform clients
  • Calendar integrated
  • Possibility of using it as things to do
  • possibility of streaming music
  • Document Editor on-line
  • Viewer of Photos
  • Video player
  • Reader of PDF
  • File Reader ODF
  • One-click installation of several applications
  • Possibility to use Amazon S3, Google Drive or Dropbox space as storage
  • Address shortener integrated

Installing ownCloud on Ubuntu

We will proceed to install and configure ownCloud in Ubuntu without many complications, by previously adding a PPA to our software sources, we open a command window:

sudo add-apt-repository
sudo apt-get update
sudo apt-get install owncloud

Now we are going to give write permissions to the software folder:

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

In this step we will secure our Apach server, we activate SSL:

sudo apt-get install openssl
sudo a2enmod ssl
sudo a2enmod rewrite

Then we will create a certificate with this command:

sudo mkdir -p /etc/apache2/ssl
sudo openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/owncloud.pem -keyout /etc/apache2/ssl/owncloud.key

We verify which is our IP with the command ifconfig, we write down our IP address and use the following command:

sudo nano /etc/apache2/sites-enabled/owncloud.conf

Once you open the file, copy this code in it:

 

#### Redirect to port 443 ###
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 (NC,R,L)
#### End of Redirection configuration ###

DocumentRoot /var/www/html/owncloud/

    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Require all granted






####Configuration for SSL #####
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/owncloud.pem
SSLCertificateKeyFile /etc/apache2/ssl/owncloud.key
#### End of SSL Configuration ####

DocumentRoot /var/www/html/owncloud/

    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Require all granted


We must place our IP address in the field that requires it, once done we restart Apache:

sudo service  apache2 restart

We just have to open our browser and type:

http://127.0.0.1/owncloud

We open the ownCloud homepage and we will only have to access:

own-cloud-browser "width =" 700 "height =" 500 "class =" aligncenter size-full wp-image-25503 "srcset =" https://rootear.com/files/2015/02/own-cloud- browser.jpg 700w, https://rootear.com/files/2015/02/own-cloud-navegador-400x285.jpg 400w, https://rootear.com/files/2015/02/own-cloud-navegador- 220x157.jpg 220w "sizes =" (max-width: 700px) 100vw, 700px "/></p>
<h2>Making ownCloud accessible in our network</h2>
<p>Now <strong>We are going to change the configuration to access ourCloud on our network from any device.</strong> We will do this by entering these commands in the terminal:</p>
<pre>sudo cp /var/www/owncloud/config/config.php /var/www/owncloud/config/config.php.backup
sudo gedit /var/www/owncloud/config/config.php
</pre>
<p><strong>Then copy the following text</strong> in the file before the line <strong>‘Datadirectory’ =>… ..</strong> and modify the parameter with your IP:</p>
<pre>'trusted_domains' =>
array (
0 => '192.168.1.142',
),
</pre>
<p>In this way <strong>we can access our ownCloud from any device that is connected to the same network as our device</strong> opening the browser and entering the IP followed by the ownCloud directory:</p>
<pre>https://192.168.1.142/owncloud
</pre>
<hr/>
<p>We will have our own cloud, we will not have to worry about the security of our files, server performance or storage capacity limits. In other words, <strong>we will have our own cloud functional and with very little work.</strong> <em>If you have doubts, don't forget to comment.</em></p>
<p>								  . (tagsToTranslate) Cloud Storage (t) Apache (t) Owncloud<br /></p><div class=

Rate this post