标签:编译安装 utils load deb dev moc plugins 环境 art
一、安装预环境
yum install zlib
yum install mesa*
yum install freeglut*
yum install pkgconfig
yum -y install gtk2-devel binutils-devel
yum -y install make ncurses-devel gcc gcc-c++ unixODBC unixODBC-devel openssl openssl-devel
二、安装wxWidgets
下载:http://www.wxwidgets.org/downloads/
进入解压缩目录 ./configure --with-opengl --enable-debug --enable-unicode
编译安装 make & make install
三、Erlang 安装
下载Erlang http://www.erlang.org/download/otp_src_18.3.tar.gz
配置安装 ./configure --prefix=/opt/soft/erlang --with-ssl -enable-threads -enable-smmp-support -enable-kernel-poll --enable-hipe --without-javac
./configure --prefix=/opt/soft/erlang --enable-smp-support --enable-threads --enable-sctp --enable-kernel-poll --enable-hipe --with-ssl
./configure --prefix=/opt/soft/erlang --without-javac
编译安装 make && make install
配置环境变量 vim /etc/profile, 添加: ERLANG_HOME=/usr/local/erlang PATH=$ERLANG_HOME/bin:$PATH export ERLANG_HOME export PATH
刷新配置 source /etc/profile
输入命令erl检验是否安装成功
四、rabbitmq-server安装
依赖包xmlto yum install xmlto rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc (貌似是导入什么签名)
wget https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.2/rabbitmq-server-3.6.2-1.noarch.rpm
yum install rabbitmq-server-3.6.2-1.noarch.rpm
安装web插件管理界面 mkdir /etc/rabbitmq rabbitmq-plugins enable rabbitmq_management The following plugins have been enabled: mochiweb webmachine rabbitmq_web_dispatch amqp_client
rabbitmq_management_agent rabbitmq_management Plugin configuration has changed. Restart RabbitMQ for changes to take effect. [root@rabbitmqmaster sbin]# ls /etc/rabbitmq enabled_plugins
启动rabbitmq rabbitmq-server start
有可能报主机名找不到的错误, vim /etc/hosts 127.0.0.1 localhost ${hostName}
guest/guest 登录localhost:15672
标签:编译安装 utils load deb dev moc plugins 环境 art
原文地址:http://www.cnblogs.com/wangzhongqiu/p/6544837.html