Dotdeb – An Extra Repository For Debian Servers

Dotdeb - An Extra Repository For Debian Servers

I have another good news for Debian users. There is an extra and unofficial software repository, so that you can install, update, upgrade up-to-date packages from that repository. Meet Dotdeb, an extra repository for Debian and Ubuntu servers that provides up-to-date packages. Dotdeb is mainly designed for Debian servers, however, it should support Ubuntu servers too. For Ubuntu servers, there won’t be any official provided. It currently supports Debian 8.x Jessie, and Debian 7.x Wheezy, both 64 bit and 32 bit architectures.

Dotdeb includes numerous popular up-to-date packages, including:

  • Nginx,
  • PHP 7.0, 5.6, 5.5 and 5.4 (obsolete),
  • useful PHP extensions : apcu, imagick, mongo, Pinba, xcache, Xdebug, XHprof…
  • MySQL 5.6
  • Passenger
  • Redis,
  • Zabbix,
  • And more.

Cheers!

Add Dotdeb Repository in Debian

To add Dotdeb main repository, edit /etc/apt/sources.list file:

$ sudo vi /etc/apt/sources.list

Add the following lines depending upon the Debian version (Jessie or Wheezy) you use.

For Debian 8.x, add these lines:

deb http://packages.dotdeb.org jessie all
deb-src http://packages.dotdeb.org jessie all

For Debian 7.x, add:

deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all

You can also choose the nearest mirror. All Dotdeb mirrors around the world are listed in this link.

Save and close the file.

If you want to install Nginx with “full” HTTP2 support (with ALPN negotiation) on Debian 8 “Jessie”, activate the jessie-backports repository, install OpenSSL 1.0.0 (apt-get install -t jessie-backports libssl1.0.0) and add these two lines too.

deb http://packages.dotdeb.org jessie-nginx-http2 all
deb-src http://packages.dotdeb.org jessie-nginx-http2 all

PHP 5.6 on Debian 7 “Wheezy” (without Zend thread safety), add these two lines too :

deb http://packages.dotdeb.org wheezy-php56 all
deb-src http://packages.dotdeb.org wheezy-php56 all

PHP 5.6 on Debian 7 “Wheezy” (with Zend thread safety), add these two lines instead :

deb http://packages.dotdeb.org wheezy-php56-zts all
deb-src http://packages.dotdeb.org wheezy-php56-zts all

PHP 5.5 on Debian 7 “Wheezy”, add these two lines too :

deb http://packages.dotdeb.org wheezy-php55 all
deb-src http://packages.dotdeb.org wheezy-php55 all

Then, import and add Dotdeb GPG key:

$ wget https://www.dotdeb.org/dotdeb.gpg
$ sudo apt-key add dotdeb.gpg

Finally, update the repository lists using command:

$ sudo apt-get update

Now, you can install packages as usual.

$ sudo apt-get install <package_name>

That’s it. If you find our guides are useful, please share them on your social, professional networks, so that other users can also benefit from them. We will be posting more useful stuffs every day. Until then, stay tuned with OSTechNix.

Resource:

Thanks for stopping by!

Help us to help you:

Have a Good day!!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.