View previous topic :: View next topic |
Author |
Message |
crovax123 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_8_-_Zell.gif)
Joined: 08 Jun 2004 Posts: 159
|
Posted: Thu Aug 26, 2004 7:18 pm Post subject: web server |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
madtomkidd Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/115907395140d33a0b8e36c.gif)
Joined: 13 Jan 2003 Posts: 170 Location: Dayton, OH
|
Posted: Thu Aug 26, 2004 7:56 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
GhostBear n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/91638493041376e8d53fce.jpg)
Joined: 05 Feb 2003 Posts: 27 Location: Canada, eh?
|
Posted: Thu Aug 26, 2004 8:28 pm Post subject: |
|
|
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/.
![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|