Monthly Archives: May 2014

【经验】Debian 建议安装源

1. 一般系统软件新版 backports

sudo tee /etc/apt/sources.list.d/backports.list << EOF
deb http://mirrors.aliyun.com/debian wheezy-backports main
deb-src http://mirrors.aliyun.com/debian wheezy-backports main
EOF

安装backports时

sudo apt-get -t wheezy-backports install pkgname

2. dotdeb

nginx已经出了官方源,但是坑很多,比如 这个。所以现在仍继续用dotdeb打包的nginx。另外如果对redis-server、zabbix、mysql5.6、php5.5有需求可以继续选用

curl http://www.dotdeb.org/dotdeb.gpg | sudo apt-key add -
sudo tee /etc/apt/sources.list.d/dotdeb.list << EOF
deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all
EOF

Continue reading