Monday, June 8, 2015

Installing Oracle XE, ORDS and Apex on CentOS

I am writing a series of blog posts about how to install Oracle 11g Express Edition (XE) with Oracle Application Express (Apex) on a CentOS Linux server, with Apex served by Oracle REST Data Services (ORDS) running on top of Tomcat and Apache.

This is perhaps better explained with an illustration of the setup:

Best of all, this setup consists only of free (license-free) software, and as you will see in this series of blog posts, you will be able to run it all on a cloud server for as little as USD 10 per month, serving hundreds of concurrent users. Gotta love Apex! :-)

The articles will be divided up as follows:

These blog posts will assume that you are familiar with Oracle and Apex, but that (like me) you are a relative newcomer when it comes to Linux. Keep in mind that with Linux, there are typically many alternative ways to accomplish things, and I have chosen the approaches that seem most straightforward to me. Your mileage may vary.

Stay tuned for part one!


Martin D'Souza said...

Hi Morten,

We have already developed an open source build script to do all of this here:


Morten Braten said...

@Martin: Yes, I've seen it (and studied parts of it). I'm taking a slightly different approach and my blog posts are showing how to build the server "from scratch", step by step, in order to learn some Linux basics along the way (and also being a reference for myself as to "how did I do this").

- Morten

KlausI said...

Thanks for the great tutorial - excellent description!

Nikola said...

Thank you for great tutorial.
I had problem with installing ORDS 3, but after finding your tutorial everything works great. :-)

I have only one question:
Why did you use Apache and Tomcat together and not only Tomcat?


Morten Braten said...

@Nikola: Apache is better at serving static files, and has lots of configuration options via an extensive selection of modules. That said, if you don't need or want Apache, you can certainly run APEX on just Tomcat.

- Morten

Pedro Lopez said...

Very useful tutorial. Thank you very much.