FAQ Database Discussion Community


How do I compile and install the source code on OpenShift?

compilation,installation,make,openshift,openshift-cartridge
I'm trying to install 'whois' on OpenShift online, I can't install with yum due to the permissions \> yum install whois error: cannot open Packages database in /var/lib/rpm CRITICAL:yum.main: Error: rpmdb open failed I don't know any alternative ways to install a package, so considering to compile source code. make...

Openshift Scaling Tomcat7 with Stored Files and Images

tomcat7,openshift,openshift-client-tools,openshift-enterprise,openshift-cartridge
If I have a Gear which contains Files and Images uploaded by Users, will the directory be Shared across all Gears? or will it be synced after every User upload? If not, is there any workaround? Can I manually sync all Gears after every user upload/delete/change in the upload directory?...

Tomcat8 on OpenShift

tomcat,openshift,tomcat8,openshift-cartridge
Is there a Tomcat 8 cartridge for OpenShift? I know that you can install Tomcat8 in a DIY cartridge, but I was looking for a faster and easier solution. And if there is one, how can I install it and how can I migrate an application from jbossews 2 (tomcat7)?...

Test performance in Openshift and prevent get banned IP

openshift,newrelic,openshift-cartridge,datadog
I have an application hosted in openshift. Now I want figure out how many request can handle in order to check the speed and availability. So my first attempt will be generate a multiple HTTP GET requests to my Rest Service(made in python and hosted in openshift). My fear is...

Openshift redis cartridge with strange exceptions ETIMEDOUT on socket.io script

node.js,redis,socket.io,openshift,openshift-cartridge
I have a socket.io node script running that acts as a chat server. I had it running on a local server ok, and have since tried moving it over to openshift. I used the following cartridge to get it working - https://github.com/smarterclayton/openshift-redis-cart/issues While running the local version of the server,...

How to access mongodb variables from nodejs cartridge on OpenShift?

node.js,mongodb,environment-variables,openshift,openshift-cartridge
I am trying to deploy an application prototype to openshift. It works locally with mongodb at 127.0.0.1. I am trying to get it to respect process.env.OPENSHIFT_MONGODB_DB_URL when in the openshift environment but that variable is not accessible to my nodejs cartridge at runtime. I can see that it is being...