Mark Logic Server seems to be the latest, greatest in content serve-up. At least it is generating a lot of excitement at the LDS Church, where it’s being used for new content-centric apps/sites. Being caught in the wave of awesome, I was interested in getting it running in my favorite dev environment: Ubunutu-flavored Linux.
It wasn’t bad at all. In fact, it was accomplished in almost as few steps as installing Apache or Tomcat. Except, after this installation, full XML xquery’age is now possible! Here are the steps, slightly elongated by the fact that all Mark Logic-supported Unix systems are rpm-based.
# Get the packagewget http://developer.marklogic.com/download/binaries/4.0/MarkLogic-4.0-5.i686.rpm
# Get the rpm -> deb convertersudo apt-get install alien
# Convert the packagesudo alien MarkLogic-4.0.5.i686.rpm
# Install the packagesudo dpkg -i MarkLogic-4.0.6.i686.deb
# Supposedly, this dir is also importantsudo mkdir /var/lock/subsys
# Try to start the server -- most likely this will failsudo /etc/init.d/MarkLogic start
# Here, I got this error:# MarkLogic: /opt/MarkLogic/bin/MarkLogic: error while loading shared# libraries: libbteuclid.so.6.0.1: cannot open shared object file: No such file or directory# If needed, the the latest, unstable shared library (at own risk)wget http://ftp.us.debian.org/debian/pool/main/l/lsb/lsb-base_3.2-22_all.deb
# Install the shared libsudo dpkg -i lsb-base_3.2-22_all.deb
# Start for real this timesudo /etc/init.d/MarkLogic start
# Access your server and download a license keyfirefox http://localhost:8001 &