Cloud storage such as Dropbox, Google Drive, and OneDrive are already widely used by people now. With cloud storage, you can store your data and automatically sync it to all your devices so you can easily access your data anywhere and anytime. In addition, with your data cloud storage, it will not be easily lost.
Most storage cloud services offer free storage, but if you need more storage, you have to pay as needed. Indeed the price is practically inexpensive, but if there is free cloud storage, why not?
Fortunately, there are alternatives that you can choose from. One of them is Next cloud, which is open-source cloud storage that is installed and maintained on your own server. In this article, we will discuss NextCloud. But before, we will discuss first what is cloud storage.
What is Cloud Storage?
- 1 What is Cloud Storage?
- 2 You can also read: What is the Internet of Things, How it Works and benefit of IOT
- 3 Why Use Personal Cloud Storage?
- 4 What is Next cloud?
- 5 NextCloud Features
- 6 NextCloud vs. OwnCloud: The Difference Between Two Private Cloud Storage Services
- 7 How to Install NextCloud
- 8 Install Software
- 9 Select Database
- 10 Install NextCloud
- 11 Installation Process
Cloud storage is the term for an online space that you can use to store your data. Same with other types of cloud computing, cloud storage security can also be considered high so you don’t need to worry about the security of your data.
Cloud storage itself has a simple way of working. Users simply upload their files and folders from computers or devices connected to the internet. Later if you need the data you upload, you can just download it from the cloud store. In general, data that has been uploaded to cloud storage is encrypted and can only be accessed by the user who is logged in.
Out there, there are already several free cloud storage services. Some of them are Dropbox, Google Drive, and Apple iCloud. This is an example of a free cloud storage service that you can use directly. You only need to register and you can directly upload and save data.
However, if you want more private cloud storage, you can also create your own cloud storage, you know. This personal cloud storage provides the same options like cloud storage services in general. You can save data, sync between devices, share files and access content from your smartphone. However, there are several benefits that you can get from private cloud storage compared to if you only use cloud storage services.
You can also read: What is the Internet of Things, How it Works and benefit of IOT
Why Use Personal Cloud Storage?
Maybe you are wondering, why use personal cloud storage if you can use existing cloud storage services? Dropbox and Drive are indeed very easy to use. You don’t need to do a lot of settings; You only need to register yourself and you can directly upload your file. In addition, they are also supported by large companies so that they can provide safe and reliable services. But they also have disadvantages.
If you need more storage, you will most likely be charged a fee. The price is not necessarily suitable for all budgets and can change at any time. In addition, by using them, you also actually put your data in the hands of companies that can use or change your data without permission.
In addition, with personal cloud storage, you will have full control over the data, users, and asset information in your cloud storage. With full control, personal cloud storage will also be safer because your cloud storage is only made for you. You can configure the infrastructure and systems at will to achieve a maximum security system.
Not only that, but personal cloud storage also has more efficient performance and better network performance because private clouds are deployed on firewalls on an organization’s intranet. If you want to customize the hardware or other resources, you can also do it easily.
How? Are you interested in using and creating your own cloud storage? This time, we will discuss one of the open-source software that you can use to create your own private cloud storage, namely NextCloud.
What is Next cloud?
Next cloud is open-source software that was first developed in 2016. This software was created to create your personal cloud storage. The features available on Next cloud are arguably equivalent to features provided by cloud storage services such as Dropbox or Google Drive.
To use Next cloud, you can install the server software on a Linux server for free, while the client software can be installed on Windows, OS X, and Linux computers. For mobile devices, Next cloud can be used on Android and iOS.
The following are some of the features of NextCloud:
File sync and share files. Of course, the main function of cloud storage is to store data. NextCloud makes it easy to upload, sync, share and download their files with a user interface that is easy to navigate and use. As you can see above, in this interface you can see the user’s quota and also provide easier sharing options. You can share directly via email, URL, and even social media.
Security is maintained. For security, NextCloud provides two-factor-authentication, the ability to limit logins to specific IP ranges and new token-based entry flows for clients. Not only that, but NextCloud also provides end-to-end encryption for files that you upload to the cloud store.
NextCloud talk. To facilitate communication, NextCloud provides text, audio, and video chat features. This is open-source software that is dedicated to meeting. With end-to-end encryption, they guarantee that no third party will know who, when, and what the content of the conversation is.
NextCloud vs. OwnCloud: The Difference Between Two Private Cloud Storage Services
Maybe you’ve heard the name OwnCloud. OwnCloud is also one of the most widely used private cloud storage services. Actually, NextCloud was founded by Frank Karlitschek who was the founder of OwnCloud. Together with OwnCloud employees who came out, they then worked on the NextCloud project. Well, these two services are now arguably rivals and two private cloud storage services are the most sought after and used by people. Then what’s the difference?
ownCloud and NextCloud have different distribution methods. NextCloud only has one version and all its features are free and open-source. While ownCloud has two versions, namely Enterprise and community. The enterprise version is not open-source and has features that don’t exist in the community version. In terms of features, NextCloud and ownCloud have similar features. Both also offer the same main function; like file sync, file sharing, and much more. But there are a number of features available at NextCloud but none at ownCloud.
NextCloud allows email users to edit documents without the need to log in while ownCloud prohibits this. Then, NextCloud gives full access to users for ownCloud, this feature only exists in the enterprise version. In addition, NextCloud has a locking file feature so you can protect your files while ownCloud does not offer this one feature. For the application, NextCloud has audio and video chat features while OwnCloud does not.
How to Install NextCloud
For this article, we will tell you how to install NextCloud 13 on Ubuntu 18.04.
Of course, you need a web server before you can start installing it. Dewaweb is the best cloud hosting provider in Indonesia that prioritizes speed and security.
The first step to installing NextCloud 13 is to install a web server and PHP. For this tutorial, you are recommended to use Ubuntu 18.04 or higher because it uses PHP7. This tutorial will also install Apache as a web server.
Open the terminal and enter the following command:
# apt-get install apache2 libapache2-mod-php7.0 bzip2 # apt-get install php7.0-gd php7.0-json php7.0-mysql php7.0-curl php7.0-mbstring # apt-get install php7.0-intl php7.0-mcrypt php-imagick php7.0-xml php7.0-zip
Now after you have set up the environment, you just have to choose the database that will support the installation. For this tutorial, we will use MariaDB / MySQL.
To install MariaDB / MySQL software
# apt-get install mariadb-server php-mysql
If you prefer to use MySQL
# apt-get install mysql-server php-mysql
During the installation process, you will be asked to enter the root password. Enter a strong password. If you do not enter a password, they will not provide a password. This can be unsafe so don’t forget to change it!
Now you will be asked to enter the database and you will be asked to enter the password:
$ mysql -u root -p
After you sign in, you can just create a new database:
CREATE DATABASE nextcloud;
Then you need to create a user who will connect to the database:
CREATE USER 'nc_user' @ 'localhost' IDENTIFIED BY 'YOUR_PASSWORD_HERE'
The last step is to provide privileges for new users:
GRANT ALL PRIVILEGES ON nextcloud. * TO 'nc_user' @ 'localhost'; FLUSH PRIVILEGES;
After you are done, you just click Ctrl-D and then exit.
In this step, you need to download the software and extract it using the code below.
# cd / var / www # wget https://download.nextcloud.com/server/releases/latest-13.tar.bz2 -O nextcloud-13-latest.tar.bz2 # tar -xvjf nextcloud-13-latest.tar.bz2 #own -R www-data: www-nextcloud data # rm nextcloud-13-latest.tar.bz2
Now, you need to create a new file in /etc/apache2/sites-available/nextcloud.conf. You are free to use any editor and enter the following lines:
Alias / nextcloud "/ var / www / nextcloud /" <Directory / var / www / nextcloud /> Options + FollowSymlinks AllowOverride All <IfModule mod_dav.c> Dav off </ IfModule> SetEnv HOME / var / www / nextcloud SetEnv HTTP_HOME / var / www / nextcloud </ Directory>
After that, you can just activate the new website and activate the apache mods needed by NextCloud with the code below:
# a2ensite nextcloud # a2enmod rewrite headers en dir mime # systemctl restart Apache2
After you have finished selecting the database, this is the time to install everything. Enter the URL http: // your_ip_address / next cloud and you will be directly connected to the NextCloud login screen.
Select the administrator username and password, then you can choose the data folder. Then click “Storage & Database” to select the database you selected during step 2. Fill everything in and if you have followed all the steps correctly, you should see the File application as below.
Ta-da! Your NextCloud has been successfully installed.
In this article, we have discussed what cloud storage is and its advantages. In addition, we also discuss how to install NextCloud, one of the most popular and widely used private cloud storage services in the world. If you have questions, just leave the question in the comments column below this article. I hope this helps!