Difference between revisions of "OwnCloud"
|(6 intermediate revisions by one user not shown)|
|Line 18:||Line 18:|
Check the for www ➜ owncloud, then click the “Apply” button to install .
Once installed, go to Tools ➜ Service Manager which will open the screen shown in Figure 9.9b. Highlight the
Once installed, go to Tools ➜ Service Manager which will open the screen shown in Figure 9.9b. Highlight the service and click the "Enable Service" button and then the "Start" button. Repeat for the mysql service.
|Line 27:||Line 27:|
=== Configuring ownCloud === <!--T:21-->
=== Configuring ownCloud === <!--T:21-->
You are now ready to configure ownCloud.
You are now ready to configure ownCloud. , configure the MySQL database, substituting ''ocuser'' and ''mypass'' with the username and password that you wish to use:
|Line 38:||Line 40:|
Next, add the required PHP options to Apache. Open ''/usr/local/etc/
Next, add the required PHP options to Apache. Open ''/usr/local/etc//httpd.conf'' in an editor and look for this line:
Latest revision as of 13:34, 6 September 2013
(Sorry for the inconvenience)
is open source software that allows you to create your own cloud storage. This allows you to share data, contacts, and calendars with other devices and users.
In PC-BSD®, you can create your own private cloud service by installing ownCloud either into a traditional jail that you created using Warden® or into a TrueOS® installation. For security reasons, installing ownCloud directly onto a desktop installation is not recommended, as the web and database services it requires may expose the desktop to security vulnerabilities. If you are installing ownCloud on a PC-BSD® system, create a traditional jail as it isolates the software installed into the jail from your desktop operating system. This section demonstrates how to install and configure ownCloud using Warden®.
 Install and Start the Required Services
First, create a traditional jail using these instructions. Once the jail is created, make sure that the jail has been started, then go to the “Tools” tab of the jail and click the “Package Manager” button as seen in the example in Figure 9.9a.
Check the boxes for databases ➜ mysql56-server and www ➜ owncloud, then click the “Apply” button to install these packages.
Once installed, go to Tools ➜ Service Manager which will open the screen shown in Figure 9.9b. Highlight the apache22 service and click the "Enable Service" button and then the "Start" button. Repeat for the mysql service.
Verify that you can reach the web server by typing the IP address of the jail into a web browser. You should receive an "It works!" message. You will need to first allow incoming TCP port 80 on the jail interface using Firewall Manager if you use a web browser on a different computer.
 Configuring ownCloud
THIS HAS CHANGED
You are now ready to configure ownCloud. Click the “Launch Terminal” button to access the shell of the jail. Then, configure the MySQL database, substituting ocuser and mypass with the username and password that you wish to use:
mysql -u root mysql> create database owncloud; mysql> grant all on owncloud.* to ocuser@localhost identified by "mypass"; mysql> quit
Next, add the required PHP options to Apache. Open /usr/local/etc/apache22/httpd.conf in an editor and look for this line:
#AddType application/x-gzip .tgz
Add the following lines directly below that line:
AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps
Then, look for the following section:
<IfModule dir_module> DirectoryIndex index.html </IfModule>
and change it to:
<IfModule dir_module> DirectoryIndex index.html index.php </IfModule>
Test your changes from a web browser by adding "owncloud" to the end of the IP address of the jail. For example, type http://10.0.0.1/owncloud/. You should see the setup screen shown in Figure 9.9c.
Input the name of the user and password that will be used to administer ownCloud, then click the " "Advanced" button. In the advanced settings, click the "MySQL" tab and input the MySQL username, password, and database name that you configured previously. Click the “Finish setup” button to save your changes and enter your new cloud interface -- shown in Figure 9.9d.
Click the left panel of the interface to access a type of media. For example, if you click "Files" and then the "New" button, you can upload a file, folder, or from a URL. If you click "Contacts", you can add a contact or import/export the address book.
Click the "Settings" icon at the bottom of the left panel to add users, configure applications, change the administrative configuration, and to access "Help".
Instructions for synchronizing the calendar and address book, integrating with a file manager, and integrating with a media player can be found in the. Synchronization clients are available from .