Need help installing Apache on my Unix server pls
Need help installing Apache on my Unix server pls
Author
Discussion

david_h

Original Poster:

579 posts

290 months

Tuesday 10th December 2002
quotequote all
I need apache, mysql, phpmyadmin installed on my server.

If there is anyone who is able to do this on a unix server please please could you get in contact. I would be prepared to pay you if needs be.

either reply to my topic or mail me at hollisd@btinternet.com

many thanks in advance.

I struggled all w/end trying to sort this.

apache

39,731 posts

311 months

Tuesday 10th December 2002
quotequote all
I'm here, how can I help, do you speak English btw?

Mr E

22,977 posts

286 months

Tuesday 10th December 2002
quotequote all
Which particular flavour of *nix are we talking about here?

david_h

Original Poster:

579 posts

290 months

Tuesday 10th December 2002
quotequote all
ok I posted on here cause I know you guys are mostly IT bods, tried my usual haunt EVO forum got no replies.

Have no idea the exact server spec. all I know is it's unix or linux, I forget which one. I can untar files and unzip them, but that's about the extent of my knowledge, oh and use the cd and ls commands. Good aren't I, not...

I have FTP server set up, and I usually talk to the server using Putty (a telnet/ SSL?? client)
I can FTP files to my server, but I can't actually d/load them via a web browser, I assume I need apache for this.
I also need mysql set up as I want to use PHP scrpt to make my site a lot more dynamic.
Am at the end of my teather as my other server is dog slow (Upload speed of 10kb/s)

I'm not really a IT bod, I've kinda taught myself, and I'm stuck now.

If anyone is willing to help me would be much appreciated.

I've also got a router running 2 PC's and I'm finding when I FTP to my other server the router stops connection after a while and won't let me back in unless I re-boot the router, why is this, it's getting on my nerves v.much.

ta muchley in advance.

Marshy

2,751 posts

311 months

Tuesday 10th December 2002
quotequote all
Find out if it's one of the major Linux "breeds" that you have. If so, you can download a one-shot installation of Apache which usually includes all the other stuff you need, and installs using the standard Linux package admin tools.

Comliling apache from scratch, with SSL, PHP, and other bits can be a real pain in the ass.

If you've some other Unix, is it one of the BSD variants (Free, Net)? If so, the same may apply. If it's Solaris, HP-UX, or similar, you may be in for more of an uphill struggle. If you've got one of these, bet 50p on needing gcc first.

If you've got something really obscure, it could be a significant amount of work to get it all to fly quickly.

david_h

Original Poster:

579 posts

290 months

Wednesday 11th December 2002
quotequote all
No it's one of the major breeds of unix I'm sure. I used to a Free BSD but gave up on that as it's soo impossible to programme.

don't suppose you could point me to a link that includes apache and all the other gumph in one package that I need.

drux

66 posts

287 months

Wednesday 11th December 2002
quotequote all
Home or Work?
if Home download a copy of the lastest RedHat version (can be purchased from pc world etc for arround £99) install with the web server options and its all there nice and shiny (Out of the Box) .. also has mysql etc

(Personaly I crossed over to the Dark Side and use IIS on a windows XP (at Home) and my hosting company uses w2k Servers)

>> Edited by drux on Wednesday 11th December 08:40

andyf007

863 posts

285 months

Wednesday 11th December 2002
quotequote all
For the Apache stuff, plus all the FAQs try
www.apache.org/
I managed to install Red Hat 7.0 and Apache and get a website running in a few days using the documentation provided here. And I had never even seen, let alone used, Linux or Unix before then.

Andy

madasahatter

374 posts

294 months

Wednesday 11th December 2002
quotequote all
I have a bit of Linux experience, and I have implemented Apache on it.

I am not totally clear on the state of what you have, but it is likely that you will have to compile Apache up for your platform. This is easy, and if you want a bit more detail on this let me know, or check out the files that exist in the root of the .tar file.

If you have the binaries, it should be as simple as adding it to the SystemV startup, or running it as a background process on the platform.

I don't really have enough detail to help you further at the moment, but I am willing. Do you have a Hotmail account? If so mail me through my profile, and maybe we can hook up through Messenger so you get more interactive help.

Steve

Deester

1,607 posts

287 months

Wednesday 11th December 2002
quotequote all
Hello,

To install apache on a linux system with not too much knowledge of how it all works I can recommend:

www.apachetoolbox.com/

