Mins / TuxLite

A complete LAMP and LNMP setup script for Debian or Ubuntu
http://tuxlite.com
253 stars 113 forks source link

Possibility to install new Nginx version #12

Closed codeeditor closed 11 years ago

codeeditor commented 11 years ago

Hi! Current stable Nginx version for Ubuntu 12.0.4 from ppa:nginx/stable is nginx_1.2.8-1~precise_i386 Tuxlite installing by default, old version for Ubuntu: nginx/1.1.19

Unfortunatelly when I'm trying to upgrade Nginx after execute Tuxlite script by running apt-get upgrade, there is no success. Is there any easy way to modify Tuxlite script so new Nginx version will be installed? Cheers!

Mins commented 11 years ago

Tuxlite currently uses default maintained Nginx package to ensure stability of the system. The installed Nginx version is usually outdated and will only receive security updates, but users will not have to worry about breaking their system when applying updates.

I was toying with the idea of using the nginx.org repository (not the unofficial Ubuntu PPA you mentioned) for Nginx instead of the distro supplied one, but eventually did not go through with it because:-

  1. Its rare that users would require new features from the latest versions.
  2. Potential conflicts for Debian 6 since its pulling the Nginx package from DotDeb.
  3. I wanted to know if the nginx.org repo will be actively updated over time (seems to be fine).

Now that Debian 7 is around the corner, the option to always install the latest version can be added.

Extra note: Nginx.org packages have fewer compiled in modules compared to Debianized packages. Refer https://gist.github.com/Mins/5355044

ghost commented 11 years ago

Does the latest version of Tuxlite now only use Dotdeb for Squeeze?

Mins commented 11 years ago

Just pushed an update to enable this feature. You should now see the option in options.conf if you re-download the script from the repo or main site.

I had initially delayed this because the nginx.org repo has yet to support Wheezy, but I figure I'll just add it now and eventually it will be compatible.

ghost commented 11 years ago

Just a little heads-up but it looks like you may have a few left over characters - https://github.com/Mins/TuxLite/commit/18779a1c1b148bba8b88d66cc2c78ee6cf54e08b

"te - Complete LNMP/LAMP setup script for Debian/Ubuntu"

Mins commented 11 years ago

Oh boy... what a blunder. You can count on me to mess up my Vim modes.

Just had that fixed and thanks!