Results 1 to 8 of 8

Thread: knoppix version: webserver, php & mysql

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Location
    UK
    Posts
    3

    knoppix version: webserver, php & mysql

    Hi,

    I was wondering if anyone has remastered a version of knoppix to include a webserver with php support and a mysql server?

    Ive tried to customise it myself, but im having difficulites.

    I am not worried about xwindows or anything else, as its sole purpose is for serving web pages/files.

    Please let me know!
    [email protected]

    Many thanks,
    Andy

  2. #2
    Senior Member registered user
    Join Date
    Apr 2003
    Posts
    220
    tazzi: just download older version of knoppix

  3. #3
    Junior Member
    Join Date
    Jan 2004
    Location
    UK
    Posts
    3
    which version is that?

    Why not the new one?

  4. #4
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    17
    The current Knoppix (11-19-03) has Apache and MySQL;

    just run

    sudo /etc/init.d/apache start
    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.

  5. #5
    Member registered user
    Join Date
    Feb 2003
    Location
    Vancouver BC
    Posts
    92
    Yep, the 'original' knoppix has everything you need.

    A phpinfo will tell you so, once, of course, you start apache.

    - Ambrose

  6. #6
    Junior Member
    Join Date
    Jan 2004
    Location
    UK
    Posts
    3
    ok, thanks...

    Is there anyway of stopping me having to press enter when i moans about memory problems?
    I was hoping for it to just boot straight up and load apache/php/ftp/ssh. I also dont need any xwindows stuff loading, as it seems to take ages doing that before it eventually put me into text mode

    Thanks,
    Andy

  7. #7
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    17
    Quote Originally Posted by tazzi
    ok, thanks...

    Is there anyway of stopping me having to press enter when i moans about memory problems?
    I was hoping for it to just boot straight up and load apache/php/ftp/ssh. I also dont need any xwindows stuff loading, as it seems to take ages doing that before it eventually put me into text mode

    Thanks,
    Andy
    Sure;

    add a file to your knoppix CD called /KNOPPIX/knoppix.sh that looks like this:

    #!/bin/bash

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

    # Start shell
    /bin/bash

    # Reboot after logout
    /sbin/reboot -f


    This will start your services and load a shell BEFORE X gets started. Typing logout or pressing CTRL+D in the shell will reboot the machine.

  8. #8
    Member registered user
    Join Date
    Feb 2003
    Location
    Vancouver BC
    Posts
    92
    Woah!

    Just put in "/sbin/init 2" instead of that /bin/bash funnyness. Even better if you put that before you start your services.

    - ambrose

Similar Threads

  1. Knoppix Suitability for a specialised webserver
    By hall in forum Customising & Remastering
    Replies: 0
    Last Post: 04-11-2005, 10:27 AM
  2. CD-based Knoppix as webserver?
    By dave_sussex in forum General Support
    Replies: 12
    Last Post: 02-17-2004, 02:07 PM
  3. Knoppix as webserver
    By rubis in forum General Support
    Replies: 14
    Last Post: 11-26-2003, 04:44 PM
  4. [MySQL] Export a DB From PHPMyAdmin to /var/lib/mysql
    By Coume in forum General Support
    Replies: 5
    Last Post: 08-06-2003, 06:42 AM
  5. want to create a knoppix webserver....
    By TheSovereign in forum Customising & Remastering
    Replies: 2
    Last Post: 02-11-2003, 12:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit picture

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit

$19.99



Windows XP, Vista, 8.1, Linux Knoppix, Office XP,  (6 CDS) picture

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)

$10.00



KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED picture

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED

$11.99



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$5.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$20.85



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION) picture

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)

$7.57



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$21.42



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$7.00



Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006 picture

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006

$33.98