View previous topic :: View next topic |
Author |
Message |
niamain n00b
Joined: 02 Mar 2006 Posts: 44 Location: San Diego, CA.
|
Posted: Sat Mar 18, 2006 2:57 pm Post subject: making a web server...[solved] |
|
|
i would like to make a web server atm i am trying to get gnome dl but after i do that what do i need to get and or do to get thing up and running my gentoo box is behide a router btw will this cuase any problems?
is there a site for where a noob can go to that will explian thing step by step on how to make a web server?
thx for the help _________________ NiamaiN
Last edited by niamain on Sun Mar 19, 2006 11:35 am; edited 1 time in total |
|
Back to top |
|
|
indynet Tux's lil' helper
Joined: 07 Feb 2005 Posts: 108 Location: Prague - Czech Republic
|
Posted: Sat Mar 18, 2006 3:10 pm Post subject: Re: making a web server... |
|
|
niamain wrote: | i would like to make a web server atm i am trying to get gnome dl but after i do that what do i need to get and or do to get thing up and running my gentoo box is behide a router btw will this cuase any problems?
is there a site for where a noob can go to that will explian thing step by step on how to make a web server?
thx for the help |
Webserver with PHP, MySQL http://gentoo-wiki.com/LAMP
Yes, it cause some problems, but webserver should working behind router with. Just more configuration is need it. |
|
Back to top |
|
|
Cybersorcerer Apprentice
Joined: 30 Mar 2004 Posts: 193 Location: somewhere over the rainbow
|
Posted: Sat Mar 18, 2006 3:15 pm Post subject: |
|
|
Hi,
the minimum you need to do is to setup port forwarding rules on your router to route access to port 80 and 443 from the internet to your gentoo box. _________________ greetings
Cybersorcerer
--
Too old to die young
Dell Precision M90, Intel Centrino Duo T2700 @ 2.33GHz running Jackass! 2006.2 |
|
Back to top |
|
|
niamain n00b
Joined: 02 Mar 2006 Posts: 44 Location: San Diego, CA.
|
Posted: Sun Mar 19, 2006 8:49 am Post subject: |
|
|
ok cool thx ill give that a try _________________ NiamaiN |
|
Back to top |
|
|
niamain n00b
Joined: 02 Mar 2006 Posts: 44 Location: San Diego, CA.
|
Posted: Sun Mar 19, 2006 9:10 am Post subject: |
|
|
# /etc/init.d/apache2 start
You should see something like this -
*Starting apache2...
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
mine does this also how do i setup a domainname i may have missed this step in the setup _________________ NiamaiN |
|
Back to top |
|
|
niamain n00b
Joined: 02 Mar 2006 Posts: 44 Location: San Diego, CA.
|
Posted: Sun Mar 19, 2006 9:39 am Post subject: |
|
|
that site (http://benstrawbridge.com/worklogs/index.php?pg=lamp) you gave me says this:
Restart Apache as described above. Create a new file in the apache root directory with a php extension. Add the following code to that page: i had to add a space between the brackets and the ? on both sides for display purposes (i'm too lazy to fix it now) so don't add spaces when you create this page.
but i dont see anywhere where it says how to restart apache.
and im not sure how to create a new file in the apache root dir. _________________ NiamaiN |
|
Back to top |
|
|
|