Posted by & filed under Nginx.

Dotdeb has always wanted to help you to build robust and featureful LAMP stacks. As of Debian 6.0 “Squeeze”, some useful tools are now supported and actively maintained on Dotdeb :

It is now time for me to introduce the long-awaited Nginx

Nginx

Nginx is a lightweight, high-performance Web server that relies on an asynchronous event-driven approach to handle HTTP requests. It behaves well under heavy load, even better than Apache (threaded or forked). Nginx can work with PHP through FPM or FastCGI (respectively packaged as php5-fpm and php5-cgi).

All the (many) features of Nginx are configured during its building process and it is unable to load additionnal modules without rebuilding. This design leads to very good performances and a little footprint on the system.

Don’t hesitate to visit the Nginx website for more information…

I’m proud to announce that Dotdeb now maintains Nginx in its stable version (0.8.54). As in the official Debian builds, three distinct packages are available, depending on which modules you need :

Don’t hesitate to thank me if you enjoy it :)

28 Responses to “Nginx : now on Dotdeb!”

  1. Matrix

    I’m currently using Nginx from Ubuntu PPA for my Debian Squeeze. Now I can use Nginx from a proper source. Thank you!

    Reply
  2. JarekMk

    Hmm, after update php won’t serv my pages, nothing in logs, nginx it’s working… ;/

    Reply
  3. Georgy Angelov

    Hi! I have nginx-full (same version) installed from the debian testing repository. Now aptitude wants to update the transitional ‘nginx’ package and ‘nginx-full’ and install ‘nginx-common’. However when I run an upgrade it can’t install nginx-common and the whole update process stops.
    /var/cache/apt/archives/nginx-common_0.8.54-3.dotdeb.1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Reply
  4. Guillaume Plessis

    @Matrix : you’re welcome.

    @JarekMk : can you tell us more? Which distribution are you using? Which version of Nginx did you install (light, full, extra)? Did you review your configuration file? What’s the result of “nginx -t”?

    @Gregory Angelov : Strange. Try to figure out what goes wrong in /var/lib/dpkg/info/nginx-common.postinst . Your feedback is welcome.

    @Mike : not yet.

    Reply
  5. Georgy Angelov

    That’s strange. I tried again now and it updated fine. It just installed nginx-common and reconfigured ‘nginx’ and ‘nginx-full’. It seems they were installed partially the first time and when I tried the second time it went fine.

    Reply
  6. Ratty

    Can anyone tell me where I can find the php5-intl package at? I am attempting to install roundcube-0.5.*.deb with dpkg and it is constantly complaining about not having that as a dependency. I saw this post: “intl extension changed with its inclusion by default in PHP 5.3. Be sure your applicaiton is compatible with PHP 5.3, upgrade it if needed and don’t hesit to take a look at the documentation (by example : http://www.php.net/idn_to_ascii )” but I suppose I don’t quiet understand what you mean.

    Is there anyway to just ignore the dependency globally instead of it complaining each time I want to do an upgrade to the system or install another package?

    Reply
  7. Wes

    Awesome, def makes it easier than having to build from the source yourself/making a deb package.

    Would there be a chance in the future that you may add the the push module addon? http://pushmodule.slact.net/

    Thanks for good work on nginx though!

    Reply
  8. Guillaume Plessis

    @Ratty : roundcube 0.5 packages are made for Debian wheezy/sid or Ubuntu natty. I don’t recommend using Dotdeb with these distribution. In fact, intl is part of the PHP core and bundled in one of the php5-cli, php5-cgi, php5-fpm or libapache2-mod-php5* package. I’ll add a “Provides” field in the upcoming PHP 5.3.6 packages to solve this dependency.

    @Wes : at the beginning of the Nginx support on Dotdeb, I think I’ll stick to the official Debian modules selection. I may include some pertinent and actively maintained modules in the future, but I can’t decide yet.

    Reply
  9. Alex

    Well done!
    I was anxious to see nginx in the list of dotdeb packages. Now I can sleep well. ))
    I love dotdeb and check at least once a week for your announces and updates.
    Thank you very much.

    Reply
  10. Zoran Dimovski

    Do you plan to add the packages to squeeze from your repository? I don’t use Sid on a production machines or web server. Also, If I use Nginx with ruby-passenger module I have to build nginx again with this module right?

    Reply
  11. Ben

    Thank you for adding this in. It showed up in my updates list just before I was going to get it from the sid repository as I only just noticed they have such an old version available in stable, this saves me a bit of configuring.

    Just in case other people have this problem: after I updated Nginx wouldn’t start due to a socket error.
    I have Apache binded to one IP and Nginx binded to the other and Nginx suddenly wanted to bind to all IPs which of course wouldn’t work, after some searching of the conf files I noticed that the update re-added the default website in sites-enabled which I had previously deleted and forgot about, after removing it again it all worked fine.

    Reply
  12. ratty

    @Guillaume: Thanks! I ended up removing the depend for php5-intl in the roundcube package and installing it like that.

    Reply
  13. Helk

    Hum, I have the exact same problem as JarekMk…

    Sounds like on the server side php -> 404…

    nginx -t
    the configuration file /etc/nginx/nginx.conf syntax is ok
    configuration file /etc/nginx/nginx.conf test is successful

    What’s going on?

    Is there any way to prioritize the official debian package over dotdeb’s one?

    Reply
  14. Helk

    apt-get install nginx-light=0.7.67-3 is the best way i did found, no way to force the debian repository through /etc/apt/preferences…

    will try to experiment with that on a non production box to see how come I can deal with that and eventually why we have this problem with php….

    Reply
  15. Bob

    No love for Debian 5 Lenny? I would like to see php5-fpm and Nginx available without having to use the sid repo all the time. Please consider backporting it!

    Many thanks from Canada!

    Reply
  16. Celso Fernandes

    First, thank you for work with PHP, now with Nginx..

    Add passenger support on nginx would be really great for ruby community, thank you again.

    Reply
  17. Luc Suryo

    Hello

    Thanks for the packaging! There is couple extra modules I really miss and wondering if you have any plan to add these

    chunkin (nice to have)
    headers-more (a must have)
    mod-strip (a must have)

    Thanks

    -ls

    Reply
  18. Vide

    Hi Guillaume

    does your nginx package have the syslog patch compiled in? if not, is there any plan to add it? it’s really needed if you have a separate syslog server.

    TIA

    Reply
  19. Celso Fernandes

    In our company we have a development server running Nginx (compiled from source because of additional modules), and we run many of 3rd party app and our apps too.

    If we can help you in any way, testing the packages, providing a feedback, please contact me via e-mail.

    thank you

    Reply
  20. Chris O

    Hi Guillaume,

    This is awesome to finally have the latest Nginx in a deb package.

    I am trying to replace my existing install which I think I compiled myself with the package. apt-get doesn’t recognize my existing and offers to install new. I don’t want all my config files overwritten. Whats the best way to update.

    Some info:
    nginx -V:

    nginx version: nginx/0.8.54
    built by gcc 4.3.2 (Debian 4.3.2-1.1)
    TLS SNI support enabled
    configure arguments: –prefix=/usr –sbin-path=/usr/sbin/nginx –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx/error.log –pid-path=/var/run/nginx/nginx.pid –lock-path=/var/lock/nginx.lock –user=nginx –group=nginx –with-http_ssl_module –with-http_flv_module –with-http_gzip_static_module –http-log-path=/var/log/nginx/access.log –http-client-body-temp-path=/var/tmp/nginx/client/ –http-proxy-temp-path=/var/tmp/nginx/proxy/

    apt-get install nginx-full:

    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    The following extra packages will be installed:
    nginx-common
    The following NEW packages will be installed:
    nginx-common nginx-full
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 417 kB of archives.
    After this operation, 849 kB of additional disk space will be used.
    Do you want to continue [Y/n]? n
    Abort.

    Thanks for maintaining these packages!!!

    Reply
  21. Guillaume Plessis

    @Chris O : I think these steps should be safe :
    1/ backing up /etc/nginx to a safe place
    2/ installing nginx-full from Dotdeb
    3/ making a diff between the old and the new config file to know which directives to apply

    Reply

Trackbacks/Pingbacks

  1.  Debian-Linux.pl – Informacje i aktualności ze świata Debiana » Nginx na dotdeb.org
  2.  Configurer un serveur web performant : NGINX, PHP5-FPM, MySQL 5.1, Redis, Pinba sur une Debian Squeeze « Expert PHP

Leave a Reply

  • (will not be published)


8 − = three