Ending 18 months of bad blood, Oracle Corp. raised its takeover bid for bitter rival PeopleSoft by 10 percent to seal a $10.3 billion deal that will create the world’s second largest maker of business applications software.

The agreement, announced Monday, caps a rancorous Silicon Valley feud marked by churlish exchanges between the companies’ management teams and colorful courtroom battles.