Linux centos7.2 install rabbitmq------ install erlang

    • [Download erlang source installation package]: To install erlang in linux, you can only download the source installation package to install, which can be downloaded from the erlang official website, as shown in the figure.

      Linux system installation erlang

    • [Unzip the installation package]: The downloaded installation package is in the compressed gz format. Use the tar tool that comes with the system to unzip it under linux. Execute the command in the directory where the installation package is located: tar -zxvf otp_src_R16B03-1.tar.gz

      Linux system installation erlang

    • [Configure the installation environment]: Open the decompressed directory - execute the command: cd otp_src_R16B03-1; configure the installation environment - execute the command: /configure --prefix=/usr/local/servers/erlang --without-javac --with- ssl=/usr/local/ssl/

      Linux system installation erlang

    • [Compile source code]: Execute the compile command: make

      Linux system installation erlang

    • [Install the compiled software]: Execute the command: make install

      Create a soft chain: execute the command: lln -s /usr/local/servers/erlang/bin/erl /usr/local/bin/erl

      Note: If the current user is not root, execute: sudo make install

      Linux system installation erlang

    • 6

      [Start erlang tool]: Execute the command erl, and see the following figure, the installation is successful.

      Linux system installation erlang

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325321736&siteId=291194637