mail: postfix and dovecot/courierTuxido wrote:I already have Gentoo installed, and I'm going to make a LAMP-server. I have no previous experience with setting up a home server, and as suggested I need it for mail, web hosting, databases and file hosting.
if it's going to be for the website stick with phpTuxido wrote: First of all, I'm going to host at least two simple websites that I'm going to make and maintain myself. I have no experience with programming PHP, Perl or Python, what are the advantages of each one, and is there any difference to which one I choose? (I have some programming experience in java, if that makes a difference)
a firewall would be niceTuxido wrote: What do I need to think about before going "live" with my box? What kind of security features do I need? Is there some kind of check list I should have for myself?
if you don't have a static ip for your ISP you well need a dynamic-dns (dyndns.org) or something you preferTuxido wrote: How would I go about going live? (Online guide?) Do I need to have some sort of dns-server-thingy? Port forwarding? Magic?

Code: Select all
-D php4 -D php5Code: Select all
<?php
ehco 'Child of Dunwhich Rise';
?>
If you are running with the default PHP/Apache settings, you need to name all you PHP-files to *.phpTuxido wrote:When I redirect my browser to the server's ip I get Apaches standard "It Works".
I have emerged php and added
to /etc/conf.d/apache2, restarted apacheCode: Select all
-D php4 -D php5
and added the following to /var/www/localhost/htdocs/index.html:
"It works" appears, but not my php-hello world program.Code: Select all
<?php ehco 'Child of Dunwhich Rise'; ?>
That did the trick, thank you.aztech wrote:If you are running with the default PHP/Apache settings, you need to name all you PHP-files to *.phpTuxido wrote:When I redirect my browser to the server's ip I get Apaches standard "It Works".
I have emerged php and added
to /etc/conf.d/apache2, restarted apacheCode: Select all
-D php4 -D php5
and added the following to /var/www/localhost/htdocs/index.html:
"It works" appears, but not my php-hello world program.Code: Select all
<?php ehco 'Child of Dunwhich Rise'; ?>
Ex. index.php, instead of index.html

1. On my systems, /etc/conf.d/apache2 is a file, not a directory, and httpd.conf lives in /etc/apache2/. These were set up some years ago and the locations may have changed, but it's worth checking.Tuxido wrote:I understand that the line
Listen [port]
is used to tell apache which port to listen to, but where do I put ut? I tried putting it in /etc/conf.d/apache2/httpd.conf after wchich I stopped seeing the "It works" page....