oracle

Get Started with the Bitnami Launchpad on Oracle Cloud Infrastructure Classic

Introduction

Oracle Cloud Infrastructure Classic is an enterprise-grade cloud platform designed for rapid development and deployment of Web applications. With Oracle Cloud Infrastructure Classic, virtual machines and compute/storage infrastructure, business users can host and scale enterprise websites and complex web applications securely and efficiently.

Bitnami provides pre-packaged application images for Oracle Cloud Infrastructure Classic servers, so that you can get productive with your new server immediately. You can access and launch these images in three ways:

In this tutorial, I’ll walk you, step by step, through the process of using the Bitnami Launchpad for Oracle Cloud Infrastructure Classic to create and provision a new cloud server.

TIP: To learn about launching servers with the Oracle Cloud Infrastructure Classic Marketplace instead, refer to this tutorial.

NOTE: This guide assumes that you already have an Oracle Cloud Infrastructure Classic account. For more information, refer to the Oracle Cloud Infrastructure Classic documentation.

Watch this video to see in detail how to deploy the Bitnami WordPress stack on Oracle using the Bitnami Launchpad:

Overview

If you’re interested in creating a personal or small business blog, chances are that you’re going to use WordPress. WordPress is one of the most popular blogging platforms in the world, used on over 60 million websites (according to Wikipedia). And it is not hard to see why: WordPress is very easy to use, comes with thousands of extensions and themes, is completely free, and is open source.

In this tutorial, I’ll launch a cloud server with the Bitnami WordPress Stack, which gives you a pre-configured WordPress blog that you can start using right way. But WordPress is just an example: there are hundreds of other Bitnami applications to choose from, and they’re all equally easy to set up.

Here are the steps you’ll follow in this tutorial:

  • Register with Bitnami
  • Connect your Oracle Cloud Infrastructure Classic and Bitnami accounts
  • Deploy WordPress on an Oracle Cloud Infrastructure Classic Server
  • Log in and start using WordPress

The next sections will walk you through these steps in detail.

Step 1: Register with Bitnami

At the end of this step, you will have created a Bitnami account.

The next step is to create a Bitnami account, so that you can launch a cloud server with the Bitnami WordPress Stack. If you have a Google, Facebook, Yahoo! or Github account, you can use your credentials from those services with OpenID to create your Bitnami account.

If you don’t have accounts with those services (or you don’t want to use them), you can use your email address and password to create a Bitnami account, as described below:

  • Head to the Bitnami sign-up page.
  • Enter your name and email address.
  • Choose a password.
  • Review the Bitnami terms of service.

Then, use the “Sign up” button to create your account.

Bitnami sign up

Bitnami will send you an email with a verification link which you’ll need to click or browse to, to activate your account. This will also sign you in to your Bitnami account.

Bitnami confirmation

Step 2: Connect your Oracle Cloud Infrastructure Classic and Bitnami accounts

At the end of this step, your Bitnami Launchpad for Oracle Cloud Infrastructure Classic will be configured and you will be ready to provision a cloud server.

The easiest way to set up your Oracle Cloud Infrastructure Classic server with Bitnami’s WordPress Stack is via the Bitnami Launchpad for Oracle Cloud Infrastructure Classic , which gives you a simple control panel to provision, start, stop, connect to and check status of your cloud servers. However, to use it, you must first connect your Oracle Cloud Infrastructure Classic and Bitnami accounts.

To do this:

  • Log in to your Oracle Cloud Infrastructure Classic account.
  • Browse to the “My Services” Dashboard.
  • In the list of available services, find the Oracle Compute Cloud Service, click the “Menu” icon, and then select the “View Details” menu item.

    Service configuration

  • On the resulting page, you will find the REST API endpoint.

    Service configuration

  • Log in to your Bitnami account (if you’re not already logged in).

  • Browse to the Bitnami Launchpad for Oracle Cloud Infrastructure Classic.

  • Select the “Sign in with Bitnami” link in the top right corner.

The Launchpad will now recognize your Bitnami credentials and automatically sign you in. You may also be prompted to set up your Bitnami password vault by entering an administrative password. Enter a hard-to-guess password.

Bitnami password configuration

The Bitnami Vault password offers an additional level of protection against misuse: you’ll need to enter it when performing certain operations, such as creating new cloud servers. Again, make sure you note it down for future reference.

IMPORTANT: Your Bitnami Vault password is different from your Oracle Cloud Infrastructure Classic account password.

