Install Script: Difference between revisions
Jump to navigation
Jump to search
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...") |
Stefan Ritt (talk | contribs) |
||
| Line 21: | Line 21: | ||
After a successful installation, you should be able to connect to mhttpd via http://localhost:8081 and see your experiment | After a successful installation, you should be able to connect to mhttpd via http://localhost:8081 and see your experiment | ||
=== Non-interactive installations === | |||
It is also possible to first download the '''install.sh''' file using the '''curl''' command and then executing it directly with '''./install.sh'''. Add | |||
the flag "-f" to force the installation at the default directories without asking for any user input. This can be useful for automated | |||
installations such as in a Docker. | |||
Revision as of 09:49, 14 January 2026
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
Non-interactive installations
It is also possible to first download the install.sh file using the curl command and then executing it directly with ./install.sh. Add the flag "-f" to force the installation at the default directories without asking for any user input. This can be useful for automated installations such as in a Docker.