This documentation is for WSO2 Stratos 2.0.0. View the latest Apache Stratos documentation.
Page Comparison - Wordpress Guide (v.26 vs v.27) - Stratos 2.0.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Subscribe to the MySQL database cartridge.  

    Code Block
    stratos>subscribe mysql mywebdb

     Command Argument Description

    SyntaxDescription
    mysql MySQL Cartridge.
    mywebdb Alias for MySQL database Cartridge

    Output


  2. Request for MySQL database Cartridge information.  

    Code Block
    stratos> info mywebdb

    Output

    Image Modified


  3. Add an entry in the /etc/hosts file for mywebdb.mysql.stratos.com to be able to access the URL shown in the output of the above command.

    Code Block
    <ELB IP>    mywebdb.mysql.s2demo.wso2.com


  4. Go to https://mywebdb.mysql.s2demo.wso2.com:8243
  5. Login using the credentials given in the Cartridge Info output. The username is root.
     

...

  1. Go to https://myweb.php.s2demo.wso2.com:8243/ and access it.
    The run install page will appear. 
    Image Modified
  2. Click Run the install to continue installing WordPress.
  3. Enter the details that you get when executing info mywebdb command.
    Example:  

    Code Block
    Host                : 175.41.181.16
    Database Username   : root
    Password            : vkgrrnox

    Image Modified

  4. Click Submit.
    Now the https://myweb.php.s2demo.wso2.com:8243/ website is ready for use.

    Image Modified

    Image Modified