Date: Thu, 28 Mar 2024 03:39:20 -0500 (CDT) Message-ID: <1906618086.76.1711615160903@os-confluence.ncsa.illinois.edu> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_75_1201391503.1711615160902" ------=_Part_75_1201391503.1711615160902 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This are installation notes for the upcoming 2.0 release of MMDB= , this is work in progress and can change at any point.
Install rabbitMQ
sudo -s
echo "deb http://www.rabbitmq.com/debian/ testing =
main" >> /etc/apt/sources.d/rabbitmq.conf
wget http://www.rabbitmq.com/rabbit=
mq-signing-key-public.asc
apt-key add rabbitmq-signing-key-public.asc
apt-get update
apt-get -y install rabbitmq-server rabb=
itmq-erlang-client git python-virtualenv mongodb-10gen
exit
mkdir git
cd git
git clone https://opensource=
.ncsa.illinois.edu/stash/scm/mmdb/medici-play.git
git clone https://opensource.ncsa.illinois.edu/stash/=
scm/mmdb/extractors-core.git
Install MongoDB
sudo apt-get install mongodb-10gen
sudo /etc/init.d/mongodb start
Install Upstart script
We have created an Ubuntu Upstart script to handle running the Medici 2.0 =
web app. You can use this script to manually start and stop the Medici 2.0 =
web app, but more importantly you can use it to automatically start and sto=
p the application when the server starts up or shuts down.
Now you will need to run these two commands 'ln -s /lib/init/upstart-job= /etc/init.d/medici' and 'update-rc.d medici defaults' as root. At this poi= nt you should be able to use 'start medici' and 'stop medici,' as root, to = manually start or stop the web application. Note that if you changed the na= me of the .conf file (e.g. foo.conf), you will need to use that name with s= tart/stop (e.g. start foo, stop foo).
Note: You need to run the Play 'dist' command, either from the Play cons= ole or as an argument to play. This will create a universal distribution ar= chive under target/universal. Unzip the file under /usr/share/medici-p= lay (you can use a different path, but you will have to modify the medici.c= onf accordingly).