Nginx-Redis-Gcc离线安装,详细流程

关联github,一键部署脚本访问:https://github.com/LIU-LIU-LIU/auto_install
下面是服务的依赖及安装的大致流程
加粗的数字为安装顺序,先进行1再递增进行。

Centos6.5+

流程:

nginx-1.18.0

gcc-4.4.7-23.el6.x86_64

cloog-ppl-0.15.7-1.2.el6.x86_64

ppl-0.10.2-11.el6.x86_64

cpp-4.4.7-23.el6.x86_64

mpfr-2.4.1-6.el6.x86_64

glibc-devel-2.12-1.132.el6.x86_64

glibc-headers-2.12-1.132.el6.x86_64

kernel-headers-2.6.32-431.el6.x86_64

libgcc-4.4.7-23.el6.x86_64
libgomp-4.4.7-23.el6.x86_64

pcre-8.37

gcc-c++-4.4.7-23.el6.x86_64

libstdc++-4.4.7-23.el6.x86_64
libstdc++-devel-4.4.7-23.el6.x86_64

openssl-1.1.1h

perl-5.30.1

zlib-1.2.11


nginx-1.18.0 9

安装:
./configure --prefix=$
--with-http_ssl_module --with-http_gzip_static_module --with-pcre
make && make install
依赖:
gcc gcc-4.4.7-23.el6.x86_64.rpm 同redis 1
pcre-8.37.tar.gz . 5

./configure
make && make install
ln -s /usr/local/lib/libpcre.so.1 /usr/lib64/libpcre.so.1
openssl-1.1.1h.tar.gz . 7
./config
make && make install
ln -s /usr/local/lib64/libssl.so.1.1 /usr/lib64/libssl.so.1.1 && ln -s /usr/local/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1
zlib-1.2.11.tar.gz . 8
./configure
make && make install

pcre

依赖:
gcc-c++-4.4.7-23.el6.x86_64.rpm 4

gcc-c++

依赖:
libstdc++ = 4.4.7-23.el6 2
已经安装:libstdc++-4.4.7-4升级为:rpm -U libstdc++-4.4.7-23.el6.x86_64.rpm
libstdc++-devel = 4.4.7-23.el6 3

openssl-1.1.0e

依赖:
perl-5.30.1 6
安装:
./Configure -des -Dprefix=$HOME/localperl
make && make install


redis-5.0.5 11

安装:make
依赖gcc gcc-4.4.7-23.el6.x86_64.rpm 10

gcc

依赖:
cloog-ppl >= 0.15 cloog-ppl-0.15.7-1.2.el6.x86_64.rpm 2
cpp = 4.4.7-23.el6 cpp-4.4.7-23.el6.x86_64.rpm 4
glibc-devel >= 2.2.90-12 glibc-devel-2.12-1.132.el6.x86_64 7
libgcc >= 4.4.7-23.el6 8
已经安装:libgcc-4.4.7-4.el6.x86_64 升级为:rpm -U libgcc-4.4.7-23.el6.x86_64.rpm
libgomp = 4.4.7-23.el6 libgomp-4.4.7-23.el6.x86_64.rpm 9
libgomp.so.1()(64bit)

cloog-ppl

依赖:
libppl.so.7()(64bit) ppl-0.10.2-11.el6.x86_64.rpm 1
libppl_c.so.2()(64bit)

cpp-4.4.7-23.el6.x86_64.rpm

依赖:
libmpfr.so.1()(64bit) mpfr-2.4.1-6.el6.x86_64.rpm 3

glibc-devel-2.12-1.132.el6.x86_64

依赖
glibc-headers = 2.12-1.132.el6 6

glibc-headers-2.12-1.132.el6.x86_64

依赖:
kernel-headers >= 2.2.1 kernel-headers-2.6.32-431.el6.x86_64.rpm 5


Centos7.5+

nginx-1.18

./configure \
--prefix=/opt/nginx/ \
--with-http_ssl_module \
--with-http_gzip_static_module \
--with-pcre \

编译

make && make install

安装
依赖:
gcc-4.8.5-39.el7.x86_64.rpm 同redis 1
pcre-8.37.tar.gz . 5

./configure
make && make install
openssl-1.1.0e.tar.gz . 6
./config
make && make install
zlib-1.2.11.tar.gz . 7
./configure
make && make install

pcre-8.37.tar.gz

依赖:
gcc-c++-4.8.5-39.el7.x86_64.rpm . 4

gcc-c++-4.8.5

依赖:
libstdc++ = 4.8.5-39.el7 . 2 rpm -U libstdc++-4.8.5-39.el7.x86_64.rpm

7.5已经安装libstdc++-4.8.5-28.el7.x86_64,更新至libstdc++-4.8.5-39.el7.x86_64.rpm
libstdc++-devel = 4.8.5-39.el7 . 3


redis-5.0.5 . 11 make

依赖:gcc-4.8.5-39.el7.x86_64.rpm . 10

gcc-4.8.5

依赖:
cpp = 4.8.5-39.el7 . 3 cpp-4.8.5-39.el7.x86_64.rpm
glibc-devel >= 2.2.90-1 . 8 glibc-devel-2.17-307.el7.1.x86_64.rpm
libgcc >= 4.8.5-39.el7 . 9 rpm -U libgcc-4.8.5-39.el7.x86_64.rpm

7.5已经安装libgcc-4.8.5-28.el7.x86_64,升级至libgcc-4.8.5-39.el7.x86_64
libmpc.so.3()(64bit) .
libmpfr.so.4()(64bit) .

cpp = 4.8.5-39.el7

依赖:
libmpc.so.3()(64bit) libmpc-1.0.1-3.el7.x86_64.rpm 2
libmpfr.so.4()(64bit) mpfr-3.1.1-4.el7.x86_64.rpm 1

glibc-devel >= 2.2.90-1

依赖:
glibc = 2.17-307.el7.1 .
glibc-headers .
glibc-headers = 2.17-307.el7.1 . 7 glibc-headers-2.17-307.el7.1.x86_64.rpm

glibc-headers = 2.17-307.el7.1

依赖:
glibc = 2.17-307.el7.1 .
kernel-headers .
kernel-headers >= 2.2.1 . 4 kernel-headers-3.10.0-1127.el7.x86_64.rpm

这俩互相依赖,centos7.5已经安装:
glibc-common-2.17-222.el7.x86_64
glibc-2.17-222.el7.x86_64
需要升级为:
glibc = 2.17-307.el7.1 . 6 rpm -Uv glibc-2.17-307.el7.1.x86_64.rpm --nodeps
glibc-common = 2.17-307.el7.1 . 5 rpm -Uv glibc-common-2.17-307.el7.1.x86_64.rpm --nodeps

# Linux  nginx  redis  gcc 

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×