In order to follow this tutorial, you should have completed the Configuring a webserver as host tutorial, and therefore having a configured webserver and a copy of ocs-server installed and working. You should see a welcoming page if you go on your local domain like http://localhost.
If you don't see the welcoming page, make sure no index.html is present in the root of your web server. If your system is a standard *buntu installation, you can delete the standard index page by doing:
sudo rm /var/www/html/index.html
Then, check again: http://localhost.
On this page follow the link that point to the "First run wizard".
The first run wizard will ask you for a valid database configuration. You have to provide the name of the database, the host in which is located, user and password used for the connection, of an already installed MySQL server. You can try your config with the "Try config" button until a green text will appear saying that a successful connection has been made. On this page follow the link that point to the "First run wizard".
The second step is about configuring pure OCS parameters. Since there is no clear explanation about those parameters on the internet we'll try to explain here one by one:
This will generate a file called providers.xml that will provide clients with all the information needed to query your server, so be careful on this part.
Then a quick preview of the providers.xml file will be generated. A preview of the /v1/config call also is available. If you see a nice XML formatted output with /v1/config it means your server is now working properly.
The last part of the tutorial will ask you to set an admin password, that will be asked everytime you'll try to access the admin area via http://example.com/admin . For more security, you can also erase the "admin" folder entirely and put it there just when needed, or restricts that folder the be accessible only from localhost and so on.
Here we are, you should have your OCS server up and running now! You can use it with any kind of client that supports OCS. We built a webclient sized to KDE's needs that you're free to use, modify and adapt.