友情提示:
之前我们在docker里运行jar包,最近因为maven编译环境和ant编译环境出现冲突,所以我打算把maven丢到docker里去进行编译,这样就不会影响到ant的编译环境.好了,废话不说多,我们来看怎么搞.
系统:centos 7.x(64位)
环境:docker 18.09.6
1.安装好docker环境
yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce -y
system...
centos7编译安装ffmpeg
公司最近要使用音频转码,找到我说要用ffmpeg,让我安装一个,好吧,为了方便以后查阅,故写下这篇文章.
系统:centos 7.x(64位)
软件:ffmpeg 3.3.2
1.下载ffmpeg 3.3.2
wget http://www.ffmpeg.org/releases/ffmpeg-3.3.2.tar.gz
2.下载第三方源
yum -y install epel-release
wget https://www.mirrorservice.org/sites/dl.atrpms.net/el7-x86_64/atrpms/stable/atrpms-repo-7-7.el7.x86_64.rp...
centos编译安装nodejs
今天我们来单独说说怎么编译安装nodejs,如果会的就看最后,不会的就跟着一步一步的安装走吧.
系统:centos 6.x(64位)
软件版本:nodejs 5.3.0
1.先升级gcc版本
升级gcc请看这篇文章linux快速升级gcc版本,这里就不重复说了.
2.下载node
wget http://nodejs.org/dist/v5.3.0/node-v5.3.0.tar.gz
或
wget http://download.slogra.com/nodejs/node-v5.3.0.tar.gz
3.编译安装node
tar zxf node-v5.3.0.tar...
php编译中遇到各种error解决办法
1) Configure: error: xml2-config not found. Please check your libxml2 installation.
Solutions :
Quote:
# yum install libxml2 libxml2-devel
2) Checking for pkg-config… /usr/bin/pkg-config configure: error: Cannot find OpenSSL’s <evp.h>
Solutions :
Quote:
# yum install openssl openssl-devel
3) Configure...
解决linux编译ruby1.8.7错误
今天同事要求在测试机上安装ruby和rails的时候,居然安装ruby-1.8.7出现编译错误.如下:
ossl_pkey_ec.c:815: error: ‘EC_GROUP_new_curve_GF2m’ undeclared (first use in this function)
ossl_pkey_ec.c:815: error: (Each undeclared identifier is reported only once
ossl_pkey_ec.c:815: error: for each function it appears in.)
make[1]: *** [ossl_pkey_ec.o] Error 1
make[1]: Leaving directory `/home/vagrant/ruby-1.8.7-p357/ext/openssl'
make: *** [all] Error 1
解决方法如下...
标签: linux 编译 ruby ruby1.8.7 ruby-1.8.7