(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 the devices and users that you define.
In PC-BSD®, you can create your own cloud service by installing ownCloud into a traditional jail that you created using Warden®, or into a TrueOS® installation. For security reasons, it is recommended to not install ownCloud directly onto a desktop installation as the web and database services it requires may expose the desktop to security vulnerabilities. If you are installing ownCloud on your desktop, a traditional jail is recommended as it isolates the software installed into the jail from the desktop system.
Install and Start the Required Services
If you are installing ownCloud into a traditional jail, make sure that the jail is started, then go to the Packages tab of the jail as seen in Figure 9.9a.
Figure 9.9a: Install the Required Packages
Check the box for Database-Servers -> MySQL and the box for Web-Servers -> Apache, 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. Start the Apache and MySQL services and change their status to Enable Service so that they are started whenever the jail is available.
Figure 9.9b: Start the Required Services
Verify that you can reach the web server by typing the IP address of the jail into a web browser. You should receive a "It works!" message. You will need to first open TCP port 80 using Firewall Manager if you use a web browser on a different computer.
If you are installing ownCloud onto a TrueOS™ system, you will need to create the jail and install the dependencies from the command line. When creating the jail, specify the jail IP address and hostname as seen in this example:
warden create 192.168.0.45 owncloudjail --startauto pc-metapkgmanager --pkgset warden --chroot /usr/jails/192.168.0.45 add MySQL,Apache,PHP
Once the software is installed, edit the /etc/rc.conf file within the jail to start the required services:
warden chroot 192.168.0.45 vi /etc/rc.conf
Add these two lines to that file:
Save your edits then start the services:
usr/local/etc/rc.d/apache22 start /usr/local/etc/rc.d/mysql-server start
Verify that you can reach the web server by typing the IP address of the jail into a web browser. You should receive a "It works!" message. You will need to first edit /etc/pf.conf in order to open TCP port 80 using if you use a web browser on a different computer.