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
- loadkeys ja106
- password setting
- passwd
- package update
- apt-get update
- apt-get upgrade
- setup Japanese environment
- apt-get install language-pack-ja ttf-vlgothic
- dpkg-reconfigure locales
- update-locale LANG=ja_JP.UTF-8
- shutdown -r now
- dpkg-reconfigure tzdata
- apt-get install scim scim-anthy scim-bridge-client-gtk scim-bridge-client-qt
- cp -ip /etc/profile{,.default}
- 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
- useradd -m -s /bin/bash username
- passwd username
- change last line of /usr/bin/X11/startwindowsterminalsession: root -> username
- apt-get install sudo
- visudo and add username ALL=(ALL) ALL to last line
- edit line 10 of /usr/local/sbin/launcher.pl, Localport => 81 -> Localport => 8081
- 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
- in root, check user id by id username
- 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
-
- 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 するという流れになる。