Openshift – Basic Commands

Some basic commands for OpenShift users. – **Create a Namespace.** `rhc domain create -n yourname -l rhloginid` – **Change your Name pace** `rhc domain alter -n yourname -l rhloginid` – **Create a php Application** `rhc app create -a appname -t php-5.3 -l rhlogin` At the time of this writing, The Valid application types are (nodejs-0.6, jbossas-7, ...

Introduction to redhat OpenShift

This is just an introduction to how to to Work with open shift through command line. First of all, OpenShift is Red Hat’s free, auto-scaling Platform as a Service (PaaS) for applications. As an application platform in the cloud, OpenShift manages the stack so you can focus on your code. The backend of openshift is AWS, the ...

Introduction to redhat OpenShift

This is just an introduction to how to to Work with open shift through command line. First of all, OpenShift is Red Hat’s free, auto-scaling Platform as a Service (PaaS) for applications. As an application platform in the cloud, OpenShift manages the stack so you can focus on your code. The backend of openshift is AWS, the ...

IPTABLES rules to enable NFS share on a Redhat based Server.

Add the following rules to /etc/sysconfig/iptables with your favourite text editor. “` -A RH-Firewall-1-INPUT -m state –state NEW -p udp –dport 111 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -p tcp –dport 111 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -p udp –dport 892 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -p ...

Openshift now supports Cron and Phpmyadmin with Cartridges

28. April 2012 SysAdmin 0
Now you can add Crons to your OpenShift application. Login to [Openshift](https://openshift.redhat.com “openshift.redhat.com”) – Click My applications. – Choose your application, and click “details” – Click “Add +” button on Cartridges section – Click cron 1.4 “select” – Thats it, You have installed the cron cartridge to your application, And you will be presented with ...

How to show the web server’s IP in browser

17. April 2012 SysAdmin 0
When you are migrating a website form one server to another or doing a production release, You often need to set an IP to your [/etc/hosts](/etc/hosts) (in windows c:windowssystem32driversetchost) file so that you can test the site without making it live or a DNS change. A hosts entry will look like this. `10.10.10.10 example.com www.example.com` ...

How to show the web server’s IP in browser

17. April 2012 SysAdmin 0
When you are migrating a website form one server to another or doing a production release, You often need to set an IP to your [/etc/hosts](/etc/hosts) (in windows c:windowssystem32driversetchost) file so that you can test the site without making it live or a DNS change. A hosts entry will look like this. `10.10.10.10 example.com www.example.com` ...

Screen Off widget for Android

26. March 2012 SysAdmin 0
Hey, Today, I was looking at **Screen Lock** button of my android mobile. Since i use this key frequently, It almost turned in to white colour from Silver. So i just searched in [Play store](https://play.google.com “Google Play Store”) and found an interesting Widget. Its “[Screen Off](https://play.google.com/store/apps/details?id=com.nd.android.surfaceaction.offscreen “Screen Off”)”  – One click to turn off screen ...