Cloud storage is used not only in companies and corporations, but also in the daily lives of citizens. The main purpose is to back up important information and share files. Consider installing and configuring one of the representatives – ownCloud. Let’s take Ubuntu 16.04 as the operating system.
The server platform must have the LAMP package. If it doesn’t exist, then enter:
sudo apt-get install tasksel
sudo tasksel install lamp-server
Important! In the repositories of Linux systems there is a ready-made LAMP package.
Download the latest release from the official website using the Wget utility. First, let’s move the distribution to the temporary repository directory to install a trusted certificate:
wget -nv https://download.owncloud.org/download/repositories/production/Ubuntu_16.04/Release.key -O Release.key
sudo apt-key add -
Now we will write the ownCloud website in the official list of updated Ubuntu software, and then install:
sudo echo 'deb http://download.owncloud.org/download/repositories/production/Ubuntu_16.04/' > /etc/apt/sources.list.d/owncloud.list
sudo apt-get update
sudo apt-get install owncloud-files
Let’s move on to setting up the server side.
Let’s edit the owncloud.conf template via vi or nano. Add the following lines:
Alias /owncloud "/var/www/owncloud/"
SetEnv HOME /var/www/owncloud
SetEnv HTTP_HOME /var/www/owncloud
Create a link using the ln command:
ln -s /etc/apache2/sites-available/owncloud.conf /etc/apache2/sites-enabled/owncloud.conf
We adjust the access rights to the ownCloud folder by adding the -R level.
How to connect to storage
We open the browser. In the address bar, enter the IP address of the virtual server on which the cloud is installed. At the end, add “/owncloud” through.
The login page will be displayed. Given that this is the first login, we create an administrator account. As an example, we use the name Admin, and we come up with a password ourselves:
Screenshot #1. Administrator registration.
Important! Be sure to specify the path to the working folder (Data Folder).
After a successful login, switch to the Admin profile and add new clients if necessary. The option is available in the “Users” section.
The WebDAV protocol is also used to connect to the cloud. Let’s talk about the example of the CyberDuck program, which can be downloaded on the official website: https://cyberduck.io/download/ .
Install the utility, go to the “Settings” section, select a new connection and set the following parameters:
Screenshot #2. Create a connection.
In the line “server” we write the IP address of our server with the addition of “/owncloud”. User and password – add the account name and key that are registered in ownCloud. In our example, we use admin. Now we use CyberDuck to work with cloud storage.
Welcome to the world of DomainRooster, where roosters (and hens) rule the roost! We're a one-stop shop for all your entrepreneurial needs, bringing together domain names and website hosting, and all the tools you need to bring your ideas to life. With our help, you'll soar to new heights and hatch great success. Think of us as your trusty sidekick, always there to lend a wing and help you navigate the sometimes-complex world of domain names and web hosting. Our team of roosters are experts in their fields and are always on hand to answer any questions and provide guidance. So why wait? Sign up today and join the ranks of the world's greatest entrepreneurs. With DomainRooster, the sky's the limit! And remember, as the saying goes, "Successful people do what unsuccessful people are not willing to do." So don't be afraid to take that leap of faith - DomainRooster is here to help you reach for the stars. Caw on!