美文网首页我爱编程
php7等环境一键安装

php7等环境一键安装

作者: 不排版 | 来源:发表于2018-03-21 11:02 被阅读145次

    rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm

    rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

    rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

    rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

    rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

    rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

    sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

    sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

    yum check-update

    yum update

    yum clean all

    yum -y groupinstall "Development Tools"

    yum -y install libxml2-devel openssl-devel libcurl-devel libpng-devel libjpeg-devel gd gmp-devel net-snmp-devel libtool-ltdl-devel ImageMagick-devel autoconf subversion wget curl libcrpyt-devel mhash-devel libmcrypt libmcrypt-devel pcre-devel memcached

    yum install -y keepalived

    yum install -y php71w

    yum install -y php71w-opcache

    yum install -y php71w-fpm

    yum install -y php71w-opcache

    yum install -y php71w

    yum install -y php71w-bcmath

    yum install -y php71w-cli

    yum install -y php71w-common

    yum install -y php71w-dba

    yum install -y php71w-devel

    yum install -y php71w-embedded

    yum install -y php71w-enchant

    yum install -y php71w-fpm

    yum install -y php71w-gd

    yum install -y php71w-imap

    yum install -y php71w-interbase

    yum install -y php71w-intl

    yum install -y php71w-ldap

    yum install -y php71w-mbstring

    yum install -y php71w-mcrypt

    yum install -y php71w-mysql

    yum install -y php71w-mysqlnd

    yum install -y php71w-odbc

    yum install -y php71w-mssql

    yum install -y php71w-opcache

    yum install -y php71w-pdo

    yum install -y php71w-pear

    yum install -y php71w-pecl-apcu

    yum install -y php71w-pecl-gearman

    yum install -y php71w-pecl-geoip

    yum install -y php71w-pecl-imagick

    yum install -y php71w-pecl-memcache

    yum install -y php71w-pecl-memcached

    yum install -y php71w-pecl-mongodb

    yum install -y php71w-pecl-xdebug

    yum install -y php71w-pgsql

    yum install -y php71w-phpdbg

    yum install -y php71w-process

    yum install -y php71w-pspell

    yum install -y php71w-recode

    yum install -y php71w-snmp

    yum install -y php71w-soap

    yum install -y php71w-tidy

    yum install -y php71w-xml

    yum install -y php71w-xmlrpc

    yum install -y tcl

    yum install -y lrzsz

    yum install -y wget

    yum install -y ImageMagick

    yum install -y ImageMagick-devel

    yum install -y ImageMagick-perl

    yum install -y libevent-devel

    yum install -y nfs-utils rpcbind

    yum install -y nginx

    yum install -y SDL SDL-devel

    yum install -y lame lame-devel

    yum install -y yasm yasm-devel

    pecl install redis

    pecl install imagick

    pecl install curl

    pecl install openssl

    pecl install pdo

    pecl install json

    pecl install mb_string

    pecl install zip

    pecl install pdo_mysql

    pecl install tokenizer

    pecl install zip

    pecl install hash

    yum install -y mysql55w mysql55w-server mysql55w-devel

    echo extension=redis.so >> /etc/php.ini

    echo extension=imagick.so >> /etc/php.ini

    wget http://download.redis.io/releases/redis-3.2.9.tar.gz

    tar xzf redis-3.2.9.tar.gz

    cd redis-3.2.9

    make

    make test

    make install

    cd ../

    wget http://ffmpeg.org/releases/ffmpeg-3.3.4.tar.bz2

    tar -xvf ffmpeg-3.3.4.tar.bz2

    cd ffmpeg-3.3.4

    make

    make test

    make install

    cd ../

    rpm -ivh jdk-8u131-linux-x64.rpm

    rpm -e --nodeps mysql-devel-5.1.73-5.el6_6.x86_64

    rpm -e --nodeps mysql-libs-5.1.73-5.el6_6.x86_64

    rpm -e --nodeps mysql-5.1.73-5.el6_6.x86_64

    wget http://repo.webtatic.com/yum/el6/x86_64/libmysqlclient16-5.1.69-1.w6.x86_64.rpm

    rpm -ivh libmysqlclient16-5.1.69-1.w6.x86_64.rpm

    rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

    rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

    yum install -y mysql55w mysql55w-server mysql55w-devel

    yum -y update

    相关文章

      网友评论

        本文标题:php7等环境一键安装

        本文链接:https://www.haomeiwen.com/subject/rvvwqftx.html