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
  •  


2-Bay/4-Bay Hard Drive Enclosure for 3.5

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2

$75.99



Glyph StudioRAID 28TB External RAID Hard Drive Thunderbolt 2 USB 3.0 7200RPM picture

Glyph StudioRAID 28TB External RAID Hard Drive Thunderbolt 2 USB 3.0 7200RPM

$300.00



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD picture

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD

$265.00



OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2  for Dual 3.5 inch HDDs picture

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs

$87.99



WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure picture

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure

$119.99



Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV picture

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV

$18.95



Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5

Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5" SATA Drives External Array

$55.00



Intel® Integrated RAID Mezzanine Module RMS3HC080 SAS/SATA H24093-204 picture

Intel® Integrated RAID Mezzanine Module RMS3HC080 SAS/SATA H24093-204

$24.97



Adaptec ASR-71605 16-Port 1Gbps PCIe RAID Card High Profile picture

Adaptec ASR-71605 16-Port 1Gbps PCIe RAID Card High Profile

$18.49