Use TurnKey to Simplify ownCloud Installation


TurnKey is an convenient way to test new software without changing your work environment. No need to worried about the extra package or configuration might make your system becomes unstable. I like it very much!

I was looking for a Droprbox-like solution for backup small or frequently changed files. It must keep versions, auto-sync, and fast. Iomega Quick Sync is my favorite in 2001 but it’s not available in Linux and haven’t update for a long time. [Cloud] OwnCloud, a self-owned DropBox-Like Server(Chinese Version) catch my eye. Because ownCloud is available on TurnKey, I download and test it in VirtualBox. I also install the ownCloud desktop sync client in OpenSuSE 12.3 and it works great on Linux.

I am going to show you how to test TurnKey ownCloud in VirtualBox and share how I may use it in production.

Download TurnKey ownCloud and Desktop Sync Clients

Before we begin, please install your VirtualBox, download the OVF of TurnKey ownCloud, and the ownCloud Desktop Sync Client you need.

I use VirtualBox on my OpenSuSE 12.3 x64. because it may launch more than one VM concurrently while VMware Player support one at a time.

You may download the VMDK format or the OVF for VirtualBox. OVF may save your time on configuration. For mobile apps, you may paid US 0.99 for the ownCloud Android App in Google play or Amazon. The iOS version is also available for US 0.99, too.

VirtualBox Configuration

With ovf, you may double click on the turnkey-owncloud-13.0-wheezy-amd64.ovf (x.x are numbers which might be different with different version) file and VirtualBox will import configuration automatically.

If you change the default [Name] from vm to something else, please correct the extension name for [Virtual Disk Image] under Hard Disk Controller (SCSI), too.

For those who prefer to create your Virtual Machine in VirtualBox, make sue you have the right network setting as below.

  1. Settings > Network > Adapter 1 > Attach to: Bridged Adapter
  2. In the Name list, choose the network card your host machine is on.

For host computer to access guest service, use the Bridget Adapter setting.

Setup TurnKey ownCloud

When you first launch this VM, it will ask questions as below:

  1. New password for the root account. (It is the same as your Web shell, Webmin, SSH, and SFTP account.)
  2. New password for the MySQL ‘root’ account. (It is the same as your phpMyAdmin account.)
  3. New password for the ownCloud ‘admin’ account.
  4. Initialize Hub services (Skip)
  5. Security Update (Install)
  6. Follow Use a Static IP in TurnKey VM to use a static IP or you need to manually modify account in the  ownCloud Desktop Sync Client when you get a new IP.
Turnkey ownCloud Configuration Console Contains service IP and other configuration tools.
Turnkey ownCloud Configuration Console Contains service IP and other configuration tools.

 

ownCloud Administration Web Interface

Use the static IP in TurnKey ownCloud Configuration Console and the password for admin to login to the Administration Interface.

You may change your preferred language in [admin]→[Personal]→[Language] from the upper-right pull-down menu.

Click on the [ownCloud] or [Files] icons on the upper-left corner will bring you to the web interface. Drag and drop to add files.  To delete a file, click on the cross when you move on the file.

If you want to rollback to previous version, click on the [Deleted files] on the upper-right corner, select the version you want to rollback

Rollback the deleted version you want in ownCloud
Rollback the deleted version you want in ownCloud

 

ownCloud Desktop Sync Clients

Install your ownCloud Desktop Sync Client and launch with [ownCloud desktop client].  There shall be a new cloud-like icon in the bottom panel in GNOME. Right click on the icon and choose [Settings﹍].

Click the [Modify Account] button to launch ownCloud Connection Wizard. It is very important to use http not https in [Server Address].

If you want to use https in ownCloud Desktop Sync Client on Linux or Mac, A warning [Certificate was missing commonName attribute in subject name] will popup and stop the connection. I haven’t figure out how to solve it without real SSL certificates. I will share what I have done and learned in next post.

Thoughts

If you are satisfied and want to use it in production, what can you do with  TurnKey ownCloud? Can you use it immediately?

Yes, of course! You may sync local files to the VM like an individual computer! You might need to configure a bigger storage size for the VM or re-size later.

For safety, it would be a good idea if you may put the TurnKey VM on another internal or external disk in case your hard drive fails.

If you are worried about anything bad to the single Virtual Machine Disk file, you may config ownCloud to save files to a different device. It will be explained in the next post.

Reference

  1. TurnKey
  2. Droprbox
  3. Iomega Quick Sync
  4. Allen’s Open Source IT Solutions: [Cloud] OwnCloud, a self-owned DropBox-Like Server(Chinese Version)
  5. ownCloud
  6. TurnKey: ownCloud
  7. Oracle VM VirtualBox
  8. ownCloud: Desktop Sync Clients
  9. ownCloud.com: ownCloud Android App
  10. Google Play: ownCloud Android App
  11. Amazon: ownCloud Android App
  12. Apple: ownCloud mobile client for iOS
  13. TurnKey: Appliance installation tutorial with VirtualBox
  14. Wiki: VMDK

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.