Grid Guides

Explore How System On Grid Can Work For You

Grid GuideGrid Guide Topics


Drupal One-Click App Setup


Introduction

One of the many available One-Click Apps that we have is Drupal. Drupal is free, open source software that can be used by individuals or groups of users -- even those lacking technical skills -- to easily create and manage many types of Web sites. The application includes a content management platform and a development framework.

Prerequisites

  • Orbit created with Drupal image

  • Running Orbit

Creating Your Orbit

  1. To create your application, you must create a Photon. You can do so by selecting the Photon tab after selecting 'Create Orbit'

    Photons
  2. Once there, you will see a list of available photons that you can create. Select one and it will bring you to a detailed page

    Photon List Photon Description
  3. Scroll down to the details and you can start selecting options for your photon as well as setting up credentials.

    Photon Details
  4. Once everything is filled in, just press Create and you can move on to the next step

SSH into Orbit

  1. First we need to check some details on our orbit by first navigating to the “My Orbits” tab.

    My Orbits
  2. Once there, click on the Orbit you want to connect to and check for three things:

    • IP Address

    • Running Status

    • Source Image(Ubuntu, Debian, Centos, Fedora)

    Orbit Details
  3. Once you have confirmed that your Orbit is running and you have the other information. Open up your console.

  4. Now you can SSH into your Orbit by running.

    ssh [email protected]
    • IP Address: We got this from the detail page, in this case it is “216.200.116.60”

    • Image: We got this from the source image in the details page. It should be one of the following: ubuntu, debian, fedora, centos

    • Note: A full command for this example would be: “ssh [email protected]

Starting Drupal

  1. Once you are SSH'd into the server you will see the following. You can start the setup process by opening the IP address with port 8080 in a web browser.

    Drupal CMD

    All passwords are generated when an orbit is first created and stored in a .secrets file, unless the welcome screen says otherwise. To access it, run the following command:

     cat .secrets
  2. You can start Drupal's setup by going to the IP Address shown above followed by port 8080. You should see a screen like the following:

    Drupal Start
  3. All setup options are pretty straight forward until you get to the database configuration. You need to set the following settings:

    1. Database Type: PostgreSQL
    2. Database Name: postgres
    3. Database username: postgres
    4. Database password: password
    5. Advanced Options: Host - postgres

    Drupal DB
  4. After the database configuration, you can continue setting up your website however you want and once its complete, you should see the following

    Drupal Admin