Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE flags for webserver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
owdawg
n00b
n00b


Joined: 03 May 2002
Posts: 7

PostPosted: Sun May 05, 2002 5:54 pm    Post subject: USE flags for webserver Reply with quote

What are the minumum USE flags needed during install if you just wanted to run a webserver with some minimal cgi access (perl and mysql). I also want remote access with ssh and sftp.
Back to top
View user's profile Send private message
svan9420
n00b
n00b


Joined: 24 Apr 2002
Posts: 51

PostPosted: Mon May 06, 2002 12:44 pm    Post subject: guessing here.... Reply with quote

I believe you would just use:

USE perl mysql pam
_________________
svan9420
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Mon May 06, 2002 1:08 pm    Post subject: Use Reply with quote

Use="perl php cgi mysql pam"
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
thegerb
n00b
n00b


Joined: 22 Jan 2005
Posts: 16

PostPosted: Mon Jan 24, 2005 2:10 pm    Post subject: Flag advice for a web server Reply with quote

This is my third attempt at installing Gentoo and I'd love some advice on the best choice of compile flags for a system that will only be used as a web server.
The machine machine is a Dual P3 1000 with 1Gb Ram and two 18Gb SCSI HDD set to hardware RAID1.

In my mind after lots of reading I came up with the following. Is this any good or have i got the wrong end of the stick?

CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
USE="-arts -avi curl curlwrappers dbm emacs -gif imap innodb -jpeg -kde -gnome -mad mime -mikmod mysql -oggvorbis perl php spl sse tokenizer vhosts xmlrpc -xmms -xv"

thx.
Back to top
View user's profile Send private message
kitano
Apprentice
Apprentice


Joined: 19 Dec 2002
Posts: 228
Location: Munich, Germany, Europe, Earth

PostPosted: Mon Jan 24, 2005 2:26 pm    Post subject: Reply with quote

well...
*pause*
it still depends on WHAT kind of webserver you want to have.

I, for example, do have a web-services-only-server. it has apache2, php, perl, mysql, classic LAMPP. some more stuff, like a mailing-list, a mailserver (postfix) and a few extensions:

USE="-* perl apache2 imap pam png jpeg gif gd mysql berkdb ssl pdflib tiff tcpd"

is good for me, don't know if it satisfies your needs.

greetz
kitano
_________________
->searched for a gentoo penguin ->alienated it with "find edges", "saturation", "photocopy" ->encoded quicktime from still ->played with aaxine ->screenshotted ->made it my avatar

only in case you were going to ask what it is...
Back to top
View user's profile Send private message
vonhelmet
l33t
l33t


Joined: 06 Apr 2004
Posts: 770
Location: Somewhere in a school

PostPosted: Mon Jan 24, 2005 2:30 pm    Post subject: Reply with quote

The one thing that struck me, was that if you are using PHP you might conceivably want to do dynamic image creation/altering with GD so you should put jpeg, png, gif and whatever other ones there are in your use flags to allow for that.
_________________
My blog
nvtuner software - enhance your AGP Geforce 6800 or 6200!
Back to top
View user's profile Send private message
kitano
Apprentice
Apprentice


Joined: 19 Dec 2002
Posts: 228
Location: Munich, Germany, Europe, Earth

PostPosted: Mon Jan 24, 2005 2:35 pm    Post subject: Reply with quote

obviously, what vonhelmet says, is of great help =) !

some more explanation?
imap - is only for my needs, since i installed squirrelmail et al.
perl - is practical for many purposes, but you would not need it in your use-flags
ssl - is for encrypted use of squirrelmail, you should include it, if you are going to have sensitive data on your web-server
pdf-lib - is for pdf-creation from php-scripts, very useful
pam - well, pam, love it or leave it.

have fun and rock!
kitano
_________________
->searched for a gentoo penguin ->alienated it with "find edges", "saturation", "photocopy" ->encoded quicktime from still ->played with aaxine ->screenshotted ->made it my avatar

only in case you were going to ask what it is...
Back to top
View user's profile Send private message
thegerb
n00b
n00b


Joined: 22 Jan 2005
Posts: 16

PostPosted: Mon Jan 24, 2005 2:55 pm    Post subject: Reply with quote

Some excellent help and pointers - thx.
being a noob what is "classic LAMPP" ?
Back to top
View user's profile Send private message
kitano
Apprentice
Apprentice


Joined: 19 Dec 2002
Posts: 228
Location: Munich, Germany, Europe, Earth

PostPosted: Mon Jan 24, 2005 3:02 pm    Post subject: Reply with quote

well there are a few kinds of webservers:

LAMP - Linux, Apache, MySQL and PHP (or Perl, this is not defined more clearly)

WAMP - same Windoze-based

LAMPP - again Linux-based and with both, PHP and Perl

WAMPP - same as above with a glitchy Windoze beneath =), experimental only ;-), as WAMP, too

kitano
_________________
->searched for a gentoo penguin ->alienated it with "find edges", "saturation", "photocopy" ->encoded quicktime from still ->played with aaxine ->screenshotted ->made it my avatar

only in case you were going to ask what it is...
Back to top
View user's profile Send private message
thegerb
n00b
n00b


Joined: 22 Jan 2005
Posts: 16

PostPosted: Mon Jan 24, 2005 3:14 pm    Post subject: Reply with quote

OK I'm sold - so is the compile option 'classic LAMPP' or just LAMMP?
The reason I ask is I couldn't seem to find it in the list of global USE-flags.

thx
Back to top
View user's profile Send private message
kitano
Apprentice
Apprentice


Joined: 19 Dec 2002
Posts: 228
Location: Munich, Germany, Europe, Earth

PostPosted: Mon Jan 24, 2005 3:21 pm    Post subject: Reply with quote

theres no use-flag for this, sorry, i guess you misunderstood me.
it's only common jargon. talk about a webserver and you hear those acronyms...

kitano
_________________
->searched for a gentoo penguin ->alienated it with "find edges", "saturation", "photocopy" ->encoded quicktime from still ->played with aaxine ->screenshotted ->made it my avatar

only in case you were going to ask what it is...
Back to top
View user's profile Send private message
shazam!
n00b
n00b


Joined: 21 Oct 2005
Posts: 4

PostPosted: Sun Oct 23, 2005 6:57 am    Post subject: USE Flags: Alphabet Soup Reply with quote

Those were some great suggestions kitano & vonhelmet. It seems like I could spend a lot of time deciding precicely what USE flags to toggle. I've selected some from your suggestions and some of my own but I haven't gone through the whole list. I'd like to move on to the next phase of installation. How hard would it be to change my use flags later? How bad would it be if I left something out?

By the way, I'm building a home web server with an ABIT NF7-S motherboard and 2 120GB SATA drives in a RAID 0. We'll see how it goes...
_________________
What I hear I forget.
What I see I remember.
What I touch I understand.
~Lao Tzu~
Back to top
View user's profile Send private message
mingotta
n00b
n00b


Joined: 11 Oct 2003
Posts: 52
Location: Roma, Italy

PostPosted: Sat Dec 17, 2005 5:36 pm    Post subject: Reply with quote

I'm attempting the same LAMP experiment.

I'll try to use the flags you suggested.

Still I wonder, how come no one has ever come up with a LAMPP howto on Gentoo so far?? I've searched the forum a bit but couldn't find a detailed explanation.

Good luck!
Back to top
View user's profile Send private message
Sir No
Apprentice
Apprentice


Joined: 01 May 2005
Posts: 159
Location: Poland

PostPosted: Mon Dec 19, 2005 12:46 am    Post subject: Reply with quote

kitano wrote:
I, for example, do have a web-services-only-server. it has apache2, php, perl, mysql, classic LAMPP. some more stuff, like a mailing-list, a mailserver (postfix) and a few extensions:

USE="-* perl apache2 imap pam png jpeg gif gd mysql berkdb ssl pdflib tiff tcpd"

is good for me, don't know if it satisfies your needs.


Be careful with this USE="-*" setting !!!

The devs were discussing it quite thoroughly about two months ago. Some of them even consider it hackish and ill-advised, so be warned. See this thread on the gmane.org to understand what I'm thinking about. The interesting part starts near the 8th post. Recommended reading!
_________________
The geeks | Recommended Packages fOr Desktop & Server | Read BBCode Guide!
Back to top
View user's profile Send private message
mingotta
n00b
n00b


Joined: 11 Oct 2003
Posts: 52
Location: Roma, Italy

PostPosted: Sun Jan 29, 2006 6:33 pm    Post subject: Reply with quote

These are the USE flags I use:

Code:
USE="-X perl apache2 imap pam png jpeg gif gd mysql berkdb pdf tiff tcpd -cdr clamav curl -dvd exif fam flash flatfile ftp -gnome -kde -qt -gtk icq imagemagick imlib jabber javascript ldap libcaca libwww maildir mime ming mng msn pcre php python readline samba sasl skey spell ssl vhosts xml2 yahoo -ipv6 bash-completion unicode"


I am not sure if they're the best for me, but I'm experimenting.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Jan 30, 2006 6:10 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
Moved in favour of https://forums.gentoo.org/viewtopic-t-316212.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum