centos安装cowboy过程
在centos机器上安装erlang:
yum install erlang -y
接着把之前在ubuntu上的cowboy工程拷贝到centos机器上,进入到工程目录,输入:
make run
提示Error:“Please upgrade to Make 4 or later”,于是google了make的升级过程,如下:
wget http://ftp.gnu.org/gnu/make/make-4.2.tar.gz
tar -xzvf make-4.2.tar.gz
cd make-4.2
./configure
make && make install #会将make安装到/usr/local/bin目录下
which make #查看当前的make执行位置,为/usr/bin/make
cd /usr/bin
mv make makebak
ln -s /usr/local/bin/make ./make #建立符号链接指向/usr/local/bin/make
再次进入工程目录make run,提示Error:
“Error loading module relx: use of opcode 153; this simulator supports only up to 152”
在stack-overflow上搜索得到解答:
“The error use of opcode 153; this simulator supports only up to 152 means that you have a relx.beam
file that was compiled with Erlang/OTP R15 or later, but you're trying to run it in R14 or earlier. Upgrade to a newer Erlang version, or if you already have a newer version, figure out where the old Erlang is hiding and remove it.”
重新安装高版本的erlang:
yum install -y which wget perl openssl-devel make automake autoconf ncurses-devel gcc
wget http://erlang.org/download/otp_src_20.2.tar.gz
tar -zxvf otp_src_20.2.tar.gz
cd otp_src_20.2
./otp_build autoconf
./configure && make && make install
转载于:https://www.cnblogs.com/Jackie-Snow/p/9044900.html
centos安装cowboy过程相关推荐
- 图解centos安装详细过程
目录 1.必备软件 2.图解Vmwear配置 3.安装centos 3.1语言.时间 3.2 软件选择 3.3网络和主机 3.4分区 3.5设置用户 4.重启 1.必备软件 软件:推荐使用VMwear ...
- Centos安装onedrive
参考Ubuntu安装Onedrive教程在Centos安装onedrive过程中出现一个问题,Error: setup script does not support your distro toke ...
- CentOS 安装过程中格式化 SATA 硬盘巨慢的问题
刚刚在帮忙给一台服务器安装 CentOS 5.5 32位的系统.进安装界面后与平时并没有太的区别,不过,在 CentOS 安装过程中格式化 SATA 硬盘速度巨慢,慢得已经到达根本就无法容忍的地步.格 ...
- 安装虚拟机Centos系统并安装Docker过程记录
前言 本文主要介绍下 1.Mac系统安装虚拟机Centos7 2.Centos安装docker.docker-compose的过程 缘何说起这个话题,是因为之前一篇文章 遗留的问题 轻量级日志系统Lo ...
- CentOS 7 安装redis过程中gcc: Command not found错误
CentOS 7 安装redis过程中make错误 问题: [root@cnetos7 redis-5.0.7]# make cd src && make all make[1]: E ...
- CentOS 安装 tomcat 环境安装及配置过程完整版
CentOS 安装 tomcat 环境安装及配置过程 查看安装包信息 yum info tomcat 安装 yum -y install tomcat 查看是否安装成功 rpm -q tomcat 输 ...
- Linux(CentOS)安装分区方案
为什么80%的码农都做不了架构师?>>> Linux(CentOS)安装分区方案 /boot(不是必须的):/boot分区用于引导系统,它包含了操作系统的内核和在启动系统过程中 ...
- centos安装与配置dhcp服务
centos安装过程及配置方法 一.安装流程 有两种方法:一是使用自带的rpm安装包,二是使用yum命令在线安装. 1.检测安装 查看服务器上是否已经安装DHCP rpm -qa |grep ...
- System之Ubuntu:VMware虚拟机 Ubuntu安装详细过程(图文教程,最强攻略,步骤详细,建议收藏)
System之Ubuntu:VMware虚拟机 Ubuntu安装详细过程(图文教程,最强攻略,步骤详细,建议收藏) 导读 不是每一个程序员都必须玩过linux,只是博主觉得现在的很多服 ...
最新文章
- 程序员抱怨老婆追王一博入魔,长期被冷落想离婚
- RHEL5系统 sendmail+qpopper 架设简易邮件服务器
- 【django】项目开发准备【1】
- 用JQUERY实现给当前页面导航一个CSS
- MIME协议(三) -- MIME邮件的组织结构
- Aspnetpage ie10下 __dopost方法未找到 不能翻页的问题
- 【CodeForces - 294B】Shaass and Bookshelf(枚举,贪心,思维,组内贪心组间dp)
- SpringBoot 2.3.x 分层构建 Docker 镜像实践
- 机器学习hierarchical clustering_材料学+AI:非监督学习预测新型固态锂离子导体材料...
- python 爬网站 实例_python爬虫实战:之爬取京东商城实例教程!(含源代码)
- 不在更改国内网络账号的ID了
- php检索条件丢失,php – 从SQL Server检索时丢失的某些图像的一部分
- 实验5 振幅调制(集成乘法器幅度调制电路)
- 单片机原理与接口技术试题
- 分支定界法(matlab实现)
- 高斯-马尔可夫定理(Gauss-Markov Theorem)
- CMMI V2.0培训纪实
- Processing摸索前行(9)-音频可视化
- 利用卷积神经网络实现手写字识别
- 牛客网C++刷题《华为机试》