centos安装163源】的更多相关文章

cd /etc/yum.repos.d/ mv CentOS-Base.repo CentOS-Base.repo.cp wget http://mirrors.163.com/.help/CentOS6-Base-163.repo .repo CentOS-Base.repo yum clean all #清除yun缓存 yum update -y yum repolist #查看可用的yum池…
用163的源,但是我发现这个源里面,根本没有libmcrypt libmcrypt-devel这二个包,装php扩展mcrypt时,又要用到这二个包,所以我手动装了libmcrypt包,但是给我的感觉是163源中的包不全.后来有一个朋友告诉我用epel,用了之后感觉很爽. 一,什么是epel 如果既想获得 RHEL 的高质量.高性能.高可靠性,又需要方便易用(关键是免费)的软件包更新功能,那么 Fedora Project 推出的 EPEL(Extra Packages for Enterpri…
网易(163)yum源是国内最好的yum源之一 ,无论是速度还是软件版本,都非常的不错,将yum源设置为163yum,可以提升软件包安装和更新的速度,同时避免一些常见软件版本无法找到.具体设置方法如下:1,进入yum源配置目录cd /etc/yum.repos.d2,备份系统自带的yum源mv CentOS-Base.repo CentOS-Base.repo.bk下载163网易的yum源:wget http://mirrors.163.com/.help/CentOS6-Base-163.re…
1.参考Centos镜像帮助 (1.1)备份原始repo shell> sudo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup (1.2)下载163 repo,放入 /etc/yum.repos.d/ ,并修改文件名称 shell > sudo cd /etc/yum.repos.d/ shell > sudo wget http://mirrors.163.com/.help/…
CentOS6.5系统挂载NTFS分区的移动硬盘 作为IT的工作者,避免不了使用Linux系统,我现在使用的系统是CentOS6.5 X86_64位版本,但是插入NTFS移动硬盘没有办法识别.通过下面三步就可以使CentOS识别NTFS分区的移动硬盘. 第一步:下载rpmforge,下载对应的版本,就是对应CentOS版本,还有32位与64位也要对应上.rpmforge拥有4000多种CentOS的软件包,被CentOS社区认为是最安全也是最稳定的一个软件仓库. 下载地址“http://pkgs…
1.备份/etc/yum.repos.d/CentOS-Base.repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2.下载repo文件, 放入/etc/yum.repos.d/(操作前请做好相应备份) wget http://mirrors.163.com/.help/CentOS7-Base-163.repomv  CentOS7-Base-163.repo /etc/yum.…
From:http://www.linuxidc.com/Linux/2012-08/69043.htm #CentOS-Base.repo其他版本文件在http://mirrors.163.com/.help查看 1. cd /etc/yum.repos.d 2. wget http://mirrors.163.com/.help/CentOS6-Base-163.repo 3.替换CentOS-Base.repos 4.yum update 即可.…
1.# cd /usr/local/src 2.上传mysql.tar.gz文件 3.# tar -zxvf mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz 4.# mv mysql-5.6.36-linux-glibc2.5-x86_64.tar /usr/local/mysql 5.# useradd -s /sbin/nologin mysql   建立mysql用户 6.# cd /usr/local/mysql 7.# mkdir -p /data/…
使用说明 首先备份/etc/yum.repos.d/CentOS-Base.repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载对应版本repo文件, 放入/etc/yum.repos.d/(操作前请做好相应备份) CentOS7 CentOS6 CentOS5 运行以下命令生成缓存 yum clean all yum makecache 内核.软件升级yum update…
报错如下: Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again 解决方法: 修改epel.repo文件,修改mirrorlist=https://*****这行,将https修改为http即可正常使用 资料链接: https://access.redhat.com/discussions/782763 https://w…