Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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