시스템 환경


   - CentOS 6.3 32비트 운영체제

   - export LD_LIBRARY_PATH=""

 

EPEL 설치


# rpm -Uvh http://ftp.riken.jp/Linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm 

 

erlang 설치


# vi /etc/yum.repos.d/epel-erlang.repo


# Place this file in your /etc/yum.repos.d/ directory

[epel-erlang]
name=Erlang/OTP R14B
baseurl=http://ftp.riken.jp/Linux/fedora/epel/6/i386/
enabled=1
skip_if_unavailable=1
gpgcheck=0

[epel-erlang-source]
name=Erlang/OTP R14B - Source
baseurl=http://ftp.riken.jp/Linux/fedora/epel/6/i386/
enabled=0
skip_if_unavailable=1
gpgcheck=0


# yum install erlang


RabbitMQ 설치



# wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.1.0/rabbitmq-server-3.1.0-1.noarch.rpm

# rpm -Uvh rabbitmq-server-3.1.0-1.noarch.rpm


RabbitMQ 서버 시작하기



# service rabbitmq-server start

Starting rabbitmq-server: SUCCESS
rabbitmq-server.


# rabbitmqctl status
Status of node rabbit@localhost ...
[{pid,10955},
 {running_applications,[{rabbit,"RabbitMQ","3.1.0"},
                        {mnesia,"MNESIA  CXC 138 12","4.5"},
                        {os_mon,"CPO  CXC 138 46","2.2.7"},
                        {xmerl,"XML parser","1.2.10"},
                        {sasl,"SASL  CXC 138 11","2.1.10"},
                        {stdlib,"ERTS  CXC 138 10","1.17.5"},
                        {kernel,"ERTS  CXC 138 10","2.14.5"}]},
 {os,{unix,linux}},
 {erlang_version,"Erlang R14B04 (erts-5.8.5) [source] [rq:1] [async-threads:30] [kernel-poll:true]\n"},
 {memory,[{total,14318840},
          {connection_procs,1364},
          {queue_procs,2728},
          {plugins,0},
          {other_proc,4625248},
          {mnesia,28920},
          {mgmt_db,0},
          {msg_index,10916},
          {other_ets,380884},
          {binary,2688},
          {code,7678162},
          {atom,903189},
          {other_system,684741}]},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,794248806},
 {disk_free_limit,1000000000},
 {disk_free,10803355648},
 {file_descriptors,[{total_limit,924},
                    {total_used,3},
                    {sockets_limit,829},
                    {sockets_used,1}]},
 {processes,[{limit,1048576},{used,121}]},
 {run_queue,0},
 {uptime,31}]
...done.


# service rabbitmq-server stop

Stopping rabbitmq-server: rabbitmq-server.


설치후기



# yum install erlang 에서 아래 에러 때문에 한시간 삽질

 . . .

  File "/usr/lib/python2.6/site-packages/yum/misc.py", line 1164, in _cElementTree_import
    import cElementTree
ImportError: No module named cElementTree


오라클 proc 설치하면서 LD_LIBRARY_PATH 를 잡아줬는데 그것때문에 걸리네 한시간 삽질끝에

export LD_LIBRARY_PATH="" 로 해결.

러시아어로 된 사이트에서 해결책을 건짐. 근데 왜?




블로그 이미지

오픈이지

시큐어코딩 교육/컨설팅 전문가 그룹

댓글을 달아 주세요