Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed May 19, 2004 1:25 pm 
Offline
Senior Newbie

Joined: Sun Apr 18, 2004 3:30 am
Posts: 19
I have been testing and getting used to Gentoo in the past week or so. Love it!

I am trying to set up a server for:
web: apache, php... etc
email: postfix, sasl, imap, pop, smtp... etc
db: mysql

What's the best optimal USE flag settings for web-centric server setup. The current setup included in Caker's image is for general purpose...

Thank you...


Top
   
 Post subject:
PostPosted: Wed May 19, 2004 2:23 pm 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
This is what I have:
Code:
USE="nls imap xml -gpm -X -gtk -gnome -alsa -qt GD mysql ssl maildir -xfree -kde apache2"

This box is running apache/php/mysql for web and qmail/vpopmail/courier for email.


Top
   
 Post subject:
PostPosted: Wed May 19, 2004 5:10 pm 
Offline
Senior Newbie

Joined: Tue Mar 23, 2004 6:16 pm
Posts: 18
Location: Texas
Here's what I've got:


Code:
maildir sasl -X -qt mysql apache2 imap -gpm -cups


I almost always use the --verbose argument when running emerge. It will display all the USE flags (and their values) for every package you specify. It looks like this:

Code:
root@linode root # emerge -vp apache

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-www/apache-2.0.49-r1  +berkdb -doc +gdbm -ipv6 -ldap -threads  0 kB

Total size of downloads: 0 kB


If you have gentoolkit installed, you can then do this
Code:
root@linode root # equery uses =net-www/apache-2.0.49-r1
[ Colour Code : set unset ]
[ Legend    : (U) Col 1 - Current USE flags        ]
[           : (I) Col 2 - Installed With USE flags ]

 U I [ Found these USE variables in : net-www/apache-2.0.49-r1 ]
 + + berkdb  : Adds support for sys-libs/db (Berkeley DB for MySQL)
 + + gdbm    : Adds support for sys-libs/gdbm (GNU database libraries)
 - - ldap    : Adds LDAP support (Lightweight Directory Access Protocol)
 - - threads : Enable thread support
 - - ipv6    : Adds support for IP version 6
 - - doc     : Adds extra documentation (API, Javadoc, etc)


If you need more info than equery provides, check out Gentoo Forums. You'll find everything there. Hope this helps.


Top
   
 Post subject:
PostPosted: Wed May 19, 2004 5:29 pm 
Offline
Senior Newbie

Joined: Sun Apr 18, 2004 3:30 am
Posts: 19
Nice!! Thank you guys! This really helps!


Top
   
 Post subject:
PostPosted: Thu May 20, 2004 2:07 am 
Offline
Senior Member

Joined: Mon Nov 10, 2003 5:23 am
Posts: 57
AOL: aGoodBoy13
Location: Japan
This is what I've added to my make.conf

Code:
USE="apache2 cjk fam gd imagemagick imap maildir mysql sasl unicode -oss -alsa -apm -arts -avi -cups -encode -foomaticdb -gpm -gtk -gtk2 -imlib -kde -gnome -libg++ -mad -mikmod -motif -mpeg -oggvorbis -opengl -qt -quicktime -sdl -svga -truetype -X -xmms -xv"


-j

_________________
Programs that crash have been proven to be less useful than those that don't.
• Apple TechNote 117 •


Top
   
 Post subject:
PostPosted: Thu May 20, 2004 6:02 am 
Offline
Senior Member
User avatar

Joined: Sun Nov 23, 2003 1:40 pm
Posts: 79
Website: http://www.whitehouse.gov/history/presidents/bc42.html
I'm not a Gentoo user, but I'm interested in why you gentoo users specify things like -gtk when you already have -X ? I would assume that not including X would mean X graphical libraires like gtk are automatically excluded as well .... no?

Bill Clinton


Top
   
 Post subject:
PostPosted: Thu May 20, 2004 8:11 am 
Offline
Senior Member

Joined: Sat Apr 03, 2004 7:44 am
Posts: 64
ICQ: 2623399
Everyone should be a gentoo user :) We specify- gtk also because some packages still require gtk even if -X is already specified. I can't name any package nor remember experiencing this but i know its possible. I have -gtk -X specified into my make.conf anyway.

For web, just make sure you have apache2 gd mysql ssl maildir -X -qt -gtk ... these are the ones I added besides the default one that Chris provided.


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


Who is online

Users browsing this forum: No registered users and 5 guests


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