This is a scrpt written in some shell lanaguage, (probably bash) that automates the installation of apache and a load of 3rd party modules that you might require.

Hope this helps, if you need more info email me and I will help you.

Deester...

sadoksevoli

1,232 posts

284 months

Wednesday 11th December 2002
quotequote all
There's a couple of good Apache books available for an online subscrption at safari.oreilly.com and you can get a free two week trial.

david_h

Original Poster:

579 posts

290 months

Wednesday 11th December 2002
quotequote all
Thanks for your replies guys.

I will give redhat9.0 a bash first.

I've been on apache.org already but mid-way through installing the version it failed as it wants a c compiler or something.

My servers are all remotely hosted, BT openworld would ban me if I had them sitting at home, also one of them has a guaranteed min 2MB line to it. In 5 days last week I used my monthly d/load quota of 10GB, things are starting to get out of hand, it's costing me a fortune.

Can someone just lend me their IT brain so I can learn all this stuff immediately. I hate being a novice, maybe I should have gone into IT instead of Investment Banking.

madasahatter

374 posts

294 months

Wednesday 11th December 2002
quotequote all
Yes. Apache.org will give you the source code, which will need a compiler.

In Redhat 8.0 (9.0 doesn't exist as far as I am aware) you have Apache shipped as an RPM (ie ready to run).

MySQL is probably also shipped, but if not I am sure you can get the RPM from mysql.com

Configuring php for Apache can be a little fiddly - there are 2 ways of doing it. You can add it as an Action (ie it runs the program) or as a module (in which case it works out what to do based upon the mime type).

I would go the module route, since it is faster.

Let me know if you need a hand.

tuffer

8,995 posts

294 months

Wednesday 11th December 2002
quotequote all
You could try Suse Linux, get the boxed Pro version for about £40, 6 CD's with everything you need. Install is a piece of cake and it is very simple to add packages later.
Whatever you use make sure you lock it down tight before you put it up on the net or it will very quickly be owned by someone else!!!

david_h

Original Poster:

579 posts

290 months

Wednesday 11th December 2002
quotequote all

madasahatter said: Yes. Apache.org will give you the source code, which will need a compiler.

In Redhat 8.0 (9.0 doesn't exist as far as I am aware) you have Apache shipped as an RPM (ie ready to run).

MySQL is probably also shipped, but if not I am sure you can get the RPM from mysql.com

Configuring php for Apache can be a little fiddly - there are 2 ways of doing it. You can add it as an Action (ie it runs the program) or as a module (in which case it works out what to do based upon the mime type).

I would go the module route, since it is faster.

Let me know if you need a hand.


Thanks for your advice people.
You got to remember 6mths ago I didn't even own a computer at home.
Now I've got this internet radio station that's just gone ballistic.

Madasahatter don't suppose you're on MSN/have a contact email address I could use.


Also does anyone know whether my router could be the cause of time-outs on FTPing to my servers. It's soooo frustrating.

andyf007

863 posts

285 months

Wednesday 11th December 2002
quotequote all
Time-outs are probably down to BT Openworld.

CarZee

13,382 posts

294 months

Wednesday 11th December 2002
quotequote all
the timeouts sound like your ADSL router is crashing.. are there firmware updates available from the hardware manufacturers webshite?

david_h

Original Poster:

579 posts

290 months

Wednesday 11th December 2002
quotequote all

CarZee said: the timeouts sound like your ADSL router is crashing.. are there firmware updates available from the hardware manufacturers webshite?


Maybe, is it worth checking this out then??

CarZee

13,382 posts

294 months

Wednesday 11th December 2002
quotequote all
most probably - if the only way to get your connections to re-establish is by resetting the ADSL router, the implication is that the box is hanging/crashing due to a software fault.

Do other connections such as web & telnet sessions also die when your FTPing packs up? If so, then you've definitely got a crashing box.

robertuk

595 posts

289 months

Thursday 12th December 2002
quotequote all
Hi there all,

The best way to learn is to teach yourself.
IT changes so fast that you can jump in at anytime and
learn most of what you need.
Experience is useful for dealing with clients , project management e.t.c
There are always people around who can share their knowledge.

The best way to learn the basics is to install Apache, Mysql and PHP on your home Windows PC !

I've just searched the web and found the following link.

www.thesitewizard.com/archive/apache.shtml

It looks like he has covered most of the ground
(Why re-invent the wheel ? )
I agree with his statements about testing scrpts in windows (Saves you having to boot into linux each time)

Regards,
Ramesh