본문 바로가기

NetFPGA

NetFPGA Installation Guide

1. Log in as root


2. Install Java

Download the Java JDK (JDK 6 Update 6) Linux RPM in self-extracting file from SUN Java JDK 6 update 6

If running the command: reports at least version 1.6.*, then proceed to the next major step toInstall NetFPGA Base Package
Java –version

Otherwise, download Java 1.6 from: http://java.sun.com/products/archive/j2se/6u6/index.html  
 
Add execute permission to JDK file
chmod +x jdk-6u6-linux-i586-rpm.bin

Install JDK. Scroll down and say 'yes' when prompted.

./jdk-6u6-linux-i586-rpm.bin


Install the key for the JPackage repository
rpm --import http://jpackage.org/jpackage.asc

Install the JPackage repository information for yum
cd /etc/yum.repos.d
wget http://www.jpackage.org/jpackage17.repo
Install the Java JRE
yum -y --enablerepo=jpackage-generic-nonfree install java-1.6.0-sun-compat.i586

Set default JAVA path to new JRE
/usr/sbin/alternatives --config java

There are 2 programs which provide 'java'.
      Selection       Command
  -----------------------------------------------
      1                      /usr/lib/jvm/jre-1.4.2-gcj/bin/java
  *+ 2                      /usr/lib/jvm/jre-1.6.0-sun/bin/java
  Enter to keep the current selection[+], or type selection number:
 

3. Install RPMforge Yum repository


Download the rpmforge-release package.  
http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Install DAG's GPG key
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

Verify the package you have downloaded
rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm
Install the package
rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm
Test with this command
yum check-update
Expected output  

rpmforge                                    100% |=========================| 1.1 kB        00:00          
primary.xml.gz                        100% |=========================| 3.0 MB        00:05          
rpmforge    : ################################################## 8243/8243
 
antlr.noarch                                                          2.7.7-1jpp                          jpackage-generic
bsf.noarch                                                              2.4.0-1jpp                          jpackage-generic
bsh.noarch                                                              1.3.0-11jpp                        jpackage-generic
cadaver.i386                                                          0.22.5-1.el5.rf                rpmforge                
iso-codes.noarch                                                  1.0a-1.el5.rf                    rpmforge                
jpackage-utils.noarch                                        1.7.5-1jpp                          jpackage-generic
….


4. Install NetFPGA Base Package


Install NetFPGA yum repository and GPG Key (for CentOS 5)
rpm -Uhv http://netfpga.org/yum/el5/RPMS/noarch/netfpga-repo-1-1_CentOS5.noarch.rpm
or, if downloaded that file, jujst make like
rpm -Uhv netfpga-repo-1-1_CentOS5.noarch.rpm

'NetFPGA' 카테고리의 다른 글

NetFPGA Guide  (0) 2009.07.18