LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2005, 09:37 PM   #1
killercrazyeyes
Member
 
Registered: Apr 2005
Location: El Cerrito CA, Bay Area
Distribution: Fedora Core 3, Mandrake 10.1
Posts: 31

Rep: Reputation: 15
Smile installing apache firt timer


Well this is my first time installing apache on a linux box. I am going through an exercise in a book that want's me to install MySQL, PHP and Apache. So far I got the SQL installed with Snowbat's help. My next question is how to install Apache. The book calls for source code install and compile. I have never used a compiler nor do I have one installed on my machine. Will need to install one for the exercise in my lesson. If so can someone put me in the right direction for downloading and installing one. Also I am can some one tell me what I need to do to get Apache up on my machine I am using Kubuntu verison. 5.0.4. Please let me know if you need more infro

Thanks in advance.

Last edited by killercrazyeyes; 09-25-2005 at 09:39 PM.
 
Old 09-26-2005, 01:16 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Both distros mentioned in your user-info have got ready
to use RPMs for those products. I'd stick with those and
try to transfer the "information" in the book regarding the
configuration to your own set-up.


Cheers,
Tink
 
Old 09-26-2005, 01:19 AM   #3
kirtimaan_bkn
Member
 
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203

Rep: Reputation: 31
Quote:
Well this is my first time installing apache on a linux box. I am going through an exercise in a book that want's me to install MySQL, PHP and Apache. So far I got the SQL installed with Snowbat's help. My next question is how to install Apache. The book calls for source code install and compile. I have never used a compiler nor do I have one installed on my machine. Will need to install one for the exercise in my lesson. If so can someone put me in the right direction for downloading and installing one. Also I am can some one tell me what I need to do to get Apache up on my machine I am using Kubuntu verison. 5.0.4. Please let me know if you need more infro

Thanks in advance.
Hello,

Either you can download Apache source or precompiled binary. If you download Source code, then you will need a compiler ( like GCC) and some development tools installed on your system. And if you download precompiled binary (RPM) then you don't need that. How ever there may be some dependencies required.

I think there will be some package management tool with your distro (in ubuntu I found a powerful method apt-get), and suggest you to use that for install precompiled version or you can download RPM from http://www.apache.org/dist/httpd/binaries/linux/

Thanks,
Kirtimaan.
 
Old 09-27-2005, 02:11 AM   #4
killercrazyeyes
Member
 
Registered: Apr 2005
Location: El Cerrito CA, Bay Area
Distribution: Fedora Core 3, Mandrake 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
Tinkster,

I will try that in the future, right now I think I would use the precompiled binary's to get this thing up and running.

Kirtmann_bkn,

Can you tell me what all this is at the link. what do all the files mean. Which one do I grab. I am running an HP pavilion with a Celeron. This is my test macine.

Thanks,

Ben
 
Old 09-27-2005, 02:36 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by killercrazyeyes
Tinkster,

I will try that in the future, right now I think I would use the precompiled binary's to get this thing up and running.

Thanks,

Ben
RPMs *are* binarys.


Cheers,
Tink
 
Old 09-27-2005, 03:09 AM   #6
killercrazyeyes
Member
 
Registered: Apr 2005
Location: El Cerrito CA, Bay Area
Distribution: Fedora Core 3, Mandrake 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
Thumbs up

Tinkster,

Can you tell me what file I need. I downloaded file 1.3.33-i686-whatever-linux22.tar.gz.part. Is this the right onw and if so what is the best way to install it.

Thanks,
 
Old 09-27-2005, 03:23 AM   #7
kirtimaan_bkn
Member
 
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203

Rep: Reputation: 31
Hello,

You can download following files and then install.

Quote:
apache_1.3.33-i686-whatever-linux22.README 30-Oct-2004 14:33 1.9K HTTP Server project

apache_1.3.33-i686-whatever-linux22.tar.gz 30-Oct-2004 14:59 3.9M HTTP Server project

apache_1.3.33-i686-whatever-linux22.tar.gz.asc 30-Oct-2004 14:59 189 PGP signature

apache_1.3.33-i686-whatever-linux22.tar.gz.md5 30-Oct-2004 14:59 77 MD5 hash
extract the gz file to a folder on your pc and follow the installation instructions.


killercrazyeyes, If Kubuntu comes with apache then I would also suggest you to use that one. This will be a quick and hassle free solution. check "kynaptic" package manager of kubuntu for this info.

And Tinkster is correct , RPM are binaries.


Thanks,
Kirtimaan.
 
