Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  09 Jan 2026, Stefan Ritt, Forum, MIDAS installation midas_setup.sh
    Reply  10 Jan 2026, Marius Koeppel, Forum, MIDAS installation 
       Reply  13 Jan 2026, Stefan Ritt, Forum, MIDAS installation install.sh
          Reply  13 Jan 2026, Stefan Ritt, Forum, MIDAS installation 
Message ID: 3190     Entry time: 13 Jan 2026     In reply to: 3189     Reply to this: 3191
Author: Stefan Ritt 
Topic: Forum 
Subject: MIDAS installation 
Thanks for your feedback. I reworked the installation script, and now also called it "install.sh" since it includes also the git clone. I modeled it after 
homebrew a mit (https://brew.sh). This means you can now run the script on a prison linux system with:

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

It contains three defaults for MIDASSYS, MIDAS_DIR and MIDAS_EXPT_NAME, but when you run in, you can overwrite these
defaults interactively. The script creates all directories, clones midas, compiles and installs it, installs and runs mhttpd as a system
service, then starts the logger and the example frontend. I also added your PYTHONPATH variable. The RC file is now automatically
detected.

Yes one could add more config files, but I want to have this basic install as simple as possible. If more things are needed, they
should be added as separate scripts or .ODB files.

Please have a look and let me know what you think about. I tested it on a RaspberryPi, but not yet on other systems.

Stefan
Attachment 1: install.sh  3 kB  | Show | Show all
ELOG V3.1.4-2e1708b5