<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>How to install module for Nginx when previous installed with YUM?</title>
<description>Hello All,

I want to add two modules to my nginx :
https://github.com/gnosek/nginx-upstream-fair
http://wiki.nginx.org/HttpUploadProgressModule

I previously installed nginx very simple with YUM like this:

Create the file named /etc/yum.repos.d/nginx.repo with the following contents:
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/5/$basearch/
gpgcheck=0
enabled=1


yum install nginx



But now I want to add these modules, i'm still new with linux.. so should I first delete the old nginx?

yum remove nginx

and then download the gid:
git clone https://github.com/gnosek/nginx-upstream-fair.git
git clone https://github.com/masterzen/nginx-upload-progress-module.git


and then reinstall with:

wget http://nginx.org/download/nginx-1.2.0.tar.gz
tar -zxvf nginx-1.2.0.tar.gz
cd nginx-1.2.0

./configure --with-http_ssl_module --add-module=/nginx-upstream-fair --add-module=/nginx-upload-progress-module
make
make install



Am I forgetting something? should i add --sbin-path=/usr/local/sbin ? or do i need to add more options? or could i install these modules a other way? When I remove with Yum remove nginx do i lose my nginx settings in /var/nginx (ofcourse i will back them before i run remove but always good to ask?)</description><link>http://forum.nginx.org/read.php?11,226252,226252#msg-226252</link><lastBuildDate>Tue, 21 May 2013 06:07:00 -0400</lastBuildDate>
<generator>Phorum 5.2.16</generator>
<item>
<guid>http://forum.nginx.org/read.php?11,226252,226252#msg-226252</guid>
<title>How to install module for Nginx when previous installed with YUM?</title><link>http://forum.nginx.org/read.php?11,226252,226252#msg-226252</link><description><![CDATA[Hello All,<br /><br />I want to add two modules to my nginx :<br />https://github.com/gnosek/nginx-upstream-fair<br />http://wiki.nginx.org/HttpUploadProgressModule<br /><br />I previously installed nginx very simple with YUM like this:<br /><br />Create the file named /etc/yum.repos.d/nginx.repo with the following contents:<br />[nginx]<br />name=nginx repo<br />baseurl=http://nginx.org/packages/centos/5/$basearch/<br />gpgcheck=0<br />enabled=1<br /><br /><br />yum install nginx<br /><br /><br /><br />But now I want to add these modules, i'm still new with linux.. so should I first delete the old nginx?<br /><br />yum remove nginx<br /><br />and then download the gid:<br />git clone https://github.com/gnosek/nginx-upstream-fair.git<br />git clone https://github.com/masterzen/nginx-upload-progress-module.git<br /><br /><br />and then reinstall with:<br /><br />wget http://nginx.org/download/nginx-1.2.0.tar.gz<br />tar -zxvf nginx-1.2.0.tar.gz<br />cd nginx-1.2.0<br /><br />./configure --with-http_ssl_module --add-module=/nginx-upstream-fair --add-module=/nginx-upload-progress-module<br />make<br />make install<br /><br /><br /><br />Am I forgetting something? should i add --sbin-path=/usr/local/sbin ? or do i need to add more options? or could i install these modules a other way? When I remove with Yum remove nginx do i lose my nginx settings in /var/nginx (ofcourse i will back them before i run remove but always good to ask?)]]></description>
<dc:creator>janton</dc:creator>
<category>How to...</category><pubDate>Thu, 10 May 2012 13:02:16 -0400</pubDate></item>
</channel>
</rss>