Proceed as follows:

  • Select “Virtual Machines” in the Launchpad menu.
  • You’ll be transferred to an authorization page, where you will need to enter the REST API endpoint noted earlier, together with your Oracle identity doman, username and password. Enter these details, then click the “Continue” button on the page to proceed.

    Bitnami Launchpad configuration

Your Oracle Cloud Infrastructure Classic and Bitnami accounts will now be connected.

Bitnami Launchpad configuration

You will now be able to launch new cloud servers with Bitnami application stacks.

Step 3: Deploy WordPress on an Oracle Cloud Infrastructure Classic server

At the end of this step, your WordPress blog will be running on an Oracle Cloud Infrastructure Classic server.

The next step is to launch a cloud server and get WordPress running on it. The Bitnami WordPress Stack lets you do this in just a couple of clicks. Follow these steps:

  • Select “Library” in the Launchpad menu.
  • Look through the list of applications available in Bitnami until you find WordPress (it’s usually the first item in the list).
  • Select it and click “Launch”.

    Bitnami Launchpad usage

  • Define a name, disk and server size, and region for your cloud server. You can choose from a “oc3” instance (1 OCPU) to a “oc5m” instance (16 OCPU with high memory).

    TIP: An “oc3” server will work just fine for a low-traffic WordPress blog or for WordPress development.

  • Select the operating system for your server. (Currently, the only choice available is Oracle Linux 6.7.)

  • Select the network security list for your server, which controls which server ports are open. The “default” security list works well for most scenarios, as it leaves ports 80, 443 and 22 open and thus allows access to only the Web server and the server console via SSH.

    Bitnami Launchpad usage

  • Confirm your selection by hitting the “Create” button at the end of the page.

The Bitnami Launchpad for Oracle Cloud Infrastructure Classic will now begin spinning up the new server. The process usually takes a few minutes: a status indicator on the page provides a progress update.

Bitnami Launchpad usage

Once the cloud server has been provisioned, the status indicator will show that it’s “Running” and the Bitnami Launchpad for Oracle Cloud Infrastructure Classic page will display the server details, including its IP address.

Bitnami Launchpad usage

At this point, you should be able to browse to the cloud server, either by clicking the link in the Bitnami Launchpad for Oracle Cloud Infrastructure Classic (a new browser tab will open) or entering the cloud server IP address directly into your browser’s address bar. You should now see your WordPress blog’s home page with a sample post, as shown below.

Bitnami Launchpad usage

The Launchpad page also includes controls to shut down or delete the server. You can also download SSH keys for the server (in .pem and .ppk formats) if you’d like to connect to it directly with an SSH client (like PuTTY on Windows).

Bitnami Launchpad usage

By default, the Bitnami Launchpad for Oracle Cloud Infrastructure Classic creates a user account named ‘user’ and an auto-generated password when a new server is provisioned. You will need this password in order to use WordPress. To do this, go back to the Bitnami Launchpad for Oracle Cloud Infrastructure Classic page containing the server information screen, look in the “Credentials” section, and make a note of the password.

Bitnami Launchpad usage

Step 4: Log in and start using WordPress

At the end of this step, you will have logged in to WordPress and created a new blog post.

To log in to the WordPress dashboard, follow these steps:

  • Browse to the WordPress dashboard, usually at the URL http://SERVER-IP/wp-admin.

  • Log in with the administrator credentials from the previous step.

    WordPress credentials

You should now arrive at the WordPress dashboard, which allows you to manage posts, pages and comments; customize your blog with themes and plugins; import and export content; manage navigation menus; add or delete new user accounts; and much more.

WordPress credentials

You can now add a new post using the following steps:

  • Select the “Posts -> Add New” menu option to create a new post.

    Add new WordPress post

  • Enter a title and content for the post. You can use the formatting tools at the top of the content area to format your post and add hyperlinks or images.

  • Optionally, choose the format and category for your post.

  • Publish it immediately using the “Publish” button.

    Add new WordPress post

And now, when you visit your blog’s front page, you should see your new post.

WordPress post publishing

Congratulations! You now have a working, fully-functional WordPress blog in the cloud.

You can keep your WordPress installation up-to-date with the WordPress automatic update feature. To access this:

  • Log in to WordPress using the administrator account.
  • Select the “Dashboard -> Updates” menu item.

    WordPress update

  • Review the resulting page to see if WordPress needs an update. If an update is available, you can install it by clicking the “Update Now” button. You can also re-install WordPress if needed with the “Re-install Now” button.

    WordPress update

To learn more about the topics discussed in this tutorial, use the links below: