Domain alias to Red Hat OpenShift application

After creating an OpenShift application, the application is published as http://appsname-namespace.rhcloud.com , which is quite lengthy and not easy to remember.

You can now set a meaningful domain names for your OpenShift applications so that you can have your own name instead of rhcloud.com.

How to set domain alias for Red Hat OpenShift application?

At the OpenShift client tool, run the command rhc app add-alias to create these alias:

# rhc app add-alias -a appsname –alias “www.yourdomainname.com”

After that, login to your domain registrar, add a CNAME record for the domain. For example, associated a domain name ‘www.yourdomainname.com’ to the OpenShift application ‘appsname-namespace.rhcloud.com’.

Domain alias to Red Hat OpenShift application

I’m begin to learn PaaS. Red Hat OpenShift platform provides a very good opportunies to move your applications to PaaS cloud.

Popularity: 1% [?]

Posted in Linux | Tagged , , | Leave a comment

Install Git on Centos 5.7 in fast and easy way

After installed Ruby and RubyGems on Centos 5, I proceed to install Git on Centos 5.

Here is fast and easy way to install Git on Centos 5.7.

1. Get the EPEL release for Centos 5.

# rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

2. Install git, git-daemon using yum

# yum install git git-daemon

I’m still learning to understanding PaaS using RedHat OpenShift cloud technology.

Popularity: 1% [?]

Posted in Linux | Tagged , , | Leave a comment

How to install Ruby 1.8.7 and Rubygem 1.8 on Centos 5.7

As RedHat OpenShift client tool requires minimum Ruby 1.8 and and Rubygem 1.8.
The official OpenShuft.repo only catered for RHEL 6 and above, but my Virtual Private Server is running on Centos 5.7.

yum install ruby in CentOS 5.7 will have the old Ruby 1.8.5.

Here is the steps on how to install Ruby 1.8.7 and Rubygem 1.8 on Centos 5.7.

First, get the Ruby 1.8.7 from the official site.

# wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz
# tar -zxvf ruby-1.8.7-p330.tar.gz
# cd ruby-1.8.7-p72
# ./configure –prefix=/usr
# make
# make install

Run, ruby -v to verify.

# ruby -v

Then, follow by install RubyGems

# wget http://rubyforge.org/frs/download.php/74806/rubygems-1.8.0.tgz
# tar -zxvf rubygems-1.8.0.tgz
# cd rubygems-1.8.0
# ruby setup.rb

Lastly, run gems -v to verify.

# gems -v

Popularity: 1% [?]

Posted in Linux | Tagged , , | 1 Comment

Most Expensive The Straits Times Newspaper Subscription

How much would you be willing to pay to subscribe to a daily newspaper?

Pick-up a copy of The Straits Times from the street vendor or 7-11 store is just cost you $0.90 (or $1 for the weekend edition).

How about paying US$2,785.26 for 312 issues for a year. Average price per issue is US$8.93, inclusive of delivery?

The priceless newspaper can be subscribed thru Amazon!

The Straits Times Newspaper Subscription

Don’t believe? find out here.

Popularity: 1% [?]

Posted in Singapore | Tagged , | Leave a comment

11 Tricks to Write Headlines to Catch Eyeballs

11 Tricks to Write Headlines to Catch Eyeballs

1. “Oops! 22 Nutrition Mistakes & How To Avoid Them”

Template: Oops! [# Topic] Mistakes & How To Avoid Them.

2. “Thousands of Guys Reveal What Really Flips Their Switches” – Cosmopolitan

Template: [#] of [People] Reveal What Really [Does Something].

3. “14 Tricks to Melt Fat & Tone Muscle Faster”
- Women’s Health

Template: [#] Tricks to [Do Something] & [Do Something Else] Faster.

4. “How To Sell Your House For a Sweet Price”
- Money

Template: How To [Do Something Cool]

5. “The Truth About Oil“
- Time

Template: The Truth About [Something]

6. “64 Best Foods To Fuel Your Muscles Gains”
- Men’s Fitness

Template: [#] Best [Tricks,Techniques,Tips] to fuel (or boost) your [Something].

7. “Drop 5 lbs This Week Eating What You Love”
- Health

Template: [Do Something] This Week [While Doing Something Else]

8. “The Ultimate Fat Burning Plan”
- Muscle & Fitness

Template: The Ultimate [Something] Plan (or Guide)

9. “7 Reasons Your Diet’s Not Working”
- Prevention

Template: [#] Reasons Your [Something] Is Not [Doing What It's Suppose To Do]

10. “Money Mistakes Even Smart People Make”
- Prevention

Template: [Topic] Mistakes Even Smart People Make”

11. “Easter Baking Made Simple”
- Better Homes

Template: [Something Complicated] Made Simple

Source: 11 Brilliant Headlines You Can Steal From The World’s Best Selling Magazines

Popularity: 1% [?]

Posted in General | Leave a comment