• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Nginx Cartridge for OpenShift PaaS

By Abhishek Ghosh August 22, 2014 7:40 am Updated on August 22, 2014

Nginx Cartridge for OpenShift PaaS

Advertisement

Here is ready to use Nginx Cartridge for OpenShift PaaS. You will need to use OpenShift Command Line Tool for better control of installation. Apache2 is default web server software for OpenShift PaaS, but here is a special Nginx Cartridge for OpenShift.

 

Nginx Cartridge for OpenShift PaaS : Source Code and Basics

 

This Nginx Cartridge for OpenShift PaaS is developed by a developer with a nickname gsterjov :

Vim
1
https://github.com/gsterjov/openshift-nginx-cartridge

We recommend to read our OpenShift SSH guide and the linked articles for better understanding of RedHat OpenShift PaaS for the beginners. Actually, if we add as custom app, we will face this error :

Advertisement

---

Vim
1
2
Shell command '/sbin/runuser -s /bin/sh name-space -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c4,c615' /bin/sh -c \"/var/lib/openshift/name-space/diy/bin/setup --version 0.1\""' returned an error. rc=1
could not open session

As Apache2 is set to run by default, we need to work from CLI.

Nginx Cartridge for OpenShift PaaS

 

Nginx Cartridge for OpenShift PaaS : Converting it To Normal Nginx

 

Normal Nginx means the way we use on Cloud Server / IaaS. If you look at the command he have used, you will see an url :

Vim
1
http://cartreflect-claytondev.rhcloud.com/reflect

This is the OpenShift cartridge reflector. It will automatically rewrite cartridge manifests to include a relevant Source-Url for ease of debugging. To use, we need pass the ‘u’ parameter to the /reflect URI.This should be the URL

Vim
1
https://cartreflect-claytondev.rhcloud.com/github/gsterjov/openshift-nginx-cartridge?commit=master&r=1

You can open it on browser to see the text like file. Instead of this way, we would suggest to use :

  1. Create a new Openshift “Do-It-Yourself” application
  2. Clone that repository
  3. Add a new remote “openshift”
  4. Run git push –force “openshift” master:master
  5. SSH into your gear
  6. Wait for build to get finished (Take ages)

That method is written here :

Vim
1
https://github.com/boekkooi/openshift-diy-nginx-php

This, in our opinion is better option.

Tagged With openshift php boekkooi

This Article Has Been Shared 585 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Nginx Cartridge for OpenShift PaaS

  • Cloud Apps Compared : Google Apps and Microsoft Office 365

    Cloud Apps like e-mail or office apa are enormously used now.Cloud based services like Google Apps, Microsoft Office 365 offers a cost effective way for these.

  • Embedding Streaming Video From Rackspace Cloud Files in WordPress

    Embedding Streaming Video From Rackspace Cloud Files in WordPress needs few copy paste and click works to properly show on your webpage without any plugin.

  • Private Cloud Solutions : Risk Benefit Ratio

    Private Cloud Solutions are the real cloud solution as they implement the basic idea of ??cloud computing strictly but average cost is higher than public Cloud.

  • Guide for Using AppFog from Windows PC using Command Line Tools

    Guide for Using AppFog from Windows PC using Command Line Tools is intended for the users who are still using Windows PC and can not use shell commands easily.

  • Create Your Own Virtual Private Cloud with vCider : Introduction

    Create Your Own Virtual Private Cloud with vCider and pay just for the cost of Cloud Server in case you want a quick own Virtual Private Cloud setup easily.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (21K Followers)
  • Twitter (5.3k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What You Need to Know About the Microservices March 4, 2021
  • Fix Missing/Bad FileProvider for Freshchat (Android error code 354) March 3, 2021
  • Basics of Data Protection on the Internet March 2, 2021
  • What is Standard Software February 28, 2021
  • WordPress Link to text Fragment February 27, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Nginx Cartridge for OpenShift PaaS," in The Customize Windows, August 22, 2014, March 5, 2021, https://thecustomizewindows.com/2014/08/nginx-cartridge-for-openshift-paas/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy