Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
web server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
crovax123
Apprentice
Apprentice


Joined: 08 Jun 2004
Posts: 159

PostPosted: Thu Aug 26, 2004 7:18 pm    Post subject: web server Reply with quote

hello
i wanna setup a webserver whit gentoo, but the computer i wanna use is pretty old and has only 1.5 gig of harddisk
i wanna use a phpbb forum and a small standart website
now is my question wil this work and what should i install in following order
i would want a small graphical interface like enlightment or something like that
Back to top
View user's profile Send private message
madtomkidd
Apprentice
Apprentice


Joined: 13 Jan 2003
Posts: 170
Location: Dayton, OH

PostPosted: Thu Aug 26, 2004 7:56 pm    Post subject: Reply with quote

well... you can start by installing apache, and you'll want to do something more like fluxbox for your wm. Enlightenment is beautiful, but if this is JUST a server, and you HAVE to put a wm on it... fluxbox is the way to go (minimal resources/compiling time/etc...).

and this post will probably answer the rest of your questions:
https://forums.gentoo.org/viewtopic.php?t=104806&highlight=apache+howto
_________________
> It is pitch black. You are likely to be eaten by a grue.
Back to top
View user's profile Send private message
GhostBear
n00b
n00b


Joined: 05 Feb 2003
Posts: 27
Location: Canada, eh?

PostPosted: Thu Aug 26, 2004 8:28 pm    Post subject: Reply with quote

Here's a quick rundown. ;)

In /etc/make.conf (assuming you want the following)
Code:

USE="apache2 mysql perl php ssh crypt xml xml2"


Then install what you need:

Code:

emerge mysql
emerge apache
emerge php
emerge mod_php


Once that's all installed, set up your MySQL server. Then you can run the mod_php ebuild to install PHP support in Apache.
Code:

mysql_install_db


ebuild /var/db/pkg/net-www/*your mod_php dir*/mod_php-versionx.x.ebuild config


Next, go into your /etc/apache2/conf/apache2.conf and add any info you need.

Finally, start the services and put a little php script inside the /var/www/localhost/htdocs folder. Something easy like
Code:
<?php echo "I WIN!"; ?>
. If the page loads correctly in your browser, PHP is good to go. Start adding content in /var/www/localhost/htdocs/.
8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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