Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > default HTML/PHP script folder?

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-27-2008   #11 (permalink)
Linux Engineer
 
Join Date: Oct 2007
Location: Tucson AZ
Posts: 842
I believe apache and php come with knoppix so you may be able to just start the apache daemon and have it work. I don't havea knoppix cd so I can't check but this was the case in the past. You can log in to a terminal and just do a 'whereis', 'which' or 'locate' command to see if apache and/or php are on the cd. I'm not really sure that it will do you much good because you won't be able to save any files to a cdrom.
yancek is offline  


Reply With Quote
Old 04-27-2008   #12 (permalink)
Just Joined!
 
jmoney3457's Avatar
 
Join Date: Apr 2008
Location: maine
Posts: 9
Send a message via AIM to jmoney3457 Send a message via MSN to jmoney3457 Send a message via Yahoo to jmoney3457
Quote:
Originally Posted by yancek View Post
I believe apache and php come with knoppix so you may be able to just start the apache daemon and have it work. I don't havea knoppix cd so I can't check but this was the case in the past. You can log in to a terminal and just do a 'whereis', 'which' or 'locate' command to see if apache and/or php are on the cd. I'm not really sure that it will do you much good because you won't be able to save any files to a cdrom.
but when i boot slax server live..it lets me save php scripts to htdocs..yes there deleted once i reboot/turn off comp but as long as the live cd is running you can save files to a directory cant you? also how do i start the apache daemon?
jmoney3457 is offline   Reply With Quote
Old 04-27-2008   #13 (permalink)
Linux Engineer
 
Join Date: Oct 2007
Location: Tucson AZ
Posts: 842
/etc/init.d/apache2 start
To stop change 'start' to 'stop', to restart change 'start' to 'restart'. You could use konqueror to go to /etc/init.d/ directory to see if there is an apache2 executable there. That's where it should be.
yancek is offline   Reply With Quote
Old 04-27-2008   #14 (permalink)
Just Joined!
 
jmoney3457's Avatar
 
Join Date: Apr 2008
Location: maine
Posts: 9
Send a message via AIM to jmoney3457 Send a message via MSN to jmoney3457 Send a message via Yahoo to jmoney3457
when i activate it ..should the htdocs dir appear?
jmoney3457 is offline   Reply With Quote
Old 04-27-2008   #15 (permalink)
Linux Engineer
 
Join Date: Oct 2007
Location: Tucson AZ
Posts: 842
If it doesn't just create the directory. "cd /var/www/", "mkdir htdocs"
yancek is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:04 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2