Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Tutorials > Getting Started > LAMP All-In-One Wordpress Trial

LAMP All-In-One Wordpress Trial

Objective

To quickly set up an all-in-one LAMP server (Linux, Apache, MySQL, PHP) with Wordpress as the example application in a public or private cloud.
Note: Designed for demonstration purposes only.

Note: If you want to launch your own all-in-one LAMP stack with your own application and database, see the LAMP All-In-One with MySQL 5.1/5.5 tutorial. 

Table of Contents

Prerequisites

  • 'actor' and 'library' user role privileges
  • For Amazon EC2, CloudStack, and other clouds that support security groups, you must have a security group defined with TCP port 22 open for SSH access and port 80 for client HTTP access.

Overview

This tutorial describes the steps for launching a trial LAMP server in the cloud. The ServerTemplate is designed to easily set up and launch a test LAMP server (with a MySQL and Apache installation) in a cloud without requiring any additional configuration or user inputs. Alternatively, if you need to set up a LAMP server to run your own test application or a RightScale-provided sample application, you must use a different ServerTemplate. See the LAMP All-In-One with MySQL 5.5 (v13 Infinity) tutorial.  

diag-WordPress_Site-v1.png

Steps

Add a Server to a Deployment

Follow these steps to add a new server to a deployment.

  1. The first step is to create a new deployment that will act as a container for the server you are about to create. Go to Manage > Deployments and create a new deployment. See Create a New Deployment.
  2. Go to Design > MultiCloud Marketplace > ServerTemplates. Import the LAMP All-In-One Wordpress Trial ServerTemplate.
  3. Add a server to the new deployment using the imported ServerTemplate. Since the ServerTemplate supports multiple clouds, you will need to select any cloud-specific resources that are required to create the server for the chosen cloud. See Add Server Assistant for details. 
    Note: If you cannot select and use existing cloud resources, you may need to create them. To create a security group, you will need 'security_manager' user role privileges. 

Launch the Server

  1. After adding the server to a deployment, click the server's Launch action button.
  2. Next, you will see an input confirmation page. Because the ServerTemplate was published with acceptable values predefined for any of the ServerTemplate's boot scripts, there are no missing inputs to define. Scroll to the bottom of the screen and click Launch.


When you launch a server, it enters the "pending" state as RightScale makes a request to the cloud on your behalf. You can track the status of the server as it transitions through the pending, booting, and operational states in the Events pane in the left-hand panel, which provides real-time push notifications. You can also track the status of the server under its Info tab. However, you will need to periodically click the Info tab or refresh the browser window to update the information displayed below the tabs. 

screen-ServerPending-v2.png

Test the Server

After the server enters the operational state, you can test it to ensure that it was properly configured. To test your server, go to the server's Info tab. You can either copy and paste the server's public IP address into a web browser or click the public DNS name or IP address link (if available).

  • For an Amazon EC2 server, click the "Public DNS name" link (see below)
  • For servers launched in other clouds, use the "(Public) IP Address"
     

screen-ServerOperational-v2.png

When you navigate to your running server in a web browser, you will see the default Wordpress installation page. Complete the installation process by entering your own information for the 'admin' user of the site. 

Troubleshooting 
If the server is operational but you cannot view the Wordpress installation page in a browser window, make sure that your server's security group has port 80 open. 

screen-WordpressSetup-v2.png

After successfully installing Wordpress on the server, you can log into the WordPress Dashboard and create the first page on your site.

screen-WordpressLogin-v2.png     screen-WordpressDashboard-v1.png

You can also click on the server's Monitoring tab to view real-time monitoring graphs and check out the detailed server information under the Audit Entries tab.

Terminate the Server

When you are finished with your testing, terminate the server by clicking its Terminate button.

Next Steps

If you're interested in launching a LAMP server with your own application and database, see the LAMP All-In-One with MySQL 5.5 tutorial.

You must to post a comment.
Last modified
21:22, 16 May 2013

Tags

This page has no custom tags.

Classifications

This page has no classifications.

Announcements

None


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.