For hardened security we recommend setting the permissions on your ownCloud directories as strictly as possible, and for proper server operations. As well as the program you install on your server, it has free desktop sync clients for Linux, Windows and Mac, and apps for Android and iOS.
The easy way to set the correct permissions is to copy and run the script, below. If you are already using software that uses databases like WordPress then you probably already have a database root username and password, and can skip this step. Replace the ocdata variable with the path to your ownCloud data directory.
Install mysql server and client: sudo apt-get update sudo apt-get install mysql-server mysql-client The package installation will bring up a configuration wizard. Replace the linkapps-external variable with the path to your ownCloud linked apps-external directory. Now extract the.
First, install Apache 2 and some other bits. If you have already created an external data and apps-external directory which you want to link, set the paths above accordingly.
Now copy the link address of. Print the full file name on the standard output, followed by a null character xargs This should be done immediately after the initial installation and before running the setup.
You should be greeted with an installation wizard.