Results 1 to 7 of 7

Thread: For general purpose server

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Posts
    4

    For general purpose server

    Is there any mini Knoppix variant out there that's more suitable for server purposes:

    - no need for desktop app. or even X windows
    - support more harddrive mount points (from reading doc., my understanding is that only /home is supported)
    - with enhanced security, e.g. with SELinux

    Thanks!

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    /home is writeable because it exists in ram. Likewise /etc/ and /var have some limited space that can be written in ram for logs and configuration changes. However, you can create many mountpoints for permanent mediums such as hard disks, optical disks, and usb pen drives....

    Most if not all of these remasters feature some form of Xwindows manager. However, it would be simple to take a CD you like and set it to run in text mode (there's even a cheatdoce for this). X would still be installed, but it would not be using any resources.

  3. #3
    Junior Member
    Join Date
    Jun 2004
    Posts
    4
    Quote Originally Posted by arkaine23
    /home is writeable because it exists in ram. Likewise /etc/ and /var have some limited space that can be written in ram for logs and configuration changes. However, you can create many mountpoints for permanent mediums such as hard disks, optical disks, and usb pen drives
    The only see persistent /home in knoppix documentation. That's why I thought you can only map /home to hd. So does it mean I can map other mount points (e.g. /usr/local, /var/log, /opt, etc) onto HD?

  4. #4
    I am working on a hybrid live-cd/HD based remaster for server use.

    Basically, all directories that contain config files and/or commonly writable dirs (/etc, /var/www, /var/lib/mysql) are symlinks pointing back to a single directory (in this case /bbix/var/www). Then, I can add an entry to the fstab file to mount a volume by label(LABEL=bbix /bbix auto rw,exec 0 0); if the volume is present, it will mount into the tree at /bbix, in effect overwriting the default configs and allowing changes to persist acrosss reboots. If no volume is present with the correct label, the mount fails and default configs are used. I am working on some python based install scripts to automate partitioning/labeling/rsyncing of the drive (also handling automatic set up of /etc/raidtab for mirroring)

  5. #5
    How are you getting on with your server re-master? this is something i've been wanting to do for ages. If you've had any success please let me know!
    Thanks
    Dylan

  6. #6
    Senior Member registered user
    Join Date
    Aug 2003
    Posts
    126
    I have set up a LAMP server remaster of Knoppix 3.3
    See

    http://truth.positive-internet.com/~...0412intro.html

    and

    http://truth.positive-internet.com/~...astering1.html

    For my Toophpix distro I put the following scripts in the /KNOPPIX/usr/local/bin/
    directory, linked to Desktop icons

    For save to USB the commands I am using are:
    (Desktop icon runs sudo /usr/local/bin/saveToUSB)
    and
    #!/bin/bash

    # Back up toophpix data to USB device.
    modprobe usb-storage
    mkdir /mnt/usbstore
    mount -t vfat /dev/sda1 /mnt/usbstore
    mysqldump --opt -u root toophpix > /mnt/usbstore/toophpix.sql
    umount /mnt/usbstore


    For restore from USB the commands I am using are:
    (Desktop icon runs sudo /usr/local/bin/restoreFromUSB)
    and

    #!/bin/bash

    # Restore MySQL toophpix database from USB device
    modprobe usb-storage
    mkdir /mnt/usbstore
    mount -t vfat /dev/sda1 /mnt/usbstore
    mysql -u root toophpix < /mnt/usbstore/toophpix.sql
    umount /mnt/usbstore

    The umount commands at the end help ensure that the USB device can be
    mounted if the user clicks on the
    Desktop icon (Hard-Disk Partition sda1) that appears once Knoppix has
    booted up or when the USB device is identified when inserted.
    toophpix is the name of the database that is backed up. I am sure these could be improved
    upon.

  7. #7
    Senior Member registered user
    Join Date
    Aug 2003
    Posts
    126
    The commands I am using to start my LAMP server are

    /etc/init.d/apache start
    rm -rf /var/lib/mysql
    cp -rp /KNOPPIX/var/lib/mysql /var/lib
    mysqld_safe &

    once knoppix is running from the CDROM.
    Hope this helps.

Similar Threads

  1. Knoppix on a usb hard drive with my multimeida(dual purpose)
    By pembo13 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 07-06-2005, 06:54 PM
  2. Some general questions
    By Sebastian Mares in forum General Support
    Replies: 2
    Last Post: 06-28-2004, 12:55 PM
  3. A bit of general trouble
    By TheOddLinguist in forum General Support
    Replies: 12
    Last Post: 06-27-2004, 12:36 AM
  4. knoppix as a general purpose server
    By martinkong in forum The Lounge
    Replies: 6
    Last Post: 06-25-2004, 09:54 AM
  5. general impressions
    By mikehallsted in forum General Support
    Replies: 1
    Last Post: 07-15-2003, 03:55 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
  •  


SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM picture

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM

$159.99



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$316.61



External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac picture

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac

$19.99



Western Digital 1TB 3.5

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive

$34.99



Crucial MX500 1TB 2.5

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1

$99.99



Acer Predator Helios Neo 16S AI 16

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb

$1746.47



Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot picture

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot

$129.99



Lenovo Legion 5 Gaming 15.1

Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070

$1469.00



Toshiba DT01ACA100 1 TB 3.5

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive

$24.99



2026 NEW SGIN 15.6

2026 NEW SGIN 15.6" Laptop Win11 Intel i3 16GB RAM 1TB SSD Wi-Fi 6 RJ45 USB-C

$333.99