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
  •  


TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S... picture

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...

$9.64



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$36.98



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99