BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 5th, 2002, 02:43 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,478 Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 12 h 33 m 8 sec
Reputation Power: 852
Correct way to install apache on OpenBSD 3.1

Hello everyone,
I wanted to install apache 1.3.26 (latest version) on OpenBSD 3.1. Since the default version that comes with the OS is 1.3.24, I downloaded the sources from apache.org and installed as follows. Since OpenBSD comes with apache by default and since I didn't want two versions of httpd, apachectl, conf files etc. lying around my file system, I used:

./configure --with-layout=OpenBSD \
... rest of options

instead of what I normally do:
./ configure --prefix=/usr/local \
... rest of options

This way, I figured that it would keep only one copy of all the files and I could start up the httpd daemon in rc.conf instead of rc.local. However, in retrospect, there is a problem with this approach. The next time I upgrade the system (make build), won't the latest apache get overwritten by the version that comes with OpenBSD?

So I'm wondering what the best solution to this problem would be:
(a) Keep apache installed with OpenBSD layout. From now on, upgrade the system by using patch files only instead of cvsup (I don't really want to do this)
(b) Keep apache installed with OpenBSD layout. Upgrade the system and then reinstall apache. I have all the apache files compiled and ready, so it's probably just a matter of typing make install from /usr/local/src/apache after upgrading the system.
(c) Install apache using a custom layout, where I put all the binaries and libexecs under the /usr/local tree, but keep the conf, htdocs, cgi-bin etc as per the layout of OpenBSD. This will keep two versions of binaries, libs etc. on the system though.
(d) Anything you can suggest.

I'm tending to lean towards option (c) now, since I'd like to follow the file hierarchy standards, but I was wondering what anyone else thinks. Bear in mind that I'm just starting with OpenBSD, so if I'm doing something wrong, don't hesitate to plant a swift kick and tell me what I just screwed up .

Last edited by Scorpions4ever : July 5th, 2002 at 02:51 PM.

Reply With Quote
  #2  
Old July 6th, 2002, 12:20 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Choose B because next time you upgrade your system a newer version is probably available, who knows, maybe 1.3.28 by that time.
If you choose C make sure your custom layout doesn't conflict with OpenBSD layout.

Reply With Quote
  #3  
Old July 8th, 2002, 04:58 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,478 Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 12 h 33 m 8 sec
Reputation Power: 852
Cool, thanks. Right now I'm running with option B and I think I'll continue to do so. I'll just add it to my list of things to do, the next time I do a make build .

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Correct way to install apache on OpenBSD 3.1


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway