PDA

View Full Version : Please step by step to run apache, php and mysql in v3.3



maltrecho
03-03-2004, 01:05 PM
I just would love to have the php parser enabled while running knoppix, but I just can't get it to work as I don't really understand what I have to do. Could anybody explain step by step how to run apache, php and mysql and how to access to them? Thanks :wink:

mcaycedo
03-05-2004, 02:06 PM
You need to run some console commands.. I you're not familiar with console, well, It's time to learn. To get console click in one of the icons in the task bar: looks like an computer screen with a shell on top. Then, it launches an screen with a prompt, something like "knoppix#_". There you have to invoke the script who launchs apache. Type (extractet from another post)

sudo /etc/init.d/apache start

To get mysql working, type:

sudo /etc/init.d/mysql start

(if you want it to autostart on boot; just add a file /KNOPPIX/knoppix.sh to the Knoppix ISO like this:


#!/bin/bash

sudo /etc/init.d/apache start
sudo /etc/init.d/mysql start

and burn it.)

You can get more information in this discussions:

http://www.knoppix.net/forum/viewtopic.php?t=7609
http://www.knoppix.net/forum/viewtopic.php?p=35307

mcaycedo
03-05-2004, 07:45 PM
If you want to know if apache is working, yo can try to open http://localhost from Mozilla. Or, if you have a Lan, you will need to know the IP from you Knoppix PC. To do this, you will need issue some console command. The command is:

ifconfig (or ipconfig, I'm a little confused. one works in linux, the other in win2000)

You will get some text, depending you Lan Network (if available) and your subnet, there must be some ip address like "192.168.1.15" or something. You can type http://192.168.1.15 from the other machines in the Lan and will be able to seee the welcome page to Apache - Debian