手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 注册 | 登陆
浏览模式: 标准 | 列表2015年07月6日的文章

aliyun的dotdeb源有BUG

纯笔记做个记录
1、http://mirrors.aliyun.com/ ,这是阿里的源

2、这是dotdeb的说明:http://mirrors.aliyun.com/help/dotdeb

3、阿里云的说明:

XML/HTML代码
  1. 编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最后面添加以下条目(操作前请做好相应备份)  
  2.   
  3. deb http://mirrors.aliyun.com/dotdeb/packages.dotdeb.org wheezy all  
  4. deb-src http://mirrors.aliyun.com/dotdeb/packages.dotdeb.org wheezy all  

其实上面的源的写法是错误的,不需要package.dotdeb.org,应该是这样

XML/HTML代码
  1.   
  2. deb http://mirrors.aliyun.com/dotdeb wheezy all  
  3. deb-src http://mirrors.aliyun.com/dotdeb wheezy all  

不过,如果是默认这样其实没有什么特别用,PHP还是5.4,所以如果要针对PHP,就需要再加上

XML/HTML代码
  1. deb http://mirrors.aliyun.com/dotdeb wheezy-php56 all    
  2. deb-src http://mirrors.aliyun.com/dotdeb wheezy-php56 all    

其实说白了就是看:http://mirrors.aliyun.com/dotdeb/dists/,看这一页支持哪些,然后加在源里就OK了。就象官网说的,如果是阿里云服务器,请使用aliyuncs,流量直接从内网走~