Re: From the beginning

2005-09-11 Thread Steve Holdoway
Hi Kelvyn, php support for apache comes from the mod_php module. I don't know mandrake, but I think it uses rpms, so... at a shell prompt, try rpm -qa | grep php to see if it is available. Steve On Sun, September 11, 2005 5:15 pm, motivated wrote: Its been some time since I played with my

Re: From the beginning

2005-09-11 Thread Andy George
Good to see you having a crack at it. Splendid... Andy George Going to localhost it shows php4.3.4 installed, its now just mysql that I'm concerned about. I'm just glad I'm at last finding this working with *nix that much easier for some reason. Although problems will start I should imagine

Re: From the beginning (andy)

2005-09-11 Thread motivated
It has to be done. Need to get a firewall up and my web server, plus a mail server. Then I need to figure out how to network all these things so that I can still have 3 windows boxes on the net also. I'm guessing my life is going to be stink for awhile from this point. BTW, I have a great php

Re: From the beginning

2005-09-11 Thread Andy George
I can probably donate a set of Fedora Core 4 CDs to that cause if/when required... Yep, we'll talk about Rovers whenever your happy... That PHP Book sounds REAL good... It has to be done. Need to get a firewall up and my web server, plus a mail server. Then I need to figure out how to

Re: From the beginning

2005-09-11 Thread motivated
Andy, did you install: MYSQL-client, and MYSQL-common, and php-mysql-4.3.4-1mdk to get mysql up and running with php support ?? Or dont I need php-mysql-4.3.4-1mdk My install on windows was much easier than this ! Give me your address and I'll drop the book off tomorrow sometime (12-1pm) if

Re: From the beginning

2005-09-11 Thread motivated
SOLVED... On windows you have an htdocs folder which is where you place your files to be served up by apache. So which folder is it here: var/www var/www/html var/www/web I'm wanting to test out ?php phpinfo ? Thanks Regards Kelvyn.

Re: From the beginning

2005-09-11 Thread motivated
Is there a simple way to check if my cdrom is reading my cd's. I cant get over this, the problems just keep on coming. Regards Kelvyn

Re: From the beginning

2005-09-11 Thread Roger Searle
for those others of us following the thread, what was the answer? roger motivated wrote: SOLVED... On windows you have an htdocs folder which is where you place your files to be served up by apache. So which folder is it here: var/www var/www/html var/www/web I'm wanting to test

Re: From the beginning

2005-09-11 Thread motivated
var/www/html I thought I was the only one this retarded (no insult intented), god you have made me feel better.

Re: From the beginning

2005-09-11 Thread Andy George
Answering from an RH9/FC4 background mount /dev/cdrom cd /mnt cd cdrom ls that backwards cd / umount /dev/cdrom eject Is there a simple way to check if my cdrom is reading my cd's. I cant get over this, the problems just keep on coming. Regards Kelvyn

was: From the beginning now:find cdrom

2005-09-11 Thread motivated
lets try this a different way: how can I find the path to my cdrom ?? I have tried several suggestions from previous posts although I must admit to not understanding what the - is actually meant to be in (instructions from Ross Drummond): /dev/hdc - ide/host0/bus1/target0/lun0/cd I get. no

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Andy George
MAndrake cant work the same as RH then... thats a little suprising, assumed it'd work... Try man mount (dont laugh, it's a legit command...) Tell me what that does... lets try this a different way: how can I find the path to my cdrom ?? I have tried several suggestions from previous posts

Re: was: From the beginning now:find cdrom

2005-09-11 Thread motivated
Thought you meant: man mount/dev/cdrom which did nothing. man mount brings up everything on mount. Gives a discription of file tree on unix systems etc,etc

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Andy George
Come to think of it, Just type mount and it should, if my guess is right do one of two things... No such file or directory (this may mean the command MOUNT is missing) or /dev/blaa... (spew a whole heap of devices at you, as a list of all mountable (mounted) drives it sees...) lets try

Re: was: From the beginning now:find cdrom

