Bilindiği üzere Debian GNU/Linux amaç olarak stabilite üzerine kurulu bir Linux işletim sistemi. Debian stabil sürümünde depolarda yer alan program sürümleri, öncelikle SID kod adlı stabil olmayan Debian sürümünde belirli bir süre test edilir. Sorunla karşılaşılmayan program sürümleri, daha sonrasında TESTING kod adlı Debian sürümüne taşınır. Burada da belli bir süre test edildikten sonra, artık STABLE sürüme aktarılırlar. Bu test süreci stabiliteyi artırırken, ihtiyaç halinde kullanılması gereken yeni program versiyonları için sıkıntı yaratmaktadır. Özellikle web sunucusu uygulamalarında, eski sürüm programlar zaman zaman sorunlara, sıkıntılara yol açabiliyor. Son sürüm programları manuel derleme yolu ile sisteminiz üzerinde derleyebilirsiniz. Ancak Debian paket yöneticisi APT gibi mükemmel bir uygulama varken açıkcası kimse manuel derleme ile uğraşmaz. Buradaki durumu fark eden Dotdeb.org isimli site, bizler için kolaylık olabilecek bir program deposu hazırlamış.
Dotdeb.org program deposunda, en güncel sürüm olarak Nginx, PHP (5.6, 5.5, 5.4 ve 5.3), MySQL (5.5 ve 5.6) programlarını bünyesinde bulunduruyor. Bize sadece depoyu sistemimize ekleyip tek satır ile güncelleme yapmak düşüyor. Dotdeb sitesine buradan olaşabilirsiniz.
Dotdeb.org repository kurulumu
Dotdeb, Debian 7.x ve Debian 6.x desteklemekte. Öncelikle hangi sürümü kullandığımızı kontrol edelim.
lsb_release -a
Sonuç olarak hangi sürümü kullanıyorsak onun çıktısını alacağız.
root@server:~# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.8 (wheezy) Release: 7.8 Codename: wheezy root@server:~#
Depo kaynak dosyamızı düzenleyelim.
nano /etc/apt/sources.list
Debian 7.x (Wheezy) için aşağıdaki kodları kullanın
deb http://packages.dotdeb.org wheezy all deb-src http://packages.dotdeb.org wheezy all
Debian 6.x (Squeeze) için aşağıdaki kodları kullanın
deb http://packages.dotdeb.org squeeze all deb-src http://packages.dotdeb.org squeeze all
Debian 7 “Wheezy” için PHP 5.6 güncellemek istiyorsanız aşağıdaki kodları kullanın
deb http://packages.dotdeb.org wheezy-php56 all deb-src http://packages.dotdeb.org wheezy-php56 all
Debian 7 “Wheezy” için PHP 5.5 güncellemek istiyorsanız aşağıdaki kodları kullanın
deb http://packages.dotdeb.org wheezy-php55 all deb-src http://packages.dotdeb.org wheezy-php55 all
Debian 6 “Squeeze” için PHP 5.4 güncellemek istiyorsanız aşağıdaki kodları kullanın
deb http://packages.dotdeb.org squeeze-php54 all deb-src http://packages.dotdeb.org squeeze-php54 all
GnuPG anahtarını kuralım
wget http://www.dotdeb.org/dotdeb.gpg sudo apt-key add dotdeb.gpg
Kurulum işlemi tamam. Şimdi apt-get update ve apt-get upgrade yaparak sürüm güncelleştirme yapabiliriz.
apt-get update && apt-get upgrade
Dobdeb çeşitli lokasyonlarda mirror serverlar barındırmakta. İsterseniz kendinze en yakın olanı kullanabilirsiniz.
- Avusturya
deb http://at.dotdeb.mirror.pkern.at/ stable all deb-src http://at.dotdeb.mirror.pkern.at/ stable all
- Belçika
deb http://dotdeb.debian.skynet.be/ stable all deb-src http://dotdeb.debian.skynet.be/ stable all
- Bulgaristan
deb http://dotdeb.ipacct.com/packages/ stable all deb-src http://dotdeb.ipacct.com/packages/ stable all
- Çin
deb http://dotdeb.90g.org/ stable all deb-src http://dotdeb.90g.org/ stable all
- Çek Cumhuriyeti
deb http://debian-dotdeb.mirror.web4u.cz/ stable all deb-src http://debian-dotdeb.mirror.web4u.cz/ stable all
- Fransa
deb http://packages.dotdeb.org stable all deb-src http://packages.dotdeb.org stable all
deb http://dotdeb.thefox.com.fr stable all deb-src http://dotdeb.thefox.com.fr stable all
- Almanya
deb http://ftp.hosteurope.de/mirror/packages.dotdeb.org/ stable all deb-src http://ftp.hosteurope.de/mirror/packages.dotdeb.org/ stable all
deb http://dotdeb.netmirror.org/ stable all deb-src http://dotdeb.netmirror.org/ stable all
deb http://mirror.de.leaseweb.net/dotdeb/ stable all deb-src http://mirror.de.leaseweb.net/dotdeb/ stable all
- İran
deb http://ir.dotdeb.aasaam.ir/ stable all deb-src http://ir.dotdeb.aasaam.ir/ stable all
- Japonya
deb http://mirrors.teraren.com/dotdeb/ stable all deb-src http://mirrors.teraren.com/dotdeb/ stable all
- Hollanda
deb http://mirror.nl.leaseweb.net/dotdeb/ stable all deb-src http://mirror.nl.leaseweb.net/dotdeb/ stable all
- Yeni Kaledonya
deb http://debian.nautile.nc/dotdeb/ stable all deb-src http://debian.nautile.nc/dotdeb/ stable all
deb http://mirror.lagoon.nc/pub/dotdeb/ stable all deb-src http://mirror.lagoon.nc/pub/dotdeb/ stable all
- Polonya
deb http://dotdeb.zendev.pl/ stable all deb-src http://dotdeb.zendev.pl/ stable all
- Portekiz
deb http://mirrors.fe.up.pt/dotdeb/ stable all deb-src http://mirrors.fe.up.pt/dotdeb/ stable all
- Romanya
deb ftp://download.srv.ro/pub/dotdeb/ stable all deb-src ftp://download.srv.ro/pub/dotdeb/ stable all
- Rusya
deb http://mirror.logol.ru/dotdeb/ stable all deb-src http://mirror.logol.ru/dotdeb/ stable all
- Slovakya
deb http://mirrors.mojhosting.sk/dotdeb/ stable all deb-src http://mirrors.mojhosting.sk/dotdeb/ stable all
- Güney Afrika
deb http://dotdeb.afri.cc/ stable all deb-src http://dotdeb.afri.cc/ stable all
- İsveç
deb http://dotdeb.jine.se/ stable all deb-src http://dotdeb.jine.se/ stable all
- İsviçre
deb http://dotdeb.kilrathy.net/ stable all deb-src http://dotdeb.kilrathy.net/ stable all
- Birleşik Krallık
deb http://mirror.stshosting.co.uk/dotdeb/ stable all deb-src http://mirror.stshosting.co.uk/dotdeb/ stable all
- Amerika Birleşik Devletleri
deb http://mirror.us.leaseweb.net/dotdeb/ stable all deb-src http://mirror.us.leaseweb.net/dotdeb/ stable all
deb http://cdn.content-network.net/mirror/dotdeb/ stable all deb-src http://cdn.content-network.net/mirror/dotdeb/ stable all
- (Sadece Amerika Birleşik Devletleri, Meksika, Kanada için)
deb http://dotdeb.mirror.borgnet.us/ stable all deb-src http://dotdeb.mirror.borgnet.us/ stable all