当前位置:网站首页>Erlang installation
Erlang installation
2022-07-06 16:46:00 【Daily enlightenment】
(1) Modify hostname
RabbitMQ Is accessed by host name , You must specify an accessible host name .
# vim /etc/sysconfig/network
![]()
# vim /etc/hosts
Added a new line , The front is the server ip, Add the computer host name after the space

(2) Installation dependency
# yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel unixODBC unixODBC-devel
(3) Upload and unzip
Upload otp_src_22.0.tar.gz To /usr/local/tmp Directory , Go to the directory and unzip .

When decompressing, pay attention to , This package does not have gzip attribute , The decompression parameters have no z, Only xf
# cd /usr/local/tmp
# tar xf otp_src_22.0.tar.gz
(4) Configuration parameters
First new /usr/local/erlang Folder , As the installation folder
# mkdir -p /usr/local/erlang
Enter folder
# cd otp_src_22.0
Configuration parameters
# ./configure --prefix=/usr/local/erlang --with-ssl --enable-threads --enable-smp-support --enable-kernel-poll --enable-hipe --without-javac
(5) Compile and install
compile
# make
install
# make install
(6) Modify environment variables
modify /etc/profile file
# vim /etc/profile
Add the following code to the file
export PATH=$PATH:/usr/local/erlang/bin

Run the file , Let the changes take effect
# source /etc/profile
(7) Check if the configuration is successful
# erl -version
![]()
边栏推荐
- 解决Intel12代酷睿CPU单线程只给小核运行的问题
- sublime text 代码格式化操作
- Base dice (dynamic programming + matrix fast power)
- 业务系统从Oracle迁移到openGauss数据库的简单记录
- Remove the border when input is focused
- Investigation report of bench type Brinell hardness tester industry - market status analysis and development prospect prediction
- China double brightening film (dbef) market trend report, technical dynamic innovation and market forecast
- 原生js实现全选和反选的功能 --冯浩的博客
- 解决Intel12代酷睿CPU单线程调度问题(二)
- Continue and break jump out of multiple loops
猜你喜欢

< li> dot style list style type

(lightoj - 1323) billiard balls (thinking)

新手必会的静态站点生成器——Gridsome

CMake速成

Chapter 5 detailed explanation of consumer groups

Use JQ to realize the reverse selection of all and no selection at all - Feng Hao's blog

Submit several problem records of spark application (sparklauncher with cluster deploy mode)

图像处理一百题(11-20)

Chapter III principles of MapReduce framework

视频压缩编码和音频压缩编码基本原理
随机推荐
7-7 ring the stupid bell
string. How to choose h and string and CString
(lightoj - 1236) pairs forming LCM (prime unique decomposition theorem)
LeetCode 1551. Minimum operand to make all elements in the array equal
LeetCode 1637. The widest vertical area between two points without any point
~78 radial gradient
LeetCode 1636. Sort the array in ascending order by frequency
Chapter 5 detailed explanation of consumer groups
第5章 NameNode和SecondaryNameNode
(POJ - 3186) treatments for the cows (interval DP)
Hbuilder x format shortcut key settings
Chapter III principles of MapReduce framework
解决Intel12代酷睿CPU单线程只给小核运行的问题
力扣leetcode第 280 场周赛
sublime text 代码格式化操作
Usage of insert() in vector
使用jq实现全选 反选 和全不选-冯浩的博客
I'm "fixing movies" in ByteDance
Simply try the new amp model of deepfacelab (deepfake)
第7章 __consumer_offsets topic