LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 03:52 AM   #1
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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, 08:03 AM   #2
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 696
Blog Entries: 1

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
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, 02:39 AM   #3
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766

Original Poster
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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



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 09:16 PM
setting up a webserver airmijo Linux - Newbie 6 11-15-2004 08:37 AM
Setting up a webserver fleeced Linux - General 1 09-04-2004 11:24 AM
Setting webserver enzolabrador Linux - Networking 1 08-26-2004 03:35 PM
Setting up a Webserver LinuxLala Linux - Networking 10 02-09-2004 09:44 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 08:51 PM.

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
Open Source Consulting | Domain Registration