Linux AsItHappens 安装

AsItHappens 官网地址:http://www.abrahams.co.nz/asithappens/

操作系统:Red Hat Enterprise Linux Server release 5.4 (Tikanga)

Prerequisites

You need a Java Runtime Environment (JRE) or Java Development Kit (JDK) version 6 or higher.

查看是否安装了JRE

rpm -q jre

如果没有安装,可在http://www.java.com/zh_CN/download/manual.jsp下载Linux RPM (自解压文件)

安装JRE(jre-6u21-linux-i586-rpm.bin)

把jre-6u21-linux-i586-rpm.bin拷贝到一个目录下,for example : /usr/local (必须为超级用户权限)

执行入下命令

[root@mysql1 ~]# cd /usr/local/
[root@mysql1 local]# chmod a+x jre-6u21-linux-i586-rpm.bin
[root@mysql1 local]# ./jre-6u21-linux-i586-rpm.bin
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP ([email protected]).
  inflating: jre-6u21-linux-i586.rpm
Preparing...                ########################################### [100%]
   1:jre                    ########################################### [100%]
Unpacking JAR files...
        rt.jar...
        jsse.jar...
        charsets.jar...
        localedata.jar...
        plugin.jar...
        javaws.jar...
        deploy.jar...

Done.
[root@mysql1 local]# rpm -ivh jre-6u21-linux-i586.rpm
Preparing...                ########################################### [100%]
        package jre-1.6.0_21-fcs.i586 is already installed

本机已安装jre-1.6.0_21-fcs.i586,位置:/usr/java/jre1.6.0_21/

配置Firefox

Java Runtime Environment

Version: 1.4.2 or later

  1. Install Java Runtime Environment.
  2. Make a symbolic link to libjavaplugin_oji.so in your Mozilla Plugins directory. Use the copy located in the plugin/i386/ns7 directory of JRE 5.0 or later, or plugin/i386/ns610-gcc32 if you are using JRE 1.4.2.

 具体步骤:

[root@mysql1 local]# cd /usr/lib/mozilla/plugins
[root@mysql1 plugins]# ln -s /usr/java/jre1.6.0_21/plugin/i386/ns7/libjavaplugin _oji.so libjavaplugin_oji.so
 

启动 Firefox 浏览器,如果 Firefox 浏览器已打开,则重新启动它
在 Firefox 的地址栏中键入 about:plugins,确认是否已经载入 Java Plugin。如果是 Firefox 1.5 或更高版本,则单击“工具”菜单确认是否已存在 Java 控制台

到此为止已完成先决条件

安装AsItHappens

下载地址:http://www.abrahams.co.nz/asithappens/release/0.57/asithappens-0.57.tgz

具体步骤:

1. Unpack the install file into any destination directory e.g. unpacking in /opt
   will create the application directory /opt/asithappens

2. Change the JAVA_EXE variable to the path to your JRE 1.5 executable
   (e.g. /opt/jdk1.5.0_06/jre/bin/java) in the script "bin/asithappens.sh"

3. Change the ASITHAPPENS_HOME variable to the install directory (e.g. /opt/asithappens)
   in the script "bin/asithappens.sh"

Use the "bin/asithappens.sh" script to start the application.
 完成安装

 

本文出自 “技术之家” 博客,转载请与作者联系!

你可能感兴趣的:(linux,职场,监控,休闲)