Oct 24 (Reuters) - Oracle Corp struck a deal to buy RightNow Technologies Inc for around $1.5 billion, agreeing to pay a nearly 20 percent premium for the cloud-based customer service company.