Well, let's then make the QNAP as DropboX like as possible! :)
After searching, I found the Wiki to install OwnCloud in a NAS - Wiki Here
However, this guide is applicable only to version 4 of the OwnCloud, and there seems to be some parts of it that is no longer required.
Disclaimer:
I did notice some problems in the forum on Owncloud 5.0 on the QNAP. Some reverted back to 4.5.11 build for better stability. While the forum posts are dated in May-2013, if you're worried about the possibility of conflicts or problems, I'd suggest going through the new features of the 5.0 and verify that if you don't need any of them, then please use the stable-build of 4.5.11.
Some of the forum entries are:
- Goodbye Owncloud
- Install OwnCloud on your NAS - seems easy...
For a start, the list of things I have are:
- QNAP TS-419PII
- Update to the latest version of firmware, 3.8.3
- 2x 320GB hard-disks with RAID-1
- OwnCloud 5.0.6
- OwnCloud Documentation (Here)
- Enable the QNAP services for Telnet/SSH
- Enable the QNAP services for Web Server
- Install IPKG Optware in the QPKG Centre
- I did not install PHP 5.3 as it's already on PHP 5.3
- Download and unpack the latest version of OwnCloud and place it in the /web share
- Set the permission using chmod command via putty into the NAS
- Enable MySQL Server in QNAP Applications, but i did not want to tick the 'allow TCP connection' to prevent intrusion and hacking of the DB
- Reset the root password
- Install PhpMyAdmin in the QPKG Centre
- Remove all other applications that I do not use like Video station, Music station, etc...
- I will need to access mySQL database first to change the default password because root password as default is no good! (MySQL guide here)
- I will need to access via phpmyadmin but i can't login via admin
- I don't want to enable the TCP connection, so...
- Open up Windows Explorer, go to the path: \\(your NAS IP)\Web\phpMyAdmin
- Look for config.inc.php, change the value for
$cfg['Servers'][$i]['host'] = 'localhost'; - Leave everything else the same. Note that the value was previously 127.0.0.1
- Proceed with login to PhpMyADMIN web-console (https://(ip)/phpMyAdmin), with default username: root, password:admin
- If you still can't login, just remember to reset the password from inside the QNAP Admin console.
- Immediately change password for the root account to access the phpMyAdmin
- Go to Privileges, create a new mysql account: owncloud1, set password accordingly.
- Set the location to 'localhost' instead of '%'
- Tick on the Create database with samename and grant all privilleges
- Click on Check All for the privileges, then untick the SUPER under Administration
- Login to web-console for owncloud (https://(ip)/owncloud)
- Create an admin account, I'll use owncloudadmin, with a new password - different from mySQL pls...
- Click Advanced
- Set DB to MySQL
- insert MySQL Details
- User: owncloud1
- Password: the password you've set for the user
- DB name: owncloud1
- Leave the localhost alone.
- Completed!
Now that OwnCloud is set-up, let's proceed with administering to owncloud!