LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs > shannonbay
User Name
Password

Notices


Rate this Entry

Apache setup

Posted 05-31-2008 at 06:12 AM by shannonbay

In /etc/apache/httpd.conf, edit the ServerName to
Code:
ServerName 127.0.0.1
Then in console type
Code:
hostname foobar
Then add
Code:
xxx.xxx.xxx.xxx   foobar
to /etc/hosts where xxx.xxx.xxx.xxx is your ip

Now use
Code:
apachectl start
to start the daemon

Now I can practice with LAMP
Posted in Uncategorized
Views 700 Comments 0
« Prev     Main     Next »

  



All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration