Owncloud: how to have your own cloud in ubuntu
Table of contents:
- ownCloud: How to have your own cloud in Ubuntu
- What is ownCloud?
- Benefits of using ownCloud
- Dependencies Installation
- Installation and configuration
In computing terms, a cloud is a network attached storage device (NAS). An example of these services are Dropbox, Box or Google Drive, these are considered public clouds. Another category is private clouds, which are used mostly in organizations, but can also be very useful at home. An example for your use may be creating a centralized media library. That is, having a centralized point for your movies, videos, music, photos, etc. where all users can access from any place and device in the home. For this reason, among others, today we bring you an ownCloud tutorial : How to have your own cloud in Ubuntu.
ownCloud: How to have your own cloud in Ubuntu
What is ownCloud?
It is a client that provides synchronization and file sharing services, while it is hosted on your servers and using its storage. Additionally, it offers the possibility of having access control and permission of connected users. With ownCloud, users can have universal access, supported by security systems, policies and management tools.
On the business front, ownCloud offers a business file sync solution that allows users to access files on any device, anytime, anywhere. allowing to manage and control the activity of file sharing, through auditing. These actions to guarantee compliance with security measures, through a single interface for all disparate systems.
Benefits of using ownCloud
- You decide where to store the files. You manage your own server, it can even be your own computer. You use your own storage and decide how to distribute it. You can establish security and administration policies. It offers encryption 2.0. It provides Firewall, that is, you can define advanced rules to control access to data, based on user connections, time of day, device, IP, geography, and other relevant criteria. May include file analysis. Provides a management API. Can be integrated into existing backup solutions. Allows customization of appearance settings to integrate with other applications. Provides features and resources for access from mobile applications.
It may interest you: Dropbox: we explain its new features
Dependencies Installation
Before installing ownCloud, we proceed to install the necessary requirements on our computer.
First, the LAMP server will ask you for a password associated with the MySQL Database, it is important that you remember it later. We execute the following:
sudo apt-get install lamp-server
sudo mysql_secure_installation
We insert the following codes:
change root password
Click on No. and insert the following code:
remove anonymous users
Click on Yes. And we insert the following code:
disallow remote root logins
Click on Yes. And we insert the following code:
remove test database and access to it
Click on Yes. And we insert the following code:
reload privilege tables
Click on Yes. And we insert the following code.
Then we proceed with these dependencies:
sudo apt-get install php5-gd php-xml-parser php5-intl smbclient curl libcurl3 php5-curl
Then, we must enable certain Apache modules, in order for ownCloud to work normally. The modules are: mod_rewrite and mod_headers and we enable them with the following lines:
sudo a2enmod rewrite
sudo a2enmod headers
To finish, we edit the Apache2 configuration file to enable the rules of the ownCloud rewrite module to work.
sudo nano /etc/apache2/apache2.conf
Being in the edition of the file, we located the section
Installation and configuration
Once the requirements are verified, now if we are going to download the latest version, additionally we grant the necessary permissions, for this, we run the following command lines:
wget http://download.owncloud.org/community/owncloud-latest.tar.bz2 tar -xjf owncloud-latest.tar.bz2 sudo mv owncloud / var / www / html / cd / var / www / html / sudo chown -R www-data: www-data owncloud
Following this we need to create a database. So we go into MySQL and add one:
mysql -u root -p CREATE DATABASE owncloud
We assign the user owncloud our preference password and exit MySQL:
GRANT ALL ON owncloud. * TO 'owncloud' @ 'localhost' IDENTIFIE quit
To finish, we enter our ownCloud cloud, from our favorite web browser placing in the address bar “ ip / owncloud “, the ip address can be consulted with the ifconfig command .
WE RECOMMEND YOU What is Windows 10 N and KNHere we will create the administrator account, leave the configuration settings in the same way, fill in the data from the database (with the one we created in the previous step), click on "complete the installation" and voila! At the moment of entering, we viewed the links to download both the desktop client and our SmartPhone.
This is a bit of a laborious process, but it will surely be worth it for all the benefit we can get from our particular cloud. Enjoy it! You can leave any questions or suggestions in the comments. We recommend reading our tutorials and if you have any questions, you can contact us.
Create your own emojis with these applications
Create your own emojis with these applications. Discover these applications with which you can create your own emojis on Android.
Nintendo labo, create your own accessories with cardboard
Nintendo Labo announced, kits with cardboard pieces for users to create their own accessories and toys.
Airbuddy: the integration of your airpods on your mac as on your iphone
AirBuddy is a new utility that brings all the integration of AirPods to your Mac as if it were an iPhone or iPad.