Q and A
Q. I want to copy files between knoppix/math and the host operating system.
- By Samba:
- On the knoppix/math, execute
Penguin-->services-->Start samba
- Open "My computer" on Windows.
Tool--> assign network drive and
connect to \\knoppix\samba
User name and password are both
knoppix.
The folder /home/knoppix/samba can be opened from Windows.
From the MacOS, use the finder menu "move" and "connect to the server"
and input smb://"ip address of the knoppix/math machine"/samba
In order to change the setting of the samba server on the knoppix/math,
use "swat".
-
By ssh and scp: Start the ssh server on knoppix/math.
In order to know the ip address of the knoppix/math virtual machine,
use the command "ifconfig -a"
Example:
ssh ip-address-of-the-knoppix-math-virtual-machine -l knoppix
scp filename knoppix@ip-address-of-the-knoppix-math-virtual-machine:filename
- By usb flash memory:
- UFS explorer (shareware)
Q. Upgrading the free version to the non-free version
Edit /etc/apt/sources.list so that you can access to the nearest debian
package repository.
Become the root (administrator) by the "su" command and
execute the following commands.
Network installers for some software systems such as Kant/kash and Risa/Asir
are installed in the free version.
If you try to start these software systems, it will be downloaded
after you agree with licenses.
su (become the super user)
cp /etc/apt/sources.list.non-free /etc/apt/sources.list
apt-get update
apt-get install cmap-adobe-japan1
apt-get install cmap-adobe-japan2
apt-get install xpdf-japanese (To view Japanese PDF files)
apt-get install sun-java5-jre (To execute Java applications)
apt-get install sun-java5-fonts
apt-get install sun-java5-bin
apt-get install sun-java5-plugin
rm /etc/alternatives/java
ln -s /usr/lib/jvm/java-1.5.0-sun-1.5.0-sun-1.5.0.14/bin/java /etc/alternatives
apt-get install latex2html
apt-get install lha
apt-get install povray
apt-get install povray-doc
apt-get install povray-includes
apt-get install povray-examples
apt-get install scilab
apt-get install scilab-bin
apt-get install scilab-doc
exit (exit root)
kash3
kash2
openxm asir-port.sh
cocoa
Notes for advanced users
*knoppix.img and persistent home
knoppix/math 2008 has been developed based on
KNOPPIX_V5.1.1CD-2007-01-04-EN.iso
knoppix_v5.1.1DVD_20070104-20070122+IPAFont_AC20070123.iso
There are several troubles on the persistent home system on
the version 5.1.1.
1. "pump" refuses the umount operation,
then "fsck" always happens during the next boot.
2. Because of the aufs-tools (the plink option does not seem to work properly),
the IO dead state (D+) happens when one writes under /var (e.g., apt-get).
3. (Only Japanese edition) knoppix.img on usb devices may not be found
on virtual machines. It is because of the acceleration.
Knoppix/Math 2008 DVD version
(knoppix_v5.1.1-math-dvd-20080218-2-ac.iso
is non-free and you cannot get it from the internet)
was pressed without fixing the troubles 2 and 3.
The trouble 2 can be solved by remounting with the noplink option.
Copy
knoppix.sh to knoppix.img, then the trouble 2 will not happen
in most cases.
Example:
Suppose that knoppix.img is under /dev/sda1.
su
chmod 755 knoppix.sh
mount /dev/sda1 /mnt
cp knoppix.sh /mnt
umount /mnt
There is no workaround for the trouble 3.
These troubles are fixed in knxm2008-kobe.iso in the VMware/knoppix/math 2008
DVD distribution.
Note: we kill pump before the shutdown.
If you are using a nfs volume, you need to umount the nfs volume by hand.
* Upgrading libc by apt-get.
If you get the following message
"Another copy of the C library was found.
It is not safe to upgrade .... "
then, comment out all the lines in /etc/ld.so.conf
(add # at the top of the lines) and do apt-get again.
There is a risk of that you cannot boot again when you upgrade the libc.
Please backup your data before you upgrade the libc.
日本語版