Just one comment on that. If you use the -G option in Solaris 10 then the pkg installation from the Global does NOT propagate to the Zone. My .02 cents.
PP. > Date: Thu, 19 Feb 2009 19:13:46 -0500 > From: christine.tran at gmail.com > To: lists at clausconrad.com > CC: webstack-discuss at opensolaris.org > Subject: Re: [webstack-discuss] Problem running Apache in zone > > On Thu, Feb 19, 2009 at 2:48 PM, Claus Conrad <lists at clausconrad.com> > wrote: > > > I've been running Web Stack on different versions of Solaris since Cool > > Stack 1.2, though without zones. So I installed 1.4 on OS 2008.11 using > > "pfexec pkg install amp" and "svcs -a" reveals the disabled services httpd > > and mysql_version50, so far so good. Now I created a zone and expected these > > services to show up there too, but they aren't available. I know this is > > probably a false expectation I have since I am new to zones, but could I ask > > you to give me a hint what I am missing here? Or do I need to install the > > stack separaretely in each zone? > > Hi, > > If you are running OpenSolaris (and not Solaris 10), your zone type is > "ipkg", not "native". I believe that "ipkg" is the only zone type > available as of now on OpenSolaris. zones of type "ipkg" are > independent from the global zone. They pull their own packages from > the sun pkg repo. I'll add here that Solaris 10 zones of type > "native" share packages with the global zone, this is why when you > install apache or some other package in Solaris 10, and you make a > zone, the package shows up in the zone as well. > > So, if you are running OpenSolaris, build a zone, and zlogin to the > zone, and do a pkg install <package> from within the zone, apache is > SUNWapch22, I don't know what the CoolStack is called now, but I use > one called amp-dev. Make sure your zone's network config is all good > of course, you need to reach the pkg server from within the zone. > > CT > _______________________________________________ > > > webstack-discuss mailing list > webstack-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/webstack-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/webstack-discuss/attachments/20090220/695ca26f/attachment.html>