Configuring RapidMiner Server without a Display


You can configure a machine that does not have an attached display monitor or does not support a graphical user interface (a “headless installation”) by using the XML file you created in step 4 of the full server package installation. (In that step, you should have selected Install RapidMiner Server on a headless machine as the installation type to create the file.) The XML installer file contains all the information you entered in the installer.

For example:

                  <?xml version="1.0" encoding="UTF-8" standalone="no"?><br />
<!DOCTYPE properties SYSTEM "">
<entry key="db_url">localhost</entry><br />
<entry key="db_port">3306</entry><br />
<entry key="server_service_id_overwrite">null</entry><br />
<entry key="eula_accepted">true</entry><br />
<entry key="server_port">8080</entry><br />
<entry key="db_password">MyDBpassword</entry><br />
<entry key="mail_password">MyMailPassword</entry><br />
<entry key="installation_directory">C:Users</entry><br />
<entry key="license_key">xxxxxxxxxxxxxxxxxxxxx</entry><br />
<entry key="server_host">RMUSPC020</entry><br />
<entry key="db_driverclass">com.mysql.jdbc.Driver</entry><br />
<entry key="server_register_as_service">true</entry><br />
<entry key="mail_port">25</entry><br />
<entry key="server_service_linux_variant">SUSE</entry><br />
<entry key="mail_sender"></entry><br />
<entry key="memory_max">4096</entry><br />
<entry key="db_system">MySQL</entry><br />
<entry key="mail_url"></entry><br />
<entry key="server_service_name">RapidMiner_Server</entry><br />
<entry key="java_home">C:Program FilesJavajdk1.7.0_71</entry><br />
<entry key="db_user">rmUser</entry><br />
<entry key="server_service_id">RMS250SVC</entry><br />
<entry key="db_driver_path_is_relative">true</entry><br />
<entry key="server_host_bind_only">false</entry><br />
<entry key="mail_user">admin</entry><br />
<entry key="db_schema">rapidminer_server</entry><br />
<entry key="db_driver_path">datajdbcmysql-connector-java-5.1.31.jar</entry>


Note that if you created the file on Windows and are installing it on Linux (or vice versa), you will need to edit the file to make operating system-specific changes.

Prerequisites for running a headless install

In addition to the prerequisites noted for the standard installation, the following are required to successfully complete an installation from the RapidMiner Server installation script:

  • Java 8 (either JDK or JRE) on the server you are installing on

  • Access from the current server to the RapidMiner service database

  • Write access to all required directories

Running the installation

1. Copy the installation script and the file to the headless machine on which RapidMiner Server will be installed.

2. Log in to the headless machine using a remote shell (for example, SSH for Linux or PuTTY for Windows).

3. Extract the contents of the .zip file to an installation directory.

4.From the bin directory (inside the RapidMiner Server installation directory), run either:

                  ./rapidminer-server-installer <file_name>.xml

or Windows

                  rapidminer-server-installer.bat <file_name>.xml

When the command completes, return to the standard installation instructions to start RapidMiner Server.