;

How to use ownCloud one click app

ownCloud offers flexibility and privacy, and a safe haven for calendars, files, contacts, email and more. You’ll be able to access and share on personal devices.

An enticing aspect of ownCloud is the ability to develop your own personal ownCloud server app. Even if you have no background in app development, ownCloud simplifies the process. Fortunately, with our ownCloud One Click App, you can quickly set up your cloud and leave the remaining details to us.

Creating an ownCloud One Click App

What is an OCA?

In simple terms, an OCA consists of a regular system image the same as if you were going to provision an Ubuntu server. The cool thing here is that we’ve set up special images that have your favorite applications pre-loaded into them.

The reason why you’re doing this is that it’ll speed up your setup time and make sure that the system has the right dependencies to accomodate the app.

Log In

Begin by accessing your account. Once you’re logged in, you’ll see our administrative portal.

Dashboard Customer Portal

Deploy Your ownCloud OCA

An OCA quickens setup time. Like with Ubuntu server provisions, the OCA allows initiation of an image system. There is a library of images for use with any favored apps. They can be pre-loaded into apps. The feature helps ensure your system has all its proper dependencies to accommodate the application.

Creating Instances

An instance is a concrete occurrence that accomplishes a task during running programs. In the case of an ownCloud image, it’s the process of getting your selected image to show up accordingly.

First, you need to click on “Cloud Hosting” located in the navigation menu on the left side of the portal. You will open a window for active instances. Click on “Create Instance.”

2

This action will take you to Instance Creation.

Instance

Use the dialogue box to give your new Instance a name.

Instance Name

Select a Flavor

Flavors are performance packages. They are attributed to cloud orders to limit RAM, CPU and DISK usage. You have two options here: (i) Popular 2 for a small blog or (ii) Popular 3, for active user bases with an accumulation of visitors.

If you’re unsure about which is best, it’s not a problem. You always have the opportunity to upgrade the cloud server’s performance.

Once you have made a choice, select the GET IT button.

Choose Cloud Package

Choosing an Image

You have the option of selecting an image to apply to your cloud server. Click on the Application tab. Find and select ownCloud from the choices.

OwnCloud Instance

Setting Up Access Preferences

Choose to create your Instance with password security or SSH key. For the purposes of this exercise, we will use “Create Instance with a password.”

Instance Password

Creating Your Instance & Network Selection Options

We must now choose whether to use Security Groups. In another article, we describe how to accurately generate and use these actions. For this exercise, we will disable the feature. Now click to create an Instance to complete the task.

Create Instance

Credentials for Access

Your Instance has been created. Check the appropriate email address for server information. This will contain everything you need for your ownCloud deployment and Instance.

Email Confirmation

Testing Access to Your ownCloud

With information in hand, let’s test the ownCloud Instance.
a. Visit your site.
b. Visit provided URL: http://173.209.44.51

OwnCloud Login

Login as Administrator

Access the Administrator Account. Do this utilizing the credentials received via the authorization email. You should land on the dashboard.

Administrator Account

We will now confirm if your ownCloud Instance operates properly.

Let’s configure the Instance, adding content.

Setting DNS Records

Your ownCloud Instance is going to need a domain and DNS records. This allows users to visit the site with the domain name as opposed to needing an IP address. If you have yet to do so, purchase a domain for the site. Ask the GloboTech team whose many services include the selling of domain names.

For now, use the domain “MySuperCloud.com.”

We’re going to create two “A” records. Both will point towards your website’s IP.

As providers can use varying interfaces, your domain may be hosted on separate DNS servers. If this is the case, skip this step. Just make sure both of the following records are available:
o mysupercloud.com to point towards 173.209.44.51
o www.mysupercloud.com to point towards 173.209.44.51

Give these records time to propagate to the Internet. Though many records only take a few hours, it should take no longer than 48.

ownCloud Configuration

While there is documentation on ways to do this, we’ll stick to the initial steps.

Edit Profile

When generating an ownCloud One Click application, create an empty profile. Modify the profile by placing your mouse over the link “user3271” and click on Personal.

12

On this landing page, enter names, passwords, email addys, as well as notification settings.

Account

Configure Site Info

You will now review the Admin page for the entire ownCloud Instance.

Go to the MyUser link at the top right. (It’s now MyUser as we changed the name in the last step.) Select Admin.

myuser

You are now at Main Admin. Here you have the option to establish numerous settings.

Main Admin

Your Instance is ready for production.

Owncloud is a file synchronization and collaboration platform that can run on your own server. Featuring a nice web interface, clients for all major operating systems, and standards-compliant use of APIs and protocols, Owncloud can replace many popular cloud services with a solution that respects autonomy and privacy. In this guide, we’ll install Owncloud on an Ubuntu 16.04 LTS server.

Getting Started

Confirm that you have the following before you follow this guide:
• 1 Node (Cloud Server or Dedicated Server) running Ubuntu 16.
• Root access to the node or one sudo non-root user

If you don't want to go through the whole installation of OwnCloud on your CentOS 7 server, you can always try our One-Click Apps and get a new OwnCloud instance in seconds.

