How to install APACHE through tar file on LINUX?

  • Tannu4u
  • Proficient
  • Proficient
  • User avatar
  • Joined: Apr 29, 2004
  • Posts: 480
  • Loc: India
  • Status: Offline

Post May 6th, 2004, 5:46 am

Can any ony tell me how to install APACHE through the code/Tar file on LINUX or windows.Thanks
Amit
My Blog http://www.amityadav.name
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 6th, 2004, 5:46 am

  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post May 6th, 2004, 8:17 am

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)
CSS website design tutorials
  • Vladdrac
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Feb 04, 2004
  • Posts: 2136
  • Loc: Louisville, Ky
  • Status: Offline

Post May 6th, 2004, 11:49 am

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
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post May 6th, 2004, 2:56 pm

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.
"It's always a long day, 86,400 won't fit into a short."
  • Vladdrac
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Feb 04, 2004
  • Posts: 2136
  • Loc: Louisville, Ky
  • Status: Offline

Post May 6th, 2004, 3:10 pm

yeah thanks for that correction Daemon, maybe i was thinking gzip
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post May 7th, 2004, 11:40 am

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.
"It's always a long day, 86,400 won't fit into a short."

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 121 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
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.