Operating Systems > Linux and UNIX
Help with Apache!
(1/1)
Neuro7:
Could someone point me in the right direction to get started setting up Apache as a sever and how to create a web page? I am fairly new to Linux and am running Red Hat 7.3 right now. Any help is greatly appreciated.
Thanks,
Neuro7
LorKorub:
Start with the man page and then post about certain aspects of it that you don't get. What you're asking is wayyyyy to general.
Stryker:
You dont really need to setup apache, just turn it on. (at least in my case) you can do this on the shell with: 'chkconfig httpd on' and then '/etc/init.d/httpd start'. (none of those have the semi-quotes) That will turn on apache. You can then setup your webpages in /var/www/html (i'd suggest index.html or index.php for your default page) You can also give useraccounts their sites as well. But you need to 'mkdir /home/username/public_html' and 'chgrp apache /home/* -R' (you can make that more secure if you want, it's just the fast way) and 'chmod g+rx /home/* -R' that'll link /home/username/public_html to http://servername.tld/~username
For more information try http://httpd.apache.org
Navigation
[0] Message Index
Go to full version