当前位置:网站首页>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
边栏推荐
- Investigation report of bench type Brinell hardness tester industry - market status analysis and development prospect prediction
- Raspberry pie 4B installation opencv3.4.0
- 图像处理一百题(1-10)
- Spark independent cluster dynamic online and offline worker node
- 第2章 HFDS的Shell操作
- 解决Intel12代酷睿CPU【小核载满,大核围观】的问题(WIN11)
- 我走过最迷的路,是字节跳动程序员的脑回路
- China tetrabutyl urea (TBU) market trend report, technical dynamic innovation and market forecast
- ByteDance new programmer's growth secret: those glittering treasures mentors
- The concept of spark independent cluster worker and executor
猜你喜欢
提交Spark应用的若干问题记录(sparklauncher with cluster deploy mode)
Submit several problem records of spark application (sparklauncher with cluster deploy mode)
Log statistics (double pointer)
Native JS realizes the functions of all selection and inverse selection -- Feng Hao's blog
~81 long table
原生js实现全选和反选的功能 --冯浩的博客
sublime text 代码格式化操作
图像处理一百题(1-10)
Solve the problem of intel12 generation core CPU [small core full, large core onlookers] (win11)
Solve the single thread scheduling problem of intel12 generation core CPU (II)
随机推荐
字节跳动技术新人培训全记录:校招萌新成长指南
第6章 Rebalance详解
7-10 punch in strategy
7-8 likes (need to continue to improve)
提交Spark应用的若干问题记录(sparklauncher with cluster deploy mode)
~73 other text styles
Chapter 5 namenode and secondarynamenode
SQL quick start
Use JQ to realize the reverse selection of all and no selection at all - Feng Hao's blog
7-6 sum of combinatorial numbers
图像处理一百题(11-20)
Market trend report, technical innovation and market forecast of double-sided foam tape in China
Chapter III principles of MapReduce framework
LeetCode 1640. Can I connect to form an array
~75 background
Research Report on market supply and demand and strategy of double drum magnetic separator industry in China
软通乐学-js求字符串中字符串当中那个字符出现的次数多 -冯浩的博客
MP4格式详解
Simple records of business system migration from Oracle to opengauss database
第2章 HFDS的Shell操作