How to install APACHE through tar file on LINUX?

  • Tannu4u
  • Proficient
  • Proficient
  • User avatar
  • Posts: 480
  • Loc: India

Post 3+ Months Ago

Can any ony tell me how to install APACHE through the code/Tar file on LINUX or windows.Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1855
  • Loc: Uk

Post 3+ Months Ago

if you are new to this sort of thing and are looking just to run an apache server to run locally, I would suggest that you get "easy php" and install it on your windows. Gives you apache php mysql and phpmyadmin at the click of a button.

I found it handy because I had it all set up and I can mess around with conf files to my hearts content (I totally messed up when I tried to manually install the separate components). Now I'm used to maintaining it I can probably do a manual install if i tried. Kinda like training wheels lol.

If this is not an option, there are instructions on the apache website (RTFM lol)
  • Vladdrac
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2136
  • Loc: Louisville, Ky

Post 3+ Months Ago

doesnt apache come with most of the distros?


to answer your question, what exactly is the file? a tar file? to extract a tar file use tar -d filename.tar

then you will probably have to make install
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Uhm, no. tar -d tarfilename will only do a diff; a compare action. What you want is some derivation of x, such as tar -xvf <tarball name>.

-x is to extract
-v is to turn on verbosity -- I want to know what it's doing
-f is to force local reading of the specified filename.

As far as installing a tarball on any *nix, you extract from tar as I mentioned.
cd to that dir it created.
./configure (usually)
as root; make then make install.
I usually do a rehash afterwards to reset libs.

If you use FreeBSD however, you would cd to /usr/ports/www/apache13/ (or any directory of any apache you wish, including mods).
Then type make install clean.

And you're done with the install. Next comes the config of course, which is purely app and as such might require a gander at the O'Reilly Definitive Guide. ;)

Cheers.
  • Vladdrac
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2136
  • Loc: Louisville, Ky

Post 3+ Months Ago

yeah thanks for that correction Daemon, maybe i was thinking gzip
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Vladdrac wrote:
yeah thanks for that correction Daemon, maybe i was thinking gzip


Ahh no problem, figured you knew... but my vain attempt to surpass "Graduate" status by posting more useless messages. :)

Cheers.

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 20 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.