oci

Get Started with Bitnami Partner Images on Oracle Cloud Infrastructure

Introduction

Oracle Cloud Infrastructure offers a collection of cloud services designed to manage applications, services, and databases, in a high-performance cloud computing environment. Its architecture provides the flexibility to scale. In addition to this, Oracle Cloud Infrastructure offers the highly durable storage of public cloud combined with the security, control access, and cost-effectiveness of on-premise infrastructure.

Bitnami provides pre-packaged application images for Oracle Cloud Infrastructure servers which allow you to use your new server immediately. You can access and launch these images through the Oracle Cloud Infrastructure Marketplace, Oracle’s digital platform for software applications or through the Oracle Cloud Infrastructure Console.

In this tutorial, I will walk you through the process of using the Oracle Cloud Infrastructure Console to deploy a Bitnami image on an Oracle Cloud Infrastructure server.

TIP: This tutorial describes how to get started with those Bitnami solutions that are part of the Oracle Partner Images Catalog. Other Bitnami solutions can be found in the Oracle Marketplace. To learn how to launch Bitnami solutions that are not included yet in the Oracle Partner Image Catalog, refer to this tutorial.


NOTE: This guide assumes that you have an Oracle account as well as an account in the identity domain for your company (both with the same email address). It also assumes that your identity domain account has sufficient roles or privileges to launch Oracle Cloud Infrastructure instances. If you don’t have an Oracle Account, register for one here. If you don’t have an account in the identity domain for your company, contact your network or IT services administrator.

Overview

If you are interested in implementing project management in your organization for planning, organizing, and controlling resources, Redmine is a good choice. Redmine is a Ruby on Rails-based application and supports several features that facilitate project management tasks: multiple project support, flexible role-based access control, issue tracking, Gantt chart and calendar, wiki, forums, and document management among others.

In this tutorial, you will learn, step by step, (using Redmine as an example) the complete process of deploying an image from the Oracle Cloud Infrastructure Partner Images Catalog on a server using the Oracle Cloud Infrastructure Console.

The following are the steps you’ll complete in this tutorial:

  • Get the Bitnami Redmine image
  • Launch an instance to deploy the Bitnami Redmine image
  • Obtain Redmine credentials
  • Log in and start using Redmine

Once you have completed these steps, you will have the basic knowledge you need to deploy other Bitnami applications on an Oracle Cloud Infrastructure server.

Step 1: Get the Bitnami Redmine image

At the end of this step, you will be ready to deploy the Bitnami Redmine image on an Oracle Cloud Infrastructure Console server.

Some of the Bitnami solutions are now available in the Partner Images Catalog. To get an image for deploying it on an Oracle Cloud Infrastructure server, follow these instructions:

  • Log in to the Oracle Cloud Infrastructure Console (if not already logged in).

    Sign into the Oracle Cloud Infrastructure Console

  • Select “Create a VM instance” from the “Quick Launch” menu. You will be redirected to the “Create Compute Instance” section.

    Create a VM instance

  • Enter a name for your image.

  • Select the availability domain for your instance.

  • In the “Choose an operating system or image source” section click “Change Image Source”.

    Change image source

  • Select the “Partner Images” option. Select the “Redmine Certified by Bitnami” image.

    Select Partner Images

  • Accept the Oracle Terms of Use and the Partner Terms and Conditions and click “Select Image”. You will see the Bitnami Redmine image selected as image source.

    Partner Image selected

Step 2: Launch an instance to deploy the Bitnami Redmine image

At the end of this step, you will have Redmine running on an Oracle Cloud Infrastructure server.

Once you have selected the image you want deploy, proceed to set up the instance by providing the information and values described below.

  • Select the instance type and shape of your instance.
  • Configure the boot volume size if apply.
  • Upload your SSH key file in the .pub format.
  • Check the networking information and click “Create” to launch the image.

    Launch the image

Once you have finished, you will be redirected to the “Instance Details” page. When the instance has been launched, you will see its status change to “Running” in the “Instance Details” page.

  • Find the server Public IP Address under the “Primary VNIC Information” section. Take note of this IP address to access your application later on.

    Check instance status

Step 3: Obtain Redmine credentials

At the end of this step, you will have the credentials needed to access Redmine.

Your default credentials become available once you launch an instance. To find them, follow these steps:

  • Navigate to “Compute -> Instances” and click on the instance you want to retrieve the credentials. The resulting page displays the instance details. Take note of the instance’s “Public IP Address”.

    Server IP Address

  • Connect to your server through SSH.

  • Open the log file with a text editor:

    $ sudo cat /opt/bitnami/var/log/pre-start.log
    

    You will see both the username and password set by default to access your application:

Find application credentials

Step 4: Log in and start using Redmine

At the end of this step, you will have logged in to Redmine and created a new project.

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

  • Browse to the Redmine dashboard, usually at the URL http://SERVER-IP/ and click “Sign Up”.

    Sign Up Redmine

  • Enter the credentials you obtained in step 3 and click “Login”.

    Login Redmine

Once you access to the Redmine dashboard you are able to create a new project. Redmine allows you to manage multiple projects with a single installation. It also allows you to specify configuration settings for each of them, such as the project visibility or the configuration of different sets or roles to users for different projects.

To create a project:

  • Navigate to the “Projects” option in the top menu. Then, click “New project”.

    Click new project link

  • In the project form, fill the required information. Set it as “Public” if you want to make the project visible for all users. If you uncheck the box, the project will only be accessible by project members.

This page also includes basic modules included by default, such as:

  • Issue tracking: Enables tracking of the versions, of the categories, and of a roadmap of the project.
  • Time tracking: Allows tracking the time spent when working on the issues.
  • News: Allows publishing news that is related to the project.
  • Documents: Allows adding documents to the project.
  • Files: Allows attaching files to the project.
  • Wiki: Enables the project wiki.
  • Repository: Allows browsing the repository and view the latest commits.
  • Forums: Enables the project forum.
  • Calendar: Creates a calendar with the project issues.
  • Gantt: Creates a Gantt diagram with the project issues.

Select which trackers you want to enable: Bug, Feature, or Support.

  • Enter the information and select both modules and trackers for your project. Then, click “Create”.

    Create a project

    You can add new Trackers to customize your project workflows at any moment navigating to the “Administration -> Trackers” section.

    Once you have created the project, you will see new tabs associated to it, depending on which modules you have enabled. From these, you can manage your project.

    Project created

TIP: To add users to your project and create and manage issues, check out the Manage Projects With Redmine And Git On Oracle Cloud Infrastructure guide.

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

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

Last modification December 21, 2018