Book Image

Getting Started with ownCloud

By : Aditya Patawari
Book Image

Getting Started with ownCloud

By: Aditya Patawari

Overview of this book

<p>Making your data easily accessible on multiple devices is the primary goal of ownCloud. It gives you control of your own data along with the flexibility to set it up the way you want it. Community backup to the project ensures high quality software and gives you the power to modify and create features.</p> <p>Getting Started with ownCloud is a practical handbook that provides step-by-step installation and scaling instructions. It will also give you an excellent understanding into how ownCloud can be integrated with components such as LDAP and WebDAV.</p> <p>This book starts with a basic setup of ownCloud for personal use and then clearly scales out various components of ownCloud with examples This book will also help provide you with the understanding to integrate existing systems such as LDAP with ownCloud.</p> <p>Starting from the setup on both Linux and Windows using either SQLite or MySQL, we move ahead to show you how efficiently user management can be done using ownCloud. We also look into storage backends and how to enhance the functionality of ownCloud by using ownCloud apps.</p> <p>You will learn everything you need to know about ownCloud setup and usage for small and corporate scale deployment.</p>
Table of Contents (15 chapters)
Getting Started with ownCloud
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
5
ownCloud Backup, Restore, and Logging
Index

Preface

The primary objective of this book is to provide an introduction to ownCloud, the different scenarios and use cases for it. It'll help beginners and new users to do a basic setup and use ownCloud in their daily lives. The book will also be helpful for advanced users and system administrators who want to indulge in slightly complex tasks such as LDAP integration and backups. For app developers, the book contains an introduction on developing ownCloud apps. After reading this book, the reader should be able to manage personal as well as corporate instances of ownCloud easily.

ownCloud's benefits are manifolds. While many reader might think of it as a tool to store and share files, it is much more than that. In today's world, protecting one's data and privacy from malicious elements on the Internet is of utmost importance. ownCloud gives the user control to their data. Encryption further strengthens the data confidentiality. With ownCloud apps, the functionality of ownCloud increases to a level where it has no match.

What this book covers

Chapter 1, Setting up ownCloud will get the reader started with ownCloud installation. It covers steps to install ownCloud on different operating systems. It also gives minor tweaks for improving the usability and helps the reader in picking up the right database for the different scenarios they may face.

Chapter 2, Usage of ownCloud and Its Apps introduces the reader to some common uses and apps of ownCloud. The chapter shows how common tasks such as uploading and sharing files can be done with ease using ownCloud. ownCloud's syncing capabilities among multitude of devices is highlighted here. Reader will also get a grasp of how to manage events and appointments using the ownCloud Calendar app, and how to use the ownCloud contacts app to maintain address books. We take a step ahead and talk about how to sync the Calendar events and contacts to a compatible third-party application.

Chapter 3, User Management And Admin Tools starts with introducing readers to basic administrative tasks such as users and group creation and management. It goes ahead deeper to accommodate corporate administrators who want to integrate LDAP or Active Directory with ownCloud. Later in the chapter, tips about how to enable file versioning and ZIP downloads are provided.

Chapter 4, Securing your ownCloud will help the readers in increasing the security of their web servers, Apache and Microsoft IIS. Further, the way to secure ownCloud data directory is discussed. Some standard MySQL securing tips are also provided in this chapter. At the end, there is an introductory text to ownCloud encryption.

Chapter 5, ownCloud Backup, Restore, and Logging discusses some common methods of backing up ownCloud and various other components such as database and restoring an ownCloud instance from the backups created before. Readers will also get to know about setting up a syslog server and configuring it to receive ownCloud logs.

Chapter 6, Load Balancing and HA for ownCloud provides with some basic strategies for load balancing large scale ownCloud installations. Readers will learn about setting up shared storage systems, for example, WebDAV and using them for storage instead of regular filesystem. Various load balancing algorithms and methods for Apache and Microsoft IIS are also discussed. At the end, we'll see how to use MySQL cluster feature to scale MySQL database as well.

Chapter 7, ownCloud Application Development will introduce the readers to ownCloud application development. This is particularly helpful to those who wish to extend the functionality of ownCloud. This chapter also presents a walk through a pre-written app as an example to make understand much easier.

What you need for this book

The following are the minimum requirements for setting up ownCloud:

  • A web server (Apache or IIS)

  • PHP and certain PHP libraries as discussed in Chapter 1, Setting up ownCloud

  • A database (MySQL or SQLite)

Other than these requirements, a reader may install certain other components as per the interest and requirement. These tools and software are discussed in chapters individually.

Who this book is for

This book is for all the ownCloud enthusiasts as well as ownCloud professionals. It'll help users in setting up and maintaining ownCloud instances easily while introducing them to the intricacies of the various setups.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "JavaScript files goes in the js directory."

A block of code is set as follows:

<Location />
            DAV On
            AuthType Basic
            AuthName "webdav"
            AuthUserFile /var/www/webdav/passwd.dav
            Require valid-user
</Location>
</VirtualHost>

Any command-line input or output is written as follows:

sudo yum install cadaver
cadaverhttp://webdav.owncloudbook.com

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "We will first have to go to the Familiar Apps section."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.