Thoughts and Notes Ideas that stay with me long enough to get written down

7Apr/060

MarkLogic on Debian

I really like the MarkLogic product offering. Not just because it's fast and stable, but also because they offer a community license (other CMS and XML database vendors take note - if I can't try it, I probably won't recommend it to my company). So, I decided to install it on my Debian box today. Here's my story.
First off, I didn't have the alien or daemon package installed. You'll need those (among others), so make sure you have those installed. I'm not going to list every package you need. If you're using Debian, you can probably figure that out yourself.

  1. Download it from MarkLogic. I'm running on a 32 bit processor, so I downloaded the RedHad 32 bit rpm.
  2. Use alien to convert the rpm to a deb.
  3. Use dpkg -i debfile
  4. mkdir /var/lock/subsys
  5. Edit /etc/init.d/MarkLogic and change the line
    . /etc/rc.d/init.d/functions
    to
    #. /etc/rc.d/init.d/functions
  6. Start the server - /etc/init.d/MarkLogic start
  7. Follow the rest of the install guide

It's really easy, so you have no excuse for not using a fully functional XML database.