Starting API Portal (Linux/UNIX)
All API Portal components must be started before the API Portal user interface can be opened in a browser. If any of the components are not started, your browser displays an error. For example:
403 Forbidden You don't have permission to access / on this server.
To start API Portal on Linux/UNIX
1. Start the API Portal Cloud Controller (ACC) by running the Software AG_directory /API_Portal/server/acc/acc.sh script, specifying the following:
Machine on which the cloud agent is running (this will always be localhost) with the
-h command line switch.
Note: | If the cloud agent is not running, you can start it by running the CloudAgentApp.sh script. Navigate to the <Software AG directory>/API_Portal/server/bin directory and run the command ./CloudAgentApp.sh start. |
Username (default: Clous) of the cloud agent user with the
-u command line switch.
Password (default: g3h31m) of the cloud agent user with the
-pwd command line switch.
You can also omit the password. If you do so, the ACC prompts you for it.
Port information for the cloud agent with the
-p command line switch.
For example, to start the ACC installed in the directory Software_AG on localhost and using the default username and password, use the command:
SoftwareAG/API_Portal/server/acc/acc.sh -h localhost -u Clous -pwd g3h31m
-p 18006
2. At the ACC command prompt, type startall to start all components..
Note: | You can configure API Portal in a way that all services start automatically. You can set the autostart mode with ACC>set autostart.mode=all to automatically start all the portal services once the Cloud Controller starts. |