当前位置:网站首页>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
边栏推荐
- Ffmpeg command line use
- (POJ - 3186) treatments for the cows (interval DP)
- 我在字节跳动「修电影」
- LeetCode 1551. Minimum operand to make all elements in the array equal
- string. How to choose h and string and CString
- ~78 radial gradient
- LeetCode 1560. The sector with the most passes on the circular track
- 第6章 DataNode
- [unsolved]7-14 calculation diagram
- (lightoj - 1370) Bi shoe and phi shoe (Euler function tabulation)
猜你喜欢
我在字节跳动「修电影」
这116名学生,用3天时间复刻了字节跳动内部真实技术项目
Log statistics (double pointer)
LeetCode 1560. The sector with the most passes on the circular track
The concept of spark independent cluster worker and executor
~83 form introduction
Chapter 5 yarn resource scheduler
js封装数组反转的方法--冯浩的博客
Cmake Express
Solve the problem of intel12 generation core CPU [small core full, large core onlookers] (win11)
随机推荐
Market trend report, technological innovation and market forecast of China's double sided flexible printed circuit board (FPC)
图像处理一百题(11-20)
【锟斤拷】的故事:谈谈汉字编码和常用字符集
第2章 HFDS的Shell操作
LeetCode 1562. Find the latest group of size M
Two weeks' experience of intermediate software designer in the crash soft exam
7-4 harmonic average
Tert butyl hydroquinone (TBHQ) Industry Research Report - market status analysis and development prospect forecast
LeetCode 1640. Can I connect to form an array
Research Report on market supply and demand and strategy of China's tetraacetylethylenediamine (TAED) industry
Research Report on hearing health care equipment industry - market status analysis and development prospect prediction
~70 row high
Submit several problem records of spark application (sparklauncher with cluster deploy mode)
LeetCode 1584. Minimum cost of connecting all points
Error: case label `15 'not within a switch statement
~77 linear gradient
第三章 MapReduce框架原理
Raspberry pie 4B installation opencv3.4.0
LeetCode 1638. Count the number of substrings with only one character difference
(lightoj - 1370) Bi shoe and phi shoe (Euler function tabulation)