当前位置:网站首页>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
![]()
边栏推荐
- Chapter 6 rebalance details
- Hbuilder x format shortcut key settings
- SQL quick start
- Market trend report, technological innovation and market forecast of desktop electric tools in China
- Research Report on market supply and demand and strategy of China's tetraacetylethylenediamine (TAED) industry
- Continue and break jump out of multiple loops
- Chapter 5 detailed explanation of consumer groups
- 第三章 MapReduce框架原理
- Error: case label `15 'not within a switch statement
- Solve the problem of intel12 generation core CPU [small core full, large core onlookers] (win11)
猜你喜欢

原生js实现全选和反选的功能 --冯浩的博客

Remove the border when input is focused

ByteDance new programmer's growth secret: those glittering treasures mentors

Hbuilder x format shortcut key settings

~83 form introduction

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

LeetCode 1641. Count the number of Lexicographic vowel strings

Hbuilder X格式化快捷键设置

7-4 harmonic average

Ffmpeg command line use
随机推荐
原生js实现全选和反选的功能 --冯浩的博客
Tencent interview algorithm question
Market trend report, technical innovation and market forecast of double-sided foam tape in China
~83 form introduction
业务系统从Oracle迁移到openGauss数据库的简单记录
CMake速成
图像处理一百题(1-10)
Research Report of desktop clinical chemical analyzer industry - market status analysis and development prospect prediction
Cmake Express
(lightoj - 1354) IP checking (Analog)
Simply try the new amp model of deepfacelab (deepfake)
两个礼拜速成软考中级软件设计师经验
LeetCode 1584. Minimum cost of connecting all points
LeetCode 1637. The widest vertical area between two points without any point
Record the error reason
Codeforces Global Round 19
第7章 __consumer_offsets topic
China tetrabutyl urea (TBU) market trend report, technical dynamic innovation and market forecast
视频压缩编码和音频压缩编码基本原理
~Introduction to form 80