2005-09-11 Thread dave
Motivated if your using Mandrake try the following. via a terminal screen / window type cd ../../.. (to get ya to root (or as many ../ as needed) from / (root) enter the next command cd /mnt do a ls to see the directories available should see all mount point there (including cdrom) stick a

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Andy George
OK, so maybe... mount /dev/hdc might have better results hda - Primary Master hdb - Primary Slave hdc - Secondary Master (assuming this is your CDRom, here...if it's not, you can adjust the above command to suit?) hdd - Secondary Slave Thought you meant: man mount/dev/cdrom which did

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Nick Rout
On Sun, 2005-09-11 at 21:00 +1200, Andy George wrote: Come to think of it, Just type mount and it should, if my guess is right do one of two things... No such file or directory (this may mean the command MOUNT is missing) errr yeah so how are you running at all if there is no mount

Re: was: From the beginning now:find cdrom

2005-09-11 Thread motivated
Not sure how much you need, and its a 12 ft walk from one comp to the other, but heres the guts, I'll post all of it if you need it (thanks for your help) /dev/ide/host0/bus0/target0/lun0/partl on / type ext3 (rw) then a bunch of : none on then: /dev/ide/host0/bus0/target0/lun0/part3 on /home

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Nick Rout
On Sun, 2005-09-11 at 21:10 +1200, Andy George wrote: OK, so maybe... mount /dev/hdc This only works if /dev/hdc is in the file /etc/fstab. If there is an entry in /etc/fstab that maps /dev/hdc to a mount point (for example /mnt/cdrom) then you can either mount /dev/hdc or mount /mnt/cdrom.

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Nick Rout
On Sun, 2005-09-11 at 21:21 +1200, motivated wrote: I see nothing about cdrom anywhere, and I couldnt figure out how to get out of the man mount results so had to start again. man is paged through your pager which is usually less. Hit q to exit. More tips - the standard / will allow you to

Re: was: From the beginning now:find cdrom

2005-09-11 Thread motivated
You will have to excuse me if I'm slow on this. Again I dont know how much detail you need: dmesg|grep hd gives a heap of stuff on hda then Resume Machine: resuming from hda5 then theres a mention of hda6 dmesg|grep -i cd gives: grep: cd: no such file or directory I see nothing that would

Re: was: From the beginning now:find cdrom

2005-09-11 Thread motivated
Dont shoot me ! I am logged in as root (that ok ?). So far nothing suggested has worked. By that I mean I still cant get to, or use my cdrom.

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Nick Rout
On Sun, 2005-09-11 at 21:46 +1200, motivated wrote: You will have to excuse me if I'm slow on this. Again I dont know how much detail you need: dmesg|grep hd gives a heap of stuff on hda then Resume Machine: resuming from hda5 then theres a mention of hda6 dmesg|grep -i cd gives:

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Nick Rout
On Sun, 2005-09-11 at 22:15 +1200, motivated wrote: I will not guarantee the '0's are all there although I believe it is correct. There is a little bit in the top line I left out which I believe is unimportant, it just mandrake version, but will willingly post if needed. No I just wanted to

Re: was: From the beginning now:find cdrom

2005-09-11 Thread motivated
is it on the ide bus good question I'm no computer guru, but the cdrom appears to plugged into the motherboard with a separate strap to the hd. I did notice that the sound had a X on the speaker icon, and the sound cable is now flopping around in the case. The cdrom was used to install this

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Nick Rout
On Sun, 2005-09-11 at 22:32 +1200, motivated wrote: is it on the ide bus good question I'm no computer guru, but the cdrom appears to plugged into the motherboard with a separate strap to the hd. I did notice that the sound had a X on the speaker icon, and the sound cable is now

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Steve Holdoway
OK, you say it's on a separate cable, then it's almost certainly either /dev/hdc or /dev/hdd. So try, logged in as root in a bash session... mount -t iso9660 -o ro /dev/hdc /mnt mount -t iso9660 -o ro /dev/hdd /mnt df Can you show the result? If the cd is working, and connected on the secondary

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Ross Drummond
Here is a trick; Type the following command; ls -l /dev/cd*[1] note the output On my machine I have listed /dev/cdrom0 and /dev/cdrom1 Issue the following command; eject /dev/cdromwhatever The cdrom tray of one of your cdrom drives should open. You will now be able to figure which

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Nick Rout
I actually think the cd drive is probably fucked as dmesg doesn't seem to acknowledge its existence. time for a workshop evening? On Mon, 2005-09-12 at 00:04 +1200, Ross Drummond wrote: I am still not sure why you are having trouble. The mandrake sorftware installer remembers where it

Re: was: From the beginning now:find cdrom

2005-09-11 Thread motivated
I installed another cd drive and still the same thing. I then took the cable from my hd with the mandrake install and connected it to the second hd, which I have never used, so I was guessing it was empty. Then I inserted a boot disk (floppy) for mandrake 10, this then comes up with a pop up box

Re: was: From the beginning now:find cdrom

2005-09-11 Thread motivated
ls -l /dev/cd*[1] comes up with 'no such file or directory'

Re: was: From the beginning now:find cdrom

2005-09-11 Thread motivated
Correction ls -l /dev/cd* comes back with: ls: invalid option without the space ls-l /dev/cd* No such file or directory And just to cover my butt I tried: ls -l /dev/cd*[1] No such file or directory As I wasn't 100% sure you didnt want me to include [1]

Re: was: From the beginning now:find cdrom

2005-09-11 Thread Roger Searle
It's not necessary to log in as root. Of course you have to learn how to accomplish all these things while logged on as a normal user. For the command line stuff, I know a couple of options. Start up a normal shell prompt and type su, you will be asked for your root password. Alternatively

From the beginning

2005-09-10 Thread motivated
Its been some time since I played with my Mandrake box due to other obligations, so I have forgotten almost everything. I originally installed Mandrake 10.1 and at time of installation selected to install apache, mysql and I'm not sure if there was an option to install php. At this point I

Re: From the beginning

2005-09-10 Thread Ross Drummond
Log in to a shell as root and run the following command; service httpd status You should get a response like 'Apache is running'. If not run the following command to to start Apache; service httpd start Once Apache starts open your web browser of choice and go to this URL; http://127.0.0.1