cwlr.net
当前位置:首页 >> CEntos7更新阿里yum源 >>

CEntos7更新阿里yum源

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum makecache

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

安装phpyum install --enablerepo=remi --enablerepo=remi-php70 php php-opcache php-pecl-apcu php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof php-pdo php-pear php-fpm php-cli php-x...

163源有个centos7的 http://mirrors.163.com/.help/centos.html

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo yum clean all yum...

1.检查当前安装的PHP包 yum list installed | grep php 2.如果有安装的PHP包,先删除他们 yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php...

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

建议将系统自带的PHP相关包卸载,然后编译php7源码来搭建php环境!

/etc/yum.repos.d/CentOS-Base.repo http://www.cnblogs.com/mchina/archive/2013/01/04/2842275.html

Centos7配置国内yum源。网易(163)yum源是国内最好的yum源之一 ,无论是速度还是软件版本,都非常的不错,将yum源设置为163yum,可以提升软件包安装和更新的速度,同时避免一些常见软件版本无法找到。V9zz的云主机就将yum源设置为163的yum,具...

网站首页 | 网站地图
All rights reserved Powered by www.cwlr.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com