Before installing ownCloud on your server, you should follow the steps that we covered in the previous section:
- Make sure your server runs PHP 5.4 or preferably greater, as well as MySQL server, at least in version 5.
- Update your PHP configuration file accordingly, taking particular care of the directives pertaining to the maximum file-upload size.
- Create a PHP–FPM pool dedicated to ownCloud. Set up a SQL database and user.
- Once all of these steps have been covered, you are ready to begin downloading and extracting ownCloud. Head over to ownCloud.org and obtain the URL of the latest version, then run the following commands:
/home/owncloud/www# wget https://download.owncloud.org/community/owncloud-10.0.4.zip/home/owncloud/www# ...