Old 10-05-2005, 12:30 AM   #8
killercrazyeyes
Member
 
Registered: Apr 2005
Location: El Cerrito CA, Bay Area
Distribution: Fedora Core 3, Mandrake 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
Kirtimann_bkn,

I looked in knaptic package manager and found apache2- prefork-dev and apache2-threaded-dev. Should I just install these or install the files I downloaded from the apached site.
What is the difference between these.

Thanks

Ben
 
Old 10-05-2005, 12:32 AM   #9
killercrazyeyes
Member
 
Registered: Apr 2005
Location: El Cerrito CA, Bay Area
Distribution: Fedora Core 3, Mandrake 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
Tinkster,

Thanks for the clarification on RPM's


Cheers
 
Old 10-05-2005, 12:46 AM   #10
kirtimaan_bkn
Member
 
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203

Rep: Reputation: 31
Hello

apache2- prefork-dev is development headers for apache2 web server and apache2- threaded-dev is development headers for threaded versions of apache2. It is not the apache web server itself.

You need to install that apache webserver. You can install that from downloaded files which you got from apache site.

I also found another source for this http://packages.debian.org/stable/web/apache2.


Thanks,
Kirtimaan.

Last edited by kirtimaan_bkn; 10-05-2005 at 12:47 AM.
 
Old 10-05-2005, 12:47 AM   #11
killercrazyeyes
Member
 
Registered: Apr 2005
Location: El Cerrito CA, Bay Area
Distribution: Fedora Core 3, Mandrake 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
Kirtimann_bkn,

How do I run the install-bindist.sh script. I am newbie so I probably dont know what the hell I am doing.

ben@ubuntu:~$ su
Password:
root@ubuntu:/home/ben # install bindis.sh
install: too few arguments
Try `install --help' for more information.
root@ubuntu:/home/ben # install-bindist.sh
bash: install-bindist.sh: command not found
root@ubuntu:/home/ben # cd /home/ben/apacheinstall
root@ubuntu:/home/ben/apacheinstall # install-bindist.sh
bash: install-bindist.sh: command not found
root@ubuntu:/home/ben/apacheinstall # su ben
ben@ubuntu:~/apacheinstall$ install-bindist.sh
bash: install-bindist.sh: command not found
ben@ubuntu:~/apacheinstall$


Can you tell me what I need to do.




apache 1.3.33 binary installation
================================

To install this binary distribution you have to execute the installation
script "install-bindist.sh" in the top-level directory of the distribution.

The script takes the ServerRoot directory into which you want to install
Apache as an option. If you ommit the option the default path
"/usr/local/apache" is used.
Make sure you have write permissions in the target directory, e.g. switch
to user "root" before you execute the script.

See "README.bindist" for further details about this distribution.

Please note that this distribution includes the complete Apache source code.
Therefore you may compile Apache yourself at any time if you have a compiler
installation on your system.
See "INSTALL" for details on how to accomplish this.
 
Old 10-05-2005, 12:57 AM   #12
kirtimaan_bkn
Member
 
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203

Rep: Reputation: 31
Hi

use this one

./bindis.sh

Thanks,
Kirtimaan
 
Old 10-05-2005, 01:00 AM   #13
killercrazyeyes
Member
 
Registered: Apr 2005
Location: El Cerrito CA, Bay Area
Distribution: Fedora Core 3, Mandrake 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
Can you tell what I am doing wrong




ben@ubuntu:~$ ./bindis.sh
bash: ./bindis.sh: No such file or directory
ben@ubuntu:~$ su
Password:
root@ubuntu:/home/ben # ./bindist.sh
bash: ./bindist.sh: No such file or directory
root@ubuntu:/home/ben # bindis.sh
bash: bindis.sh: command not found
root@ubuntu:/home/ben #
 
Old 10-05-2005, 01:12 AM   #14
kirtimaan_bkn
Member
 
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203

Rep: Reputation: 31
Hi,

Sorry, I make a typing mistake.

Please execute ./install-bindist.sh from the directory where you unpacked the download.

Thanks,
Kirtimaan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
timer in c?? AcidHell2 Programming 9 08-12-2004 02:01 AM
A timer LOUDSilence Programming 1 12-08-2003 06:49 AM
timer in C timmy334 Programming 10 11-18-2003 12:40 PM
how to run KDE without firt running standard window menager... xfree config.... hunter_one Linux - Software 1 10-29-2003 10:42 AM
QT Timer kusio Linux - Software 1 04-15-2003 06:48 PM


All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration