andLinux

いろいろあって重い腰を上げて install することにした。以下垂れ流し。

package Beta 1 (04/21/2008) minimal/XFCE version
path C:\Program Files\andLinux ( default )
memory 256 MB
sound no
start-up automatically ( default )
file access CoFS ( default )
share root C:\Documents and Settings\USENAME\My Documents ( My Documents )
start menu andLinux ( default )
shortcuts default

install はとりあえず上に挙げた初期導入 URL の一番最初を参考に。初回再起動後は fsck がかかるみたいでしばらく HDD access しっぱなしなので 10 分くらい待つ。それが終わって login すると security soft に Xming X Server との通信を block するか訊かれたので通すようにした。

  • keyboard setting
    1. loadkeys ja106
  • password setting
    1. passwd
  • package update
    1. apt-get update
    2. apt-get upgrade
  • setup Japanese environment
    1. apt-get install language-pack-ja ttf-vlgothic
    2. dpkg-reconfigure locales
    3. update-locale LANG=ja_JP.UTF-8
    4. shutdown -r now
    5. dpkg-reconfigure tzdata
    6. apt-get install scim scim-anthy scim-bridge-client-gtk scim-bridge-client-qt
    7. cp -ip /etc/profile{,.default}
    8. add below lines to /etc/profile and shutdown -r now
export GTK_IM_MODULE=scim-bridge
export QT_IM_MODULE=scim-bridge
  • user add and default user settings
    1. useradd -m -s /bin/bash username
    2. passwd username
    3. change last line of /usr/bin/X11/startwindowsterminalsession: root -> username
    4. apt-get install sudo
    5. visudo and add username ALL=(ALL) ALL to last line
    6. edit line 10 of /usr/local/sbin/launcher.pl, Localport => 81 -> Localport => 8081
    7. make and execute the file that content is below ( named "andLinuxLauncher.reg" ), and shutdown -r now
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\andLinux\Launcher]
"IP"="192.168.11.150"
"Port"=dword:00001f91

mount 時の permission を追加した一般 user のものにする。

  • permission settings of mounted directory
    1. in root, check user id by id username
    2. edit last line of /etc/fstab to below (1001 is user id) and shutdown -r now
/dev/cofs0 /mnt/win cofs defaults,uid=1001,gid=100 0 0
    1. in user, ln -s /mnt/win ~/windows

CoFS で Windows と共有している device には symbolic link が張れないとかいろいろ制限があるみたいなので注意。これのせいでたいていの make とか git clone とか通らないし git checkout で Bus Error が出て branch 切り替えがうまくいかない。素直に andLinux 上の user の home directory に作業用 directory 掘ってそこで作業。作業結果を Windows 側へ cp するという流れになる。