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/