Sriram Natarajan's Weblog

pageicon Sunday Feb 10, 2008

Web Stack File layout

If you are new to Open Solaris and trying to deploy webtier technologies like Apache2, PHP/Ruby with PostgreSQL/MySQL then you might find the file layout of these components to be very different from what you would find on Linux or Windows. So, do check out File Layout section within 'Getting Started Guide' to get a quick walk through of the current file layout of these components.

Now, if you wonder as to why we included the version number of these components and not simply bundle these binaries under /usr/bin as is the case on Linux then here is the motivation - Most of the open source web tier technologies are in active development and these components provide no guaranteed compatibility from one release over the other. Hence, you will notice that the file layout include the version number of these components so as to allow co-existence of multiple versions, if deemed necessary.

Technorati Tags: opensolaris webstack

Comments:

Sriram,

Sorry to bother you, but I saw a post you made on the opensolaris forum, and I believe you may be able to answer a question for me.

Namely, do you know where the log files are for packages that are installed from blastwave.org?

I installed a couple packages, but don't know where the logs are to show me what was put where.

Thank...Doug

Posted by Doug on February 15, 2008 at 10:55 AM PST #

Hi
Glad that you are checking out Open Solaris. Blastwave internally does its packages as Solaris SVR4 packages. So, you should be able to query the blastwave packages by doing some thing like

pkginfo -i | grep CSW - to search for packages that start with CSW - that is the prefix that blastwave packages use

pkginfo -l <package name> - to get more information about a packages

finally, if you simply want to find out the list of package contents, you could also do some thing like
grep <package name> /var/sadm/install/contents

for example
grep CSWossl /var/sadm/install/contents

Posted by Sriram Natarajan on February 15, 2008 at 11:56 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed

« May 2008
SunMonTueWedThuFriSat
    
1
2
3
4
6
7
8
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
       
Today

Feeds

Search this blog

Links

Weblog menu

Today's referrers

Today's Page Hits: 83