Results 1 to 8 of 8

Thread: knoppix version: webserver, php & mysql

Hybrid View

  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
  •  


Vintage S-100 California Computer Systems cards Z80 cpu + ADS  PromBlaster picture

Vintage S-100 California Computer Systems cards Z80 cpu + ADS PromBlaster

$895.00



🔥 RARE VINTAGE HP 2113A 21MX 1000 E-SERIES MINICOMPUTER CHASSIS BACKPLANE picture

🔥 RARE VINTAGE HP 2113A 21MX 1000 E-SERIES MINICOMPUTER CHASSIS BACKPLANE

$249.00



🔥 RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP picture

🔥 RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP

$299.99



Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1 picture

Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1

$250.00



Vintage Microsoft Windows NT 3.51 Workstation 3.5 Floppy Big Box Complete No COA picture

Vintage Microsoft Windows NT 3.51 Workstation 3.5 Floppy Big Box Complete No COA

$139.99



HP 5060-8359 8K solid state semiconducter memory HP 2100/1000 Vintage 1974 picture

HP 5060-8359 8K solid state semiconducter memory HP 2100/1000 Vintage 1974

$135.36



Vintage Radio Shack TRS-80 5.25

Vintage Radio Shack TRS-80 5.25" Floppy Disk Lot of 9 Single Sided Used

$49.99



Vintage Schlesinger 17

Vintage Schlesinger 17" Leather Briefcase Classic Flap Whiskey Brown Attache EUC

$99.99



HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer picture

HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer

$224.72



HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage picture

HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage

$225.61