Erlang安装备忘

#
# Installation script
#
# Prepare for compilation environment
yum install -y groupinstall "Development Tools"

# Create a build directory
mkdir -p /opt/install/erlang

# Prepare for compilation source
cd /opt/install/erlang
curl -o otp_src_R15B01.tar.gz http://www.erlang.org/download/otp_src_R15B01.tar.gz
tar -zxvf otp_src_R15B01.tar.gz

# Install build dependencies
yum install -y unixODBC unixODBC-devel

# Create a User Group

# Compile and deploy
cd otp_src_R15B01
./configure \
--prefix=/opt/environment/erlang/R15B01 \
--enable-threads \
--enable-smp-support \
--enable-kernel-poll \
--enable-hipe
make
make install

# Postinstallation setup

# Configuration

# Additional

猜你喜欢

转载自fly2wind.iteye.com/blog/1577596
今日推荐