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
  •  


Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram  240gb SSD 2x GPU *READ* picture

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*

$369.99



HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS picture

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS

$199.00



Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On picture

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On

$450.00



Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC picture

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC

$250.00



New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$449.99



Supermicro SYS-E302-9A Fanless Firewall Atom C3558 16GB ECC 64GB SSD 6x GbE i350 picture

Supermicro SYS-E302-9A Fanless Firewall Atom C3558 16GB ECC 64GB SSD 6x GbE i350

$325.00



1U Edge Firewall Server X11SCW-F Xeon E-2174G 0 RAM M.2 NVME 3x PCI-e 2x PSU   X picture

1U Edge Firewall Server X11SCW-F Xeon E-2174G 0 RAM M.2 NVME 3x PCI-e 2x PSU X

$175.00



Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server picture

Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server

$689.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99



Supermicro 505-2   Server picture

Supermicro 505-2 Server

$280.00