LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices



Reply
 
Search this Thread
Old 11-08-2012, 04:52 AM   #1
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,228
Blog Entries: 23

Rep: Reputation: 279Reputation: 279Reputation: 279
Setting up a webserver


Hey Gang,

Okay, it's time for me to get into BSD, and the best way (I know how) is to actually get a DVD and get to it...setting up a webserver. So, I enter the /usr/ports/apache22 (after portsnap fetch update) and issue make clean and make install and...get coffee. After that, I issue echo apache22_enabled="YES" >> /etc/rc.conf and try the apache server with the onestart...and...zip, nothing. Upon inspection of the /etc/rc.d folder, I cannot fine httpd or apache22 start-up scripts...did I miss something (of ourse I did, hence this post ) and what dox do I read to fint the light here...

Thanks

Thor
 
Old 11-09-2012, 09:03 AM   #2
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 137

Rep: Reputation: 36
I have never installed or enabled apache22, but check dir /usr/local/etc, in most cases that is where third party rc scripts go. Maybe this (freebsdmadeeasy) can help.

John
 
1 members found this post helpful.
Old 11-10-2012, 03:39 AM   #3
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,228
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
Thanks jmccue! Well, after reading the docs (and, yes, I should have done that already) it seems that FreeBDS keeps third party stuff in /usr/local and the scripts in /usr/local/etc/rc.d...
I looked at the error log (yes, shoyuld have done that too before posting) and it seems apache22 cannot resolve the box's name...

Delvind deeper!

Cheers

Thor
 
  


Reply

Tags
apache22, free bsd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up webserver mancmanomyst Linux - Networking 2 01-28-2006 10:16 PM
setting up a webserver airmijo Linux - Newbie 6 11-15-2004 09:37 AM
Setting up a webserver fleeced Linux - General 1 09-04-2004 12:24 PM
Setting webserver enzolabrador Linux - Networking 1 08-26-2004 04:35 PM
Setting up a Webserver LinuxLala Linux - Networking 10 02-09-2004 10:44 AM


All times are GMT -5. The time now is 05:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration