[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] Apache & PHP setup
>>>>> "Ruth" == Ruth Gunstone <ruth [at] bolsterstone.demon.co.uk> writes:
Ruth> Greetings again! After falling-out in a big way with
Ruth> 'Gnome', I reinstalled my RH 7.0, and this time chose to
Ruth> install the KDE. What a difference! It is /so/ much more
Ruth> newbie-friendly :-)
Ruth> I intend installing the latest Mandrake distro sometime
Ruth> during this coming week, and then I /need/ to make a
Ruth> determined effort to get Apache/PHP running this time. On my
Ruth> current set-up, I /know/ that Apache is installed, but I
Ruth> just can't discover any clues as to how to get it running
Ruth> and configured. 'man apache' reports that there's no manual
Ruth> available :-(
Ruth,
Have a look at apache.org for full documentation for the Apache
project's stuff.
To start the major services on a Redhat machine, have a look at the
scripts in /etc/rc.d/init.d
For example, to start Apache (http daemon/webserver):
/etc/rc.d/init.d/httpd start
to restart, stop or get status reports:
cd /etc/rc.d/init.d/
./httpd restart
./httpd stop
./httpd restart
That should be the same for the other services mentioned in that directory.
You should also look into controlling access to the services on your
machine - man hosts.deny and the Apache docs.
Possibly even man iptables/ipchains
Learn how to use the basics of Apache before you turn it on - you
don't want someone on the internet playing with your system...
Set Apache to listen only on 127.0.0.1 - then only you can access it
from the local machine - fine for development.
Ruth> Any pointers, simple step-by-step instructions etc. would be
Ruth> greatly appreciated.
Hope that lot did more to help than confuse :-)
Cheers
Baz.
--
Barrie J. Bremner OpenPGP public key ID: 5164F553
baz [at] barriebremner.com http://barriebremner.com/
___________________________________________________________________
Sheffield Linux User's Group - http://www.sheflug.co.uk .
To unsubscribe from this list send mail to
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.