This page is under construction.
The following information in the WordPress guide explains how you can access Stratos 2.0 using the CLI.
Logging into Stratos2.0
Login to Stratos 2.0 using CLI.
Subscribe to the PHP Cartridge
Alias name for the PHP application.
URL of the GIT repository.
*username Username for provided GIT account.
Password for provided GIT account.
The provided PHP Cartridge is configured to except the following folder structure.
simplesamlphp sql www
Where www folder contain wordpress php files. For samples please go to https://github.com/lakwarus/wordpress.git .
Checkout the tenant repo into a folder of your choice.
- Enter the username and password of the tenant, w hen the credentials are requested.
Change the current working directory to myweb
List the folder.
wordpress/*files into the
If you do not have the WordPress files initially go to http://wordpress.org/latest.tar.gz
Record a snapshot of your history.
Syntax Description -a
The option to automatically stage all tracked, modified files before the commit.
-m The option to provide the commit message on the command line.
The actual commit message.
Share the changes made.
If the outcome is as follows and GIT push takes a long time,
Enter Ctrl+C to finish the process as this is a known issue.
Setting up a database
Subscribe to the MySQL database cartridge.
Alias for MySQL database Cartridge
Request for MySQL database Cartridge information.
Add an entry in the
/etc/hostsfile for mywebdb.mysql.stratos.com to be able to access the URL shown in the output of the command.
- Go to https://mywebdb.mysql.stratos.com
- Login using the credentials given in the Cartridge Info output. The username is
Creating a Database
- On the phpmyadmin menu, click Databases .
- Enter the DB name in the Create new database text-box.
For example, mywebdb
Add an entry in the
/etc/hostsfile for myweb.php.stratos.com to be able to access the URL shown in the output of the command.
Go to http://myweb.php.stratos.com:8280
This request is sent to the WSO2 elastic load balancer. The user can access their application running on the PHP Cartridge through the load balancer.
Running the Installer
Enter the details that you get when executing info
- Click Submit.
Now the http://myweb.php.stratos.com:8280 website is ready for use.
- Continue installing WordPress.
The login page will appear after successful installation of WordPress.