"Installation Steps of RA on RedHat 5 Virtual Machine"

shivacns
shivacns New Altair Community Member
edited November 5 in Community Q&A
Hello, I am a new user to Rapid-i and trying to install RA on RHEL5 OS Virtual Machine.

Can anybody point me to a step-by-step manual instruction on installing Rapid Analytics on a RHEL5 OS.

Do we need to Install Rapid Miner? to make RA work.

I have the installation manual but its so confusing.

Thanks,
Shiva

Answers

  • shivacns
    shivacns New Altair Community Member
    I am getting the Following Error after I run the following:
    $java -jar RapidAnalytics-CE-Installer-1.2.003.jar
    Exception in thread "main" java.awt.HeadlessException:
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
            at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
            at java.awt.Window.<init>(Window.java:432)
            at java.awt.Frame.<init>(Frame.java:403)
            at java.awt.Frame.<init>(Frame.java:368)
            at javax.swing.JFrame.<init>(JFrame.java:158)
            at com.rapidanalytics.installer.gui.MainFrame.<init>(Unknown Source)
            at com.rapidanalytics.installer.gui.MainFrame.init(Unknown Source)
            at com.rapidanalytics.installer.Starter.main(Unknown Source)
    ------------------------------------------------------------------------------
    The following are already Installed and Configured:
    -> mysql-5.1.63-linux-x86_64-glibc23, created user rapidanalytics and created quartz tables.
    -> jdk1.6.0_23
  • Nils_Woehler
    Nils_Woehler New Altair Community Member
    Hi,

    our RapidAnalytics Installer uses Java's Swing Framework to display it's GUI. The Swing framework  requires a X11 Display variable to be set.
    Have a look here: http://stackoverflow.com/questions/662421/no-x11-display-variable-what-does-it-mean

    Best,
    Nils
  • shivacns
    shivacns New Altair Community Member
    Thank You Nills.
    I was able to set it up by the following command at the shell:
    export DISPLAY=:0.0
    Now I am getting the following error, Could you please let me know if I am missing anything else

    java -jar RapidAnalytics-CE-Installer-1.2.003      .jar
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /fast/jdk/jdk1.6.0_23/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
            at java.lang.Runtime.load0(Runtime.java:770)
            at java.lang.System.load(System.java:1003)
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1720)
            at java.lang.Runtime.loadLibrary0(Runtime.java:823)
            at java.lang.System.loadLibrary(System.java:1028)
            at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
            at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
            at java.awt.Color.<clinit>(Color.java:263)
            at com.rapidminer.gui.look.Colors.<clinit>(Unknown Source)
            at com.rapidminer.gui.look.RapidLookAndFeel.<clinit>(Unknown Source)
            at com.rapidanalytics.installer.Starter.main(Unknown Source)
  • Nils_Woehler
    Nils_Woehler New Altair Community Member
    Hi,

    what version of Java do you have? Seems to me as if the  X11 library is missing in your java distribution.

    Best,
    Nils
  • shivacns
    shivacns New Altair Community Member
    Nills,

    Here is the Java Version Info.
    java version "1.6.0_23"
    Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
    Java HotSpot(TM) Server VM (build 19.0-b09, mixed mode)

    Thanks Nills.
  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    the Installer also comes with a no-gui mode, so if you setup an installer .xml file, you should be able to install RA without any need for GUI components.
    Setup .xml file looks like this (edit your settings in):

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
    <properties>
    <entry key="db_url">yourDBHostname</entry>
    <entry key="db_port">3306</entry>
    <entry key="server_service_id_overwrite">null</entry>
    <entry key="server_port">8080</entry>
    <entry key="db_password">yourDBPassword</entry>
    <entry key="mail_password"/>
    <entry key="installation_directory">C:\Users\yourDesiredRADirectory</entry>
    <entry key="server_host">yourHostname</entry>
    <entry key="server_register_as_service">false</entry>
    <entry key="db_driverclass">com.mysql.jdbc.Driver</entry>
    <entry key="mail_port">25</entry>
    <entry key="server_service_linux_variant">SUSE</entry>
    <entry key="mail_sender"/>
    <entry key="memory_max">1024</entry>
    <entry key="db_system">MySQL</entry>
    <entry key="mail_url"/>
    <entry key="server_service_name">RapidAnalytics Server</entry>
    <entry key="java_home">C:\pathToYourJavaFolder</entry>
    <entry key="db_user">yourDBUser</entry>
    <entry key="server_service_id">RA12SVC</entry>
    <entry key="server_host_bind_only">false</entry>
    <entry key="mail_user"/>
    <entry key="db_schema">yourDBScheme</entry>
    <entry key="db_driver_path">C:\pathToYourJDBCDriverJarForExample\mysql-connector-java-5.1.17-bin.jar</entry>
    </properties>
    Then you can start the installer .jar file with one parameter which points to the config .xml file, eg java -jar RapidAnalytics-CE-Installer-1.1.017.jar C:\pathToYourConfig.xml
    If you do not want to manually create the .xml file, just run the installer on your local machine in GUI mode, enter the settings you want for your remote machine and in the last step of the installer deselect "install" and select "generate script". The installer will then create the .xml file from the settings you entered.


    Regards,
    Marco
  • shivacns
    shivacns New Altair Community Member
    Marco,

    I am trying to install on RA on Linux Box (RHEL5). All I have is a RapidAnalytics-CE-Installer-1.2.003.zip file.
    When I unzinp I get the following files/folder:RapidAnalytics-CE-Installer-1.2.003\
    data
    RapidAnalytics-CE-Installer-1.2.003.jar
    RapidAnalytics-Installer.bat

    I don't see any .xml scripts within the files nor the folders.
    Can you or anybody direct me where to get the .xml file or how to build it in Linux env.
    Thanks
    Shiva
  • Nils_Woehler
    Nils_Woehler New Altair Community Member
    Hi,

    Marco already has posted an example for this xml file. You only have to adapt it for your own needs.

    Best,
    Nils
  • shivacns
    shivacns New Altair Community Member
    Hi Nills, Marco,

    Here is my unique problem with the RA install.
    Jboss is not supported on our Linux RHEL5 infrastructure.
    Tomcat and Apache are available.
    Is there a RA install available without the Jboss inbuilt? If so can you post me the instructions/steps install and configure with Tomcat ad MySql.
    I need RA to be up since I am involved in a Pilot program if its successful then we might engage the Rapid-i in procuring a full fledged license.

    Thanks.
  • fischer
    fischer New Altair Community Member
    Hi,

    you need a full app server. Tomcat alone won't do. Apache is entirely useless for this purpose :-)

    I don't understand why you cannot use the JBoss that ships with RA. As Marco said, you can create the XML file yourself and pass it as an argument to the installer so it runs in headless mode.  You can even run the installer on another machine and in the last step deselect "Install RA" and select "Generate installatin script" which will produce precisely this XML file with the values you entere in the installation wizard. Then run the installer again on the headless server and pass the XML file as an argument.

    Best,
    Simon
  • shivacns
    shivacns New Altair Community Member
    Hello All,

    My firm doesn't support and won't allow the JBoss on the Linux Farm. Thats the reason I was trying to ask everybody about an installation package which can run on Tomcat/Apache.
    If I was doing this on my personal PC then yes it can be done with the JBoss bundle.
    Any suggestions would be appreciated.

    Thanks