Scientific Linux

From Physiki
Jump to: navigation, search

Scientific Linux is a Linux distribution based off of Red Hat Enterprise Linux and is distributed by various national and international laboratories. This page contains our documentation on the build we have installed and how we got it to that state.


Information about our Build

Scientific Linux 6.0 is currently installed on the computers in MH263. The reasons for this are twofold. First, the uEye camera software will only run on one of the RedHat distributions or some variant. Therefore, we installed Scientific Linux 6.0, based off of the RHEL6 core.

Differences between SL and Ubuntu

For installing packages in Ubuntu, one uses apt-get and the Synaptic package manager. SL uses yum and Yum Extender. Yum Extender, however, is not installed by default and is not as clean as Synaptic. See below for how to install Yumex.

Packages are handled roughly the same, but the repositories are much different. There are many repositories enabled by default in Ubuntu, but SL only has two repositories enabled at installation. They are the "official" repositories, which means that to install anything special, you need EPEL, which extends RHEL6.

Installing the uEye Software

To be added.

Installing Yumex

Yumex requires the EPEL (Extra Packages for Enterprise Linux) repository. Installing this, however, requires one of two things. One can either import the required key or force rpm to ignore the key required. Download the file named epel-release-6-5.noarch.rpm, and in a terminal, run
rpm --nogpgcheck epel-release-6-6.noarch.rpm
This installs the rpm for epel, and actually allows you to use the various packages included in it. Next, use
yum install yumex
to install Yum Extender.

Installing Java and enabling the Java plugin

Java has a more involved process.

  1. Begin by downloading the Linux Java RPM. Take care in installing the correct version (32- vs. 64-bit).
  2. Run
    chmod a+x jre-<version>-rpm.bin
    This should extract a file named jre-<version>.rpm
  3. Run
    rpm -i jre-<version>.rpm
    This installs the RPM for yum to use. (Please note that after this point is not entirely known. This needs to be verified on another computer).
  4. Check that Java installed to /usr/java/jre-<version>.
  5. Next, we want to install the plugin, so we cd to the Firefox plugin directory. For our computers, this should be located at /home/<username>/.mozilla/plugins.
  6. We assume that Java should have installed to /usr/java, so we want to create a symbolic link to the directory that contains the plugin
    ln -s /usr/java/jre1.6.0_26/plugin/i386/ns7/
  7. Restart Firefox and use the Java verification tool to ensure it installed correctly.

External Links

Personal tools