奉献给可爱的小白!
首先自行百度安装autoconf 与 git
获取安装包 :git clone https://github.com/erlang/otp.git
cd otp
./otp_build autoconf
./configure
make
make install
在安装过程通常出现如下问题
1. No java complier foound
[root@localhost ~]
# yum search java|grep jdk //查看当前可以安装的SDK包
ldapjdk-javadoc.x86_64 : Javadoc
for
ldapjdk
java-1.6.0-openjdk.x86_64 : OpenJDK Runtime Environment
java-1.6.0-openjdk-demo.x86_64 : OpenJDK Demos
java-1.6.0-openjdk-devel.x86_64 : OpenJDK Development Environment
java-1.6.0-openjdk-javadoc.x86_64 : OpenJDK API Documentation
java-1.6.0-openjdk-src.x86_64 : OpenJDK Source Bundle
java-1.7.0-openjdk.x86_64 : OpenJDK Runtime Environment
java-1.7.0-openjdk-demo.x86_64 : OpenJDK Demos
java-1.7.0-openjdk-devel.x86_64 : OpenJDK Development Environment
java-1.7.0-openjdk-javadoc.noarch : OpenJDK API Documentation
java-1.7.0-openjdk-src.x86_64 : OpenJDK Source Bundle
java-1.8.0-openjdk.x86_64 : OpenJDK Runtime Environment
java-1.8.0-openjdk-demo.x86_64 : OpenJDK Demos
java-1.8.0-openjdk-devel.x86_64 : OpenJDK Development Environment
java-1.8.0-openjdk-headless.x86_64 : OpenJDK Runtime Environment
java-1.8.0-openjdk-javadoc.noarch : OpenJDK API Documentation
java-1.8.0-openjdk-src.x86_64 : OpenJDK Source Bundle
ldapjdk.x86_64 : The Mozilla LDAP Java SDK
vi /etc/profile //自行百度vi使用方法如何保存并退出
#set java environment
JAVA_HOME=
/usr/lib/jvm/java-1
.7.0-openjdk-1.7.0.75.x86_64
JRE_HOME=$JAVA_HOME
/jre
CLASS_PATH=.:$JAVA_HOME
/lib/dt
.jar:$JAVA_HOME
/lib/tools
.jar:$JRE_HOME
/lib
PATH=$PATH:$JAVA_HOME
/bin
:$JRE_HOME
/bin
export
JAVA_HOME JRE_HOME CLASS_PATH PATH
source /etc/profile //让修改生效!
验证: java -version
2.依赖组件
依赖组件
|
没装无法使用的apps |
解决
|
OpenSSL |
crypto、ssh、ssl
|
yum install openssl-devel |
Java compiler |
jinterface
|
yum install java-devel
|
ODBC library |
odbc
|
yum install unixODBC-devel
|
C++ compiler
|
orber
|
yum install gcc-c++
|