Install Script

From MidasWiki
Revision as of 18:39, 13 January 2026 by Stefan Ritt (talk | contribs) (Created page with "== MIDAS installation via script == Paste following command in a terminal or shell prompt: <code>/bin/bash -c "$(curl -sS https://bitbucket.org/tmidas/midas/raw/HEAD/install.sh)"</code> <br /> The script will: * Check if all necessary tools and libraries are installed and break if not * Ask for the installation directory, the midas experiment directory and the experiment name * Download midas via ''git clone'' * Compile midas via ''cmake'' * Install midas under the u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MIDAS installation via script

Paste following command in a terminal or shell prompt:

/bin/bash -c "$(curl -sS https://bitbucket.org/tmidas/midas/raw/HEAD/install.sh)"

The script will:

  • Check if all necessary tools and libraries are installed and break if not
  • Ask for the installation directory, the midas experiment directory and the experiment name
  • Download midas via git clone
  • Compile midas via cmake
  • Install midas under the user $MIDASSYS/bin directory where $MIDASSYS is the midas installation directory
  • Add the above directory to the path and put the environment variables MIDASSYS, MIDAS_DIR and MIDAS_EXPT_NAME in your environment
  • Add $MIDASSYS/python to PYTHONPATH
  • Create your experiment directory
  • Load an initial ODB file which configures mhttpd to accept insecure connections through port 8081. Change that later to secure your connections.
  • Install the MIDAS web server mhttpd as a system daemon via systemctl and start it
  • Start a midas example frontend and the logger

After a successful installation, you should be able to connect to mhttpd via http://localhost:8081 and see your experiment