• 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
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, 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

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Steps To Install Nginx Plus on Ubuntu Server (HP Cloud)

    Here Are the Steps To Install Nginx Plus on Ubuntu Server Running on HP Cloud. Nginx Plus is the Paid Version of Nginx with Extra Features.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • OpenShift OctoPress Auto install Script

    OpenShift OctoPress Auto install Script is an Advanced Script to Run OctoPress on Free OpenShift PaaS Practically Without Any Knowing Ruby or Git.

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

Get new posts by email:

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 (24.3K Followers)
  • Twitter (5.8k 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 is a Digital-to-Analog Converter (DAC)September 25, 2023
  • Tips on S Pen Air ActionsSeptember 24, 2023
  • Market Segmentation in BriefSeptember 20, 2023
  • What is Booting?September 18, 2023
  • What is ncurses?September 16, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

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

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