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 :
- PHP 5.3 and its new FPM flavour
- the Xhprof, PHPredis and Pinba extensions
- the Pinba MySQL storage engine
- the Redis key-value store
It is now time for me to introduce the long-awaited 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 🙂
30 replies on “Nginx : now on Dotdeb!”
I’m currently using Nginx from Ubuntu PPA for my Debian Squeeze. Now I can use Nginx from a proper source. Thank you!
Hmm, after update php won’t serv my pages, nothing in logs, nginx it’s working… ;/
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)
Any chance you can include 3rd party modules? Like H264 Streaming
http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Nginx-Version2
@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.
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.
[…] donosi serwis dotdeb.org pakiet Nginx w wersji stabilnej 0.8.54 będzie utrzymywany przez dotdeb. Tak jak w przypadku […]
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?
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!
@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.
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.
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?
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.
@Zoran Dimovski : I admit that the links to the description of the packages are confusing (leading to sid), but the Dotdeb Nginx packages are built for Squeeze.
About the ruby-passenger module, you should take a look at the Brightbox repository : http://www.modrails.com/install.html
@Guillaume: Thanks! I ended up removing the depend for php5-intl in the roundcube package and installing it like that.
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?
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….
Helk, I’ll be greacefull if you mail me. My nick plus gmail.com
Thanks!
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!
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.
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
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
YES! this is awsome have the last version of nginx 🙂
About all your module addition requests : I’m collecting them, they will help me to build better nginx packages in the future. Just be patient 🙂
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
Hi Guillaume,
a very usefull module for proxies:
http://labs.frickle.com/nginx_ngx_cache_purge/
Thanks for your work
Best Regards
Dario
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!!!
@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
Thanks for this packaging! Very nice to have the latest nginx in Debian. 🙂
Looking forward to get headers-more-nginx-module:
http://wiki.nginx.org/HttpHeadersMoreModule
(I am lazy and don’t want to recompile just for it) 🙂
[…] (les dépôts officiels Debian ne sont pas très à jour). Dans un article en date du 12 mars (NGINX: now on Dotdeb) l’équipe annonce la disponibilité de plusieurs outils dont NGINX, Redis, Pinba ou encore […]