Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: I want /var/lib/mysql/foo to NOT be linked to /KNOPPIX!!!!

  1. #11
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Quote Originally Posted by ace
    Thanx for all who helped. Modifying the minirt file as suggested by UnderScore proved to be the easiest and most efficient. It also allowed me to make all kinds of other tweaks.
    Thanks for getting back to us & letting us know how it went.
    I am glad that I can help.
    James

  2. #12
    Senior Member registered user
    Join Date
    Aug 2003
    Posts
    126
    knopx4me wrote
    Try to add the following to the /etc/skel/init.d/knoppix-autoconfig file of the remastered distro just before starting kdm:

    cp -rp /KNOPPIX/var/lib/mysql /var/lib

    I am not expert in mysql so I do not know what permissions you should also add to the above. Try it, it should work.
    The -p option to the cp command preserves the permissions and should be all that is needed. Thanks for the information about the
    /etc/skel/init.d/knoppix-autoconfig file.
    One question which underscore may be able to help with regarding Knoppix 3.8, which I haven't tried yet. Does the unionfs system mean that a LAMP server
    running under Knoppix 3.8 will not need any special commands to enable users to modify data? Will it just mean starting Apache and MySQL and away you go?
    Thanks.

  3. #13
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Quote Originally Posted by markpreston
    Does the unionfs system mean that a LAMP server
    running under Knoppix 3.8 will not need any special commands to enable users to modify data? Will it just mean starting Apache and MySQL and away you go?
    As far as I can tell, you do not need to modify anything. Now I have NOT done any testing in regards to 3.8 & LAMP but with 3.8 it should be "start & away you go". This is because UnionFS transparently mounts a portion of the systems's RAM (/ramdisk) on top of / (root of the knoppix CD filesystem). This enables the user to do things that were practically impossible such as using apt-get to update the apt DB and install software. And note that apt-get stores the downloaded .deb archive files in /var/cache/apt/archive.
    So yes, 3.8 should make LAMP and/or other scenarios that need to write to /var very easy.

    I hope this helps.
    James

  4. #14
    Senior Member registered user
    Join Date
    Mar 2005
    Posts
    103
    Is Knoppix 3.8 out yet? Where I can download it?

    Sorry to go out of topic.

  5. #15
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Quote Originally Posted by knopx4me
    Is Knoppix 3.8 out yet? Where I can download it?

    Sorry to go out of topic.
    Page 4 or page 5 of this http://www.knoppix.net/forum/viewtopic.php?t=17398 has a link to a bittorrent download for 3.8 Cebit Edition.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Updating MySQL in Knoppix
    By PlatinumPlus in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 10-06-2005, 10:17 AM
  2. MySQL on Knoppix 3.7 Remaster
    By ilovelinux98 in forum Customising & Remastering
    Replies: 2
    Last Post: 04-25-2005, 08:27 AM
  3. MySQL on Knoppix
    By ilovelinux98 in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 04-23-2005, 09:30 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. Mysql and knoppix
    By antti in forum General Support
    Replies: 1
    Last Post: 02-10-2003, 02:16 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
  •