Tutorial

Start by adding the Owncloud package repository. Not only will this be how we install Owncloud, but it will also make upgrades extremely easy later.

nano /etc/apt/sources.list.d/owncloud.list
deb http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/ /

In order to ensure that the packages we install are official, we’ll also retrieve the GPG key for the Owncloud repository we’ve just added.

wget https://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/Release.key
apt-key add Release.key

With the repository installed and the key added, we must next update our package cache so Owncloud is available.

apt-get update
apt-get install owncloud -y

We’ll use MariaDB as Owncloud’s database server. Install that now.

apt-get install mariadb-server -y

The database server must now be secure. Let’s take care of that.

systemctl start mysql.service
systemctl enable mysql.service
mysql_secure_installation

Owncloud needs a database and MariaDB user to access it. Here we’ll create the necessary database and access credentials.

mysql -u root -p
MariaDB> CREATE DATABASE owncloud;
MariaDB> CREATE USER 'cloud'@'localhost' IDENTIFIED BY 'cloudpassword';
MariaDB> GRANT ALL PRIVILEGES ON owncloud.* TO 'cloud'@'localhost';
MariaDB> FLUSH PRIVILEGES;
MariaDB> exit

Your web server needs permission to write to its document root, as files and other synced content must be persisted to the disk. Here we grant it the necessary access rights.

chown -R www-data. /var/www/owncloud/
systemctl restart apache2.service

Everything is now set up on the server itself. The remaining installation steps are performed via Owncloud’s web-based installer. Visit http://your_ip/owncloud to complete the process.

Start by creating your username and password. Not only will this user be able to sync files and store contacts, but it will also have administrative privileges for Owncloud itself.

Choose MySQL/MariaDB as your database server.

Next you’ll enter the database name, username and password that we set up earlier.

Conclusion

Owncloud is now installed. Next you’ll want to install clients on your desktop and phone, and to sync your contacts and calendars using your new installation. Share this article with any friends who may be interested in hosting their own Dropbox or Google Calendar.

How to Install OwnCloud on CentOS 7

Owncloud is like a self-hosted Dropbox and Google Apps clone. It can synchronize files, contacts and calendars between computers and mobile devices. Addons allow for real-time, collaborative document editing. If you’re looking for a security-conscious, private alternative to Dropbox, give Owncloud a shot and see if it meets your needs.

Getting Started

To complete this guide, you will need the following:
• 1 Node (Cloud Server or Dedicated Server) with a clean CentOS 7 installed.

If you don't want to go through the whole installation of OwnCloud on your CentOS 7 server, you can always try our One-Click Apps and get a new OwnCloud instance in seconds.

Tutorial

We’ll start by applying all CentOS 7 updates, pulling in security patches and other bugfixes before continuing with the installation. This step should be performed regularly to keep your Owncloud installation secure and up-to-date.

yum -y update && shutdown -r now

We need to disable SELinux before continuing. SELinux enhances system security, but is difficult to work with and requires indepth knowledge to use effectively.

setenforce 0
sed -i 's/enforcing/disabled/' /etc/sysconfig/selinux

Owncloud works with a variety of databases. For this installation we’ll use MariaDB, the community MySQL fork. Let’s install and secure MariaDB.

yum -y install wget nano mariadb-server php-mysql
systemctl start mariadb.service
mysql_secure_installation

To install Owncloud itself, we need to enable its package repository.

cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/isv:ownCloud:community/CentOS_7/isv:ownCloud:community.repo
yum -y update

Now we install the package. This process should also be done regularly as it will install future updates.

yum -y install owncloud

Apache needs read and write access to Owncloud’s root directory so it can synchronize files and other data. We’ll now grant that, then start the Apache server.

chown -R apache.apache /var/www/html/owncloud/
systemctl start httpd.service

Apache and MariaDB must be set up to launch at boot. Without this, your Owncloud server must be started manually every time your server starts up, which is undesirable for a file synchronization service.

systemctl enable mariadb.service
systemctl enable httpd.service

Owncloud needs a database to run. We’ll create that now, along with a user having all database access privileges.

mysql -u root -p
MariaDB> CREATE DATABASE owncloud;
MariaDB> CREATE USER 'cloud'@'localhost' IDENTIFIED BY 'cloudpassword';
MariaDB> GRANT ALL PRIVILEGES ON owncloud.* TO 'cloud'@'localhost';
MariaDB> FLUSH PRIVILEGES;
MariaDB> exit

The final step is done on the web, the installer. Visit http://your_ip/owncloud to perform this task.

First, set your username and password. These credentials are what you will use to synchronize files, contacts and calendars. This user is also an administrator, meaning it can change settings and create extra users.

For the database server, choose MySQL/MariaDB.

Now you’ll enter your database credentials, along with the database name.

Once complete, you’ll see your main page, with links to the clients and apps you’ll need to continue.

Conclusion

You now have a system that can synchronize all your files and contacts. With client apps available for most operating systems and mobile platforms, it is easy to synchronize everything on your own private, secure infrastructure. If this guide was helpful to you, kindly share it with others who may also be interested.