Installing and configuring ownCloud
I figured we'd end this chapter with a fun activity: setting up our very own ownCloud server. ownCloud is a very useful web application that's handy for any organization. Even if you're not working on a company network, ownCloud is a great asset for even a single user. You can use it to synchronize files between machines, store and sync contacts, keep track of tasks you're working on, fetch e-mail from a mail server, and more. To complete this activity, you'll need a server to work with. You can use your existing web server, if you prefer.
You'll also need an installation of MySQL or MariaDB, as ownCloud will need its own database. We went over installing and managing MariaDB databases in Chapter 9, Managing Databases. I'll give you all the commands you'll need to set up the database in this section, but refer back to Chapter 9, Managing Databases if any of these commands confuse you.
To get started, we'll need to add a repository for ownCloud on our server...