Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Feb 16, 2012 5:29 am 
Offline
Senior Newbie

Joined: Wed Mar 30, 2011 3:26 pm
Posts: 10
please help out a linux & nginx noob here, i want to compile nginx but im getting very confused on all the modules available. so i want to just compile all of them. but will the performance suffer if i do that? will it be less secure?


Top
   
 Post subject:
PostPosted: Thu Feb 16, 2012 10:10 am 
Offline
Senior Member

Joined: Fri Jan 20, 2012 11:19 am
Posts: 100
Quote:
but will the performance suffer if i do that?


Theoretically, yes.

Quote:
will it be less secure?


Theoretically, yes.

Since you're a n00b I doubt you're doing a high performance application in which case, neither of those issues should affect you.

_________________
If all else fails, reboot...
PHP Tutorials and MySQL Tutorials


Top
   
PostPosted: Thu Feb 16, 2012 10:16 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
rymngh wrote:
please help out a linux & nginx noob here, i want to compile nginx

Give me one reason why a "noob" needs to compile nginx from source. Are you using a source-based distribution like Gentoo? If not, why would you want to compile something that is readily available in the package repositories? Are you sure you can do a better job at keeping your nginx updated with security fixes than your distro's package maintainers can?


Top
   
 Post subject:
PostPosted: Thu Feb 16, 2012 10:18 am 
Offline
Senior Member

Joined: Fri Jan 20, 2012 11:19 am
Posts: 100
Quote:
why would you want to compile something that is readily available in the package repositories? Are you sure you can do a better job at keeping your nginx updated with security fixes than your distro's package maintainers can?


Maybe, he's such a n00b that he doesn't even understand the implications of what he is trying to do... :?

_________________
If all else fails, reboot...

PHP Tutorials and MySQL Tutorials


Top
   
 Post subject:
PostPosted: Thu Feb 16, 2012 11:26 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Compiling from source is bad, mmm'kay? There are times when you need to, but most people should stick to their distro's packages so that they get updates.


Top
   
 Post subject:
PostPosted: Thu Feb 16, 2012 12:15 pm 
Offline
Senior Member

Joined: Fri Jan 20, 2012 11:19 am
Posts: 100
Quote:
Compiling from source is bad


Nobody said it was. But as a n00b you probably wouldn't want to start learning by compiling nginx from source. That would most likely lead to distress, confusion, loss of interest, etc.

_________________
If all else fails, reboot...

PHP Tutorials and MySQL Tutorials


Top
   
PostPosted: Thu Feb 16, 2012 3:41 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
hybinet wrote:
Give me one reason why a "noob" needs to compile nginx from source.


For fun, or to learn how to compile things from source.

There is no reason why he should not compile things from source and much to learn from doing so. Sure it's harder than installing a binary version but he would learn little from typing 'apt-get install nginx'?


Top
   
 Post subject:
PostPosted: Thu Feb 16, 2012 4:49 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
nehalem wrote:
Nobody said it was.


Unless you missed it, I did.

sednet wrote:
Sure it's harder than installing a binary version but he would learn little from typing 'apt-get install nginx'?


From typing "apt-get install nginx", he'd learn best practices, the right way to do it.


Top
   
 Post subject:
PostPosted: Thu Feb 16, 2012 5:50 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Well, if you really want to learn it the hard way, you could compile nginx from source, follow the nginx mailing list for security notices and new releases, update your source tree accordingly (preferably using a version control system), and recompile as needed. Nothing wrong with that if done properly. It just happens to be a bloody hassle.

Unfortunately, several Linode Library articles casually mention compiling nginx from source as an alternative to using distro packages. I think there should be a big red warning at the top of those sections, along the lines of "YOU WILL BE 100% RESPONSIBLE FOR SECURITY UPDATES IF YOU DO THIS."


Top
   
 Post subject:
PostPosted: Fri Feb 17, 2012 12:48 pm 
Offline
Senior Member

Joined: Fri Jan 20, 2012 11:19 am
Posts: 100
Guspaz wrote:
nehalem wrote:
Nobody said it was.


Unless you missed it, I did.



I totally misinterpreted what you said. You were talking to the OP and I read it as you "defending" the OP's choice. If that explanation makes sense to you. :P

_________________
If all else fails, reboot...

PHP Tutorials and MySQL Tutorials


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group