View previous topic :: View next topic |
Author |
Message |
owdawg n00b
Joined: 03 May 2002 Posts: 7
|
Posted: Sun May 05, 2002 5:54 pm Post subject: USE flags for webserver |
|
|
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 |
|
|
svan9420 n00b
Joined: 24 Apr 2002 Posts: 51
|
Posted: Mon May 06, 2002 12:44 pm Post subject: guessing here.... |
|
|
I believe you would just use:
USE perl mysql pam _________________ svan9420 |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Mon May 06, 2002 1:08 pm Post subject: Use |
|
|
Use="perl php cgi mysql pam" _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
thegerb n00b
Joined: 22 Jan 2005 Posts: 16
|
Posted: Mon Jan 24, 2005 2:10 pm Post subject: Flag advice for a web server |
|
|
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 |
|
|
kitano Apprentice
Joined: 19 Dec 2002 Posts: 228 Location: Munich, Germany, Europe, Earth
|
Posted: Mon Jan 24, 2005 2:26 pm Post subject: |
|
|
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 |
|
|
vonhelmet l33t
Joined: 06 Apr 2004 Posts: 770 Location: Somewhere in a school
|
Posted: Mon Jan 24, 2005 2:30 pm Post subject: |
|
|
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 |
|
|
kitano Apprentice
Joined: 19 Dec 2002 Posts: 228 Location: Munich, Germany, Europe, Earth
|
Posted: Mon Jan 24, 2005 2:35 pm Post subject: |
|
|
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 |
|
|
thegerb n00b
Joined: 22 Jan 2005 Posts: 16
|
Posted: Mon Jan 24, 2005 2:55 pm Post subject: |
|
|
Some excellent help and pointers - thx.
being a noob what is "classic LAMPP" ? |
|
Back to top |
|
|
kitano Apprentice
Joined: 19 Dec 2002 Posts: 228 Location: Munich, Germany, Europe, Earth
|
Posted: Mon Jan 24, 2005 3:02 pm Post subject: |
|
|
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 |
|
|
thegerb n00b
Joined: 22 Jan 2005 Posts: 16
|
Posted: Mon Jan 24, 2005 3:14 pm Post subject: |
|
|
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 |
|
|
kitano Apprentice
Joined: 19 Dec 2002 Posts: 228 Location: Munich, Germany, Europe, Earth
|
Posted: Mon Jan 24, 2005 3:21 pm Post subject: |
|
|
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 |
|
|
shazam! n00b
Joined: 21 Oct 2005 Posts: 4
|
Posted: Sun Oct 23, 2005 6:57 am Post subject: USE Flags: Alphabet Soup |
|
|
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 |
|
|
mingotta n00b
Joined: 11 Oct 2003 Posts: 52 Location: Roma, Italy
|
Posted: Sat Dec 17, 2005 5:36 pm Post subject: |
|
|
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 |
|
|
Sir No Apprentice
Joined: 01 May 2005 Posts: 159 Location: Poland
|
Posted: Mon Dec 19, 2005 12:46 am Post subject: |
|
|
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 |
|
|
mingotta n00b
Joined: 11 Oct 2003 Posts: 52 Location: Roma, Italy
|
Posted: Sun Jan 29, 2006 6:33 pm Post subject: |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon Jan 30, 2006 6:10 pm Post subject: |
|
|
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 |
|
|
|