Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 248
  • Last Modified:

Setting up Solaris Apache

Hi everbody,

Can anyone tell me how to configure apache, it's look  complicated from the help docs using the ./configure command. I'm on salaris 2.6 and running apache 1.3.12. Is there a easy way to set it up, a script that i can use or someone can guide me thru.

Need help urgently !!

Thanks
0
lightstream
Asked:
lightstream
  • 5
  • 2
1 Solution
 
samriCommented:
lightstream,

I would presume that you are running Solaris 2.6, on Sparc,platform.  (and not "salaris" :)

There are really two ways to get your very own copy of Apache running: (1) build it yourself from source code, (2) get the precompiled version for your os/platform.

The easiest approach is to get the precompiled version.  Grab yourself a copy from either http://www.sunfreeware.com/ or http://httpd.apache.org/dist/solaris/  On both site, you will need to know you Solaris version.  I think the one on Apache's download side would require you to pick the specific architecture for you machine.

Pick a copy, and follow the installation instruction.  It should be quite straightforward.

In the event that you are like adventure, building is not that complicated.  Getting your machine to be ready for development is a bit tricky.  There is a FAQ that discuss some of the issues, and the required libaries/header/development tools that is required on http://www.sunfreeware.com/  Take a peek.
0
 
samriCommented:
lightstream,

I would presume that you are running Solaris 2.6, on Sparc,platform.  (and not "salaris" :)

There are really two ways to get your very own copy of Apache running: (1) build it yourself from source code, (2) get the precompiled version for your os/platform.

The easiest approach is to get the precompiled version.  Grab yourself a copy from either http://www.sunfreeware.com/ or http://httpd.apache.org/dist/solaris/  On both site, you will need to know you Solaris version.  I think the one on Apache's download side would require you to pick the specific architecture for you machine.

Pick a copy, and follow the installation instruction.  It should be quite straightforward.

In the event that you are like adventure, building is not that complicated.  Getting your machine to be ready for development is a bit tricky.  There is a FAQ that discuss some of the issues, and the required libaries/header/development tools that is required on http://www.sunfreeware.com/  Take a peek.
0
 
samriCommented:
apology on the repeated post.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
lightstreamAuthor Commented:
samri,

The instruction is base on the ./configure command, how to choose the second option ((2)get the precompiled version for your os/platform)

I've got the file, i did gunzip followed by tar xvf but the doc files are the same, is base on the ./configure command. How do i configure using the second option, or at least get the help files for second option.

Pls. advise ??

0
 
samriCommented:
I think if you download your copies from sunfreeware, the file would be in pkgadd format.  So all you need to do is uncompress the file, and pkgadd to install the packege.  Just take the default options, and you should be ready to go.  Maybe there is some configuration setting that needs tweaking in /usr/local/apache/conf/httpd.conf but it should be minor.  It is a good practise to check the config everytime you modify the httpd.conf.  Do a /usr/local/apache/bin/apachectl configtest
If everything is OK, the following message should be display "Syntax OK", otherwise the error should give you a hint on what to do.

If you had your binaries from Apache website.  It might not be in pkgadd format.  All you need to do is, uncompress and un-tar the package.  go to the pkg-directory, and read the installation instruction.  Once inside the directory, do a "./install-bindist.sh", as root, and the installation process will be running.  The default installation would be in /usr/local/apache

good luck.
0
 
lightstreamAuthor Commented:
Managed to bring it up. Thanks alot. Thank you.
0
 
samriCommented:
Great.

btw, what options did you decide to work with; the pkgadd format from Sunfreeware seems to be more straightforward, but the version is a bit old.

anyway, should you have further queries, drop by, and we would be happy to offer a hand.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now