This page is under construction.
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 in order to work.
simplesamlphp sql www
www folder contains wordpress php files. For samples please go to https://github.com/lakwarus/wordpress.git.
Checkout the tenant repo into a folder of your choice.
- When prompted, enter the tenant username and password.
Change the current working directory to
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.
Share the changes made.
If the outcome is as follows and GIT push takes a long time,
Press 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 above 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 when requesting for database information.
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
- Click Submit.
Now the http://myweb.php.stratos.com:8280 website is ready for use.
Upon trying to access the http://myweb.php.stratos.com:8280 link the first time it will not work but when you access it again you will be able to log into the WordPress page.
- Continue installing WordPress.
The login page will appear after successful installation of WordPress.