Tuesday, December 18, 2018

How to setup wordpress on OCI Machine using BITNAMI

Introduction

WordPress is a free and open-source content management System and is mostly used for blogging.
OCI Machines can be used to set up WordPress quickly by using Bitnami images.
Oracle Cloud Infrastructure or OCI is the set of latest Infrastructure offered by Oracle cloud and offers services to manage applications and database.
Bitnami provides pre-packaged application images for Oracle Cloud Infrastructure servers which allow you to use your new server immediately.
These images are available at  Oracle Cloud Marketplace and can be easily extracted.
The following are the steps you will complete in this tutorial:

·       Download the Bitnami WordPress image from the Oracle Cloud Marketplace


·       Import the Bitnami WordPress image to the COMPUTE Console


·       Launch an instance to deploy the Bitnami WordPress image

·       Obtain WordPress credentials

·       Log in and start using WordPress


STEP 1: Download WordPress image from Bitnami site
 

      Ø  Search for Bitnami WordPress in the search bar
Ø  Select the image which fits your business need
 

Ø  Once selected, click on ‘Get App’ on the right top corner

 

Ø  Accept the Terms & Condition and continue.



Ø  Once you accept the Oracle Marketplace T&C, you are navigated to Bitnami site.
      Ø  Copy the URL which appears in the ‘Object storage URL:’ box. We will use it later.




Make a note of the following information appearing on the screen. This is the URL of the WordPress Image which we will use to create our instance.

region
Object Storage URL
us-ashburn-1
https://objectstorage.us-ashburn-1.oraclecloud.com/p/AcmKUG7Ot13nrFU-NVZ-yikh1OURdrH_rfM5ZoUHtY0/n/bitnami/b/bitnami-images/o/bitnami-wordpress-5.0.1-0-linux-oel-7.5-x86_64.qcow2

Step 2: Import the Image into Oracle Cloud

Ø  Login to Oracle cloud – OCI Console




Ø  Once logged in, Navigate to Compute > custom Images



Ø  Click the “Import Image” button on the top



On the Page, enter the information:
      Ø  NAME: Enter a unique name for your image.
      Ø  OPERATING SYSTEM: Linux.
      Ø  OBJECT STORAGE URL:  Type the URL link you have previously obtained in earlier step
      Ø  IMAGE TYPE: Check the QCOW2 option.
     Ø  LAUNCH MODE: Check the NATIVE MODE option.



      Ø  Once you Click on ‘Create’, It shows the Import status.
   Ø  Wait till the status changes to ‘Available’.


STEP 3: Spinning up the VM

Ø Make sure that your basic configuration about opening an instance is already complete.

Ø      Create a new Instance using the Custom Image imported above.

Ø  Navigate to menu > Instances > create Instance




On the Page, enter the information:

      Ø  NAME: Enter a unique name for your Instance
      Ø  Availability Domain: Select AD1/AD2/AD3
      Ø  Image Source: Select ‘Change Image Source’ and select the Image that was imported in the last step
      Ø  Add Public Key
      Ø  Select VCN
      Ø  Select compartment
      Ø  Select Subnet Compartment






     Ø  Click on ‘Create’ once all the information is entered.

Ø  Wait for the status to change to ‘Running’


Ø  Get the server’s Public IP Address.
Ø  Paste the IP Address on the new browser.
Ø  You should see the WordPress application.




Step 4: Obtain WordPress Credentials

·       Connect to your server through SSH using tools like Putty
·       Run the below give command on the $ Prompt.
·       sudo cat /opt/bitnami/var/log/pre-start.log
The default username and password to access the application appear on the console.



Ø  Use these Credentials to log into the WordPress application as Admin



Ø  WordPress Dashboard opens up which lets you post blogs, Manage post, create Users, comments and Pages, Customize blog, import and export , Media etc.




Ø Write/create your content and then Publish the blog using Publish option.


Wonderful!!! And now, when you visit your blog’s front page using the public IP Address,, you should see your new post.
http://129.213.119.242/2018/12/17/this-is-beginning-of-blog-on-wordpress-on-oci/



Ø  Keep your WordPress application up-to-date by clicking on ‘Update’ on the left menu bar whenever red dot appears around it

HAPPY BLOGGING !!!!!

3 comments:


  1. Hello,

    we provide affordable and result-oriented SEO services, please give a chance to serve you.


    Thanks
    Admin: E07.net

    ReplyDelete
  2. I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... wordpress virus remova

    ReplyDelete
  3. The website is looking bit flashy and it catches the visitors eyes. Design is pretty simple and a good user friendly interface. Ozzun Get free WordPress Themes

    ReplyDelete