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

CentOS 基础(常用)的源:

On RHEL/CentOS – 32-bit OS

-------------- For RHEL/CentOS 6 --------------
# wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -ihv epel-release-6-8.noarch.rpm
-------------- For RHEL/CentOS 5 --------------
# wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# rpm -ihv epel-release-5-4.noarch.rpm

On RHEL/CentOS – 64-bit OS

-------------- For RHEL/CentOS 7 --------------
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
# rpm -ihv epel-release-7-9.noarch.rpm
-------------- For RHEL/CentOS 6 --------------
# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -ihv epel-release-6-8.noarch.rpm
-------------- For RHEL/CentOS 5 --------------
# wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
# rpm -ihv epel-release-5-4.noarch.rpm

CentOS 升级内核的源
http://rpms.famillecollet.com/enterprise/remi-release-6.rpm 
http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

Ubuntu 最快(阿里)的源
deb http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse

rm -fR /var/lib/apt/lists/* && apt-get clean && apt-get update --fix-missing #修复源
cp /etc/apt/sources.list sources.bak #备份旧源
vi /etc/apt/sources.list #替换成aliyun
apt-get clean && apt-get update && apt-get upgrade #执行更新

MariaDB 源网站地址: https://downloads.mariadb.org/mariadb/repositories/#mirror=neusoft

# Centos6-MariaDB 10.1 

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

# Centos7-MariaDB 10.1

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

Mysql 源网站地址: http://dev.mysql.com/downloads/repo/yum/ #5.5-5.7版本
http://repo.mysql.com//mysql57-community-release-el6-8.noarch.rpm #Centos 6
http://repo.mysql.com//mysql57-community-release-el7-8.noarch.rpm #Centos 7

Nginx 源网站地址: http://nginx.org/packages/ #最新版本1.10.1
http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm #Centos 6
http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm #Centos 7

deb http://nginx.org/packages/ubuntu/ precise nginx
deb-src http://nginx.org/packages/ubuntu/ precise nginx

Tomcat6-9 源码地址
http://apache.fayea.com/tomcat/tomcat-9/v9.0.0.M9/bin/apache-tomcat-9.0.0.M9.zip
http://apache.fayea.com/tomcat/tomcat-9/v9.0.0.M9/bin/apache-tomcat-9.0.0.M9.tar.gz
 
http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.4/bin/apache-tomcat-8.5.4.zip
http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.4/bin/apache-tomcat-8.5.4.tar.gz

http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-7/v7.0.70/bin/apache-tomcat-7.0.70.zip
http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-7/v7.0.70/bin/apache-tomcat-7.0.70.tar.gz

http://mirrors.cnnic.cn/apache/tomcat/tomcat-6/v6.0.45/bin/apache-tomcat-6.0.45.zip
http://mirrors.cnnic.cn/apache/tomcat/tomcat-6/v6.0.45/bin/apache-tomcat-6.0.45.tar.gz

JAVA-JDK 安装包地址------需要先打开官网地址才能下载
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html #官网地址
http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.rpm
http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz

http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u80-oth-JPR #官网地址
http://download.oracle.com/otn/java/jdk/7u80-b15/jdk-7u80-linux-x64.rpm
http://download.oracle.com/otn/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz

http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html#jdk-6u45-oth-JPR #官网地址
http://download.oracle.com/otn/java/jdk/6u45-b06/jdk-6u45-linux-x64-rpm.bin
http://download.oracle.com/otn/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin

Mongodb 源码地址 https://www.mongodb.com/download-center#community #下载地址
https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.8.tgz #Centos 3.2.8版本
https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1404-3.2.8.tgz #ubuntu1404 3.2.8版本

Memcached 源代码地址 http://memcached.org/downloads
http://www.memcached.org/files/memcached-1.4.30.tar.gz #最新版本1.4.30,需要下面命令编译
./configure --prefix=/usr/local/memcached --with-libevent=/usr/local/lib64 && make && make install #编译命令
yum install libevent libevent-devel wget gcc make memcached -y #稳定版本1.4.4

Redis Stable (3.0)源代码地址 http://www.redis.net.cn/download
yum install gcc tcl tcl-devel gcc-c++                               #基础包
http://download.redis.io/releases/redis-3.0.6.tar.gz         #源代码
make MALLOC=libc && make test && make && make install#编译命令
yum install redis                                                            #安装的是稳定版本2.4.10

PHP55 56 70 71 更新源地址 http://rpms.famillecollet.com/enterprise/
http://rpms.famillecollet.com/enterprise/remi-release-5.rpm #centos5
http://rpms.famillecollet.com/enterprise/remi-release-6.rpm #centos6
http://rpms.famillecollet.com/enterprise/remi-release-7.rpm #centos7

yum install --enablerepo=remi --enablerepo=remi-php55 #php5.5
yum install --enablerepo=remi --enablerepo=remi-php56 #php5.6
yum install --enablerepo=remi --enablerepo=remi-php70 #php7.0
yum install --enablerepo=remi --enablerepo=remi-php71 #php7.1

php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof php-bcmath php-bz2 php-ctype php-curl php-date php-dom php-ereg php-fileinfo php-filter php-gd php-gettext php-hash php-iconv php-json php-libxml php-mbstring php-mcrypt php-memcache php-mhash php-mysql php-mysqli php-mysqlnd php-openssl php-pcntl php-pcre php-pdo_mysql php-pdo_sqlite php-posix php-readline php-redis php-session php-shmop php-soap php-sockets php-sqlite3 php-standard php-sysvmsg php-sysvsem php-sysvshm php-tokenizer php-xml php-xmlreader php-xmlwriter php-zip php-zlib php-core php-pdo php-phar php-reflection php-seaslog php-simplexml php-spl php-fpm #PHP 组件

Jetty 更新源地址
https://www.eclipse.org/jetty/download.html

OPENSUSE 11

  • 源仓库: 163/Oss; URL: http://mirrors.163.com/openSUSE/distribution/11.3/repo/oss/
  • 源仓库: 163/NON-Oss; URL: http://mirrors.163.com/openSUSE/distribution/11.3/repo/non-oss/
  • 源仓库: opensuse:URL: http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.4/repo/oss/
  • http://mirrors.aliyun.com/

CentOS源 Ubuntu 源 OpenSUSE-----持续汇总的更多相关文章

  1. CentOS 7下源码安装MySQL 5.7

    网上说linux安装mysql服务分两种安装方法: ①源码安装,优点是安装包比较小,只有几十M左右,缺点是安装依赖的库多,安装编译时间长,安装步骤复杂容易出错: ②使用官方编译好的二进制文件安装,优点 ...

  2. [linux]CentOS无法使用epel源

    [linux]CentOS无法使用epel源 问题的产生与解决 作者作为Android应用开发者,对linux的接触一直是ubuntu为主,但是有一个用于科学上网的vps,由于内存只有64M,所以使用 ...

  3. CentOS 7上源码编译安装和配置LNMP Web+phpMyAdmin服务器环境

    CentOS 7上源码编译安装和配置LNMP Web+phpMyAdmin服务器环境 什么是LNMP? LNMP(别名LEMP)是指由Linux, Nginx, MySQL/MariaDB, PHP/ ...

  4. CentOS使用yum源中自带的rpm包安装LAMP环境

    CentOS使用yum源中自带的rpm包安装LAMP环境.这是Linux下安装LAMP的环境一种最基本最简便的方式.新手可以从容安装使用. 1. 安装基础包(可选安装)yum install -y w ...

  5. CentOS RedHat YUM 源扩展补充(32位、64位均有)

    一般情况下强烈建议在CentOS6下面使用YUM配置安装LAMP环境,一些兄弟也很喜欢使用编译的安装方法,个人觉得如果不是对服务器做定制,用yum安装稳定简单,何必去download&make ...

  6. CentOS更新yum源

    CentOS更新yum源 1.备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2.下载 ...

  7. 中国区常用ubuntu源

    1.首先备份Ubuntu 源列表sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份下当前的源列表) 2.修改更新源sudo g ...

  8. 为centos添加第三方源

    默认centos自带的源少了很多好软件,所以需要添加第三方源一.安装CentOS yum源优先级插件yum-prioritiesyum install yum-plugin-priorities.no ...

  9. centos精简系统 源码安装客户端git

    CentOS的yum源中git版本比较低,需要最新版本git,只能自己编译安装,现在记录下编译安装的内容,留给自己备忘. 对于精简型的centos系统,会缺少很多依赖包和插件,要源码安装客户端git, ...

随机推荐

  1. windows、ubuntu下eclipse搭建java、Python环境问题总结

    前两篇博文分别讲述了如何在windows.ubuntu下用eclipse搭建java.python环境,下面就针对本人遇到的问题做一个总结. 一.windows下关于java环境变量JAVA_HOME ...

  2. 《C++primer》v5 第4章 表达式 读书笔记 习题答案

    4.1 105 4.2 *vec.begin()=*(vec.begin())//先调用点运算符,再解引用 *vec.begin()+1=(*vec.begin())+1//先解引用,再加一 4.3略 ...

  3. sql 日期格式输出 - 转

    SELECT CONVERT(varchar(100), GETDATE(), 0) 05 9 2011 9:12AM SELECT CONVERT(varchar(100), GETDATE(), ...

  4. BZOJ 2002 && BZOJ 2409 LCT && BZOJ 3282 初步练习

    #include <cstdio> ; inline void Get_Int(int & x) { ; ') ch=getchar(); +ch-'; ch=getchar(); ...

  5. nodejs入门 SSH服务器远程部署nodejs2

    服务器安装nodejs昨天好像出了点问题 今天参考的链接是http://nodejs.cn/download/package-manager/#debian-and-ubuntu-based-linu ...

  6. @SuppressWarnings("finally")

    @SuppressWarnings.该批注的作用是给编译器一条指令,告诉它对被批注的代码元素内部的某些警告保持静默.   批注允许您选择性地取消特定代码段(即,类或方法)中的警告.其中的想法是当您看到 ...

  7. React Native 的ES5 ES6写法对照表

    模块 引用 在ES5里,如果使用CommonJS标准,引入React包基本通过require进行,代码类似这样: //ES5 var React = require("react" ...

  8. Oracle监听小问题

    啥情况 宁波_弈风 15:17:40   宁波_弈风 15:17:49 默认配置路径 宁波_弈风 15:18:09   宁波_弈风 15:19:13 我原来一直都在SAMPLE文件里面配置和保存,因为 ...

  9. POJ 2976

    http://poj.org/problem?id=2976 01分数规划问题,可以舍掉k组 01分数规划用于解决的经典问题是最优比率生成树 解法见http://www.cnblogs.com/lot ...

  10. 《HP大规模敏捷开发实践》读书笔记

    读这本书的心得,敏捷是实践出来的,哪怕不懂srcum**等方法,只要坚持心中的价值观,朝一个方向改进,哪怕不能“任何时候都拥有符合发布要求的代码”,今天比昨天好,也是成功.     通过业务分析确定开 ...