Skip to content

Installation on Linux

Bjørn Engsig edited this page Jul 9, 2024 · 4 revisions

A standard installation of the RWP*Load Simulator on Linux is quite simple:

  • If you do not already have an Oracle installation, download and install an appropriate version of Instant Client Basic Lite. At present (2024) version 21 is suggested and the zip version is recommended rather than the rpm version.
  • Unzip the file somewhere and set both of LD_LIBRARY_PATH and PATH to include the directory that was unzipped. You need to set the two environment variables even if you decided to download and install the rpm version.
  • If you already have an Oracle installation, just make sure LD_LIBRARY_PATH and PATH are set properly.
  • Download the latest full release of the rwloadsim software from GitHub releases.
  • Unpack the downloaded file (typically named something like rwloadsim-linux-x86_64-bin-NNN.tgz) into an empty directory.
  • Adjust the PATH environment such that it includes the bin directory of your unpacked distribution file.
  • Make sure you can run rwloadsim --version. If you get errors about missing libraries, please see INSTALL.html.
  • For all practical purposes, you also need gnuplot, which should be installed using your Linux distribution's install tool. For Oracle Linux, it can be installed using sudo yum install gnuplot
  • To run the standard oltp workload, you need ability to write files such that they are made available for browsing.
  • If you have an existing repository from a previous release earlier than 3.1.2, you must run rwl312.sql and rwlviews.sql in your repository schema before running any simulations. If you have a secondary repository schema, rwlviews.sql must also be run there. The files are found in the admin directory.
  • If you have an existing repository from release 3.1.2 you must similarly run rwl313.sql, rwlgrants.sql and rwlviews.sql in your repository schema. If you have a secondary schema, rwlsynonyms.sql and rwlviews.sql must also be run there.

For further details including other options for installation, creation of the repository database to save simulation results, etc. see the detailed instructions as INSTALL.html.