Forum: 

Turnkey Nginx Upgrade

Jonathan Coombes's picture

I have installed the Nginx PHP fastcgi package that comes with nginx 0.7. How do I go about upgrading this to the latest Nginx version?

Any assistance will be appreciated. I am still very much a noobi...

Thanks in advance

Jeremy Davis's picture

Is there a bug, or a feature you need that is missing?

Unless you have a particularly good reason then don't bother is my advice. The version of Nginx inclued in TKL has security patches backported and auto installed within 24hrs of release. 

However if you do have a good reason then it is quite doable, although not easy or newb friendly. Also keep in mind that you will be reducing security (no auto updates anymore) and increasing your maintenance overheads (have to manually update/upgrade everytime a new version comes out).

If you still want to persist I can give you some pointers...

Jonathan's picture

Hi Jeremy,

Thank you very much for your reply. Well, the reason is that the rewrite rules seems to have changed after vers 0.8 and my software package that I am hosting on it (SocialEngine) only has reference to the new rewrite rules.

I have also emailed nginx.com and they have also suggested that I upgrade this to the latest version because a large number of performance enhancement features has been added to the various versions.

Any assistance to accomplish this would be really appreciated.

Thanks again in advance.

Jeremy Davis's picture

Well it looks like v1.2.1 is in the Wheezy repos (which is what TKL v13 will be based on). Considering that Wheezy went stable today, as I see it the best 2 options are to create your own using the TKL v13.0RC Core or to pin Nginx (in your existing appliance) to the Wheezy repo and update it.

Unfortunately I haven't got time to go into specifics ATM but probably the easiest is the second. I suggest that you do some googling on 'pinning packages' in Debian and hopefully you will get the idea...

I'm happy to give some guidance. Let me know how you go, and we'll go from there...

Jonathan's picture

Thanks vey much Jeremy. One last question, would you know of someone that could provide paid assistance with rewrite rules and opcode cache configuration - and that would be familiar with the turnkey linux distro's?

Jeremy Davis's picture

But if you keep in mind that the TKL appliances are Debian (Squeeze in the case of v12.x; Wheezy in the case of the upcoming v13.x) headless servers under the hood.

Post new comment