2010年7月9日金曜日

install subversion to coLinux 0.7.7 Ubuntu 9.04

  1. synaptic subversion, nautilus-script-collection-svn
  2. nautilus-script-manager list-available
    Subversion
  3. nautilus-script-manager enable Subversion
  4. restart nautilus

2010年7月1日木曜日

ubuntu 9.04 on coLinux

  1. coLinuxをインストールする。coLinux-0.7.7.exe ここでは d:\colinux_ubuntu に入れた。
  2. coLinuxのページからubuntuのイメージを取得。Ubuntu-9.04-1gb.7z 7zファイルは適当なツールで解凍してください。
  3. イメージを展開して d:\colinux_ubuntu に入れる。
  4. ubuntu.confを作成。
    # The default kernel
    kernel=vmlinux
    
    cobd0="d:\coLinux\Debian-4.0r0-etch.ext3.1gb"
    #cobd0="d:\coLinux_ubuntu\Ubuntu-9.04.ext3.4gb.fs"
    
    # Swap device, should be an empty file with 128..512MB.
    cobd1="d:\coLinux_ubuntu\swap.img"
    cobd2="\Device\Cdrom0"
    
    #cobd3="d:\coLinux\oel-qemu.img"
    #cobd3="d:\coLinux_ubuntu\Ubuntu-9.04.ext3.4gb.fs"
    
    cofs0=C:\
    cofs1=D:\
    
    # Tell kernel the name of root device (mostly /dev/cobd0,
    # /dev/cobd/0 on Gentoo)
    # This parameter will be forward to Linux kernel.
    root=/dev/cobd0
    
    # Additional kernel parameters (ro = rootfs mount read only)
    ro
    
    # Initrd installs modules into the root file system.
    # Need only on first boot.
    initrd=initrd.gz
    
    # Maximal memory for linux guest
    #mem=64
    mem=512
    
    
    # Slirp for internet connection (outgoing)
    # Inside running coLinux configure eth0 with this static settings:
    # ipaddress 10.0.2.15   broadcast  10.0.2.255   netmask 255.255.255.0
    # gateway   10.0.2.2    nameserver 10.0.2.3
    eth0=slirp
    
    # Tuntap as private network between guest and host on second linux device
    eth1=tuntap
    
    # Setup for serial device
    #ttys0=COM1,"BAUD=115200 PARITY=n DATA=8 STOP=1 dtr=on rts=on"
    
    # Run an application on colinux start (Sample Xming, a Xserver)
    #exec0=C:\Programs\Xming\Xming.exe,":0 -clipboard -multiwindow -ac"
    
  5. run colinux(driver install;colinux-daemon --installdriver at once. and then colinux-daemon.exe @ubuntu.conf)
  6. edit /etc/network/interfaces
    auto lo eth0 eth1
    iface lo inet loopback
    
    # primary network (slirp)
    iface eth0 inet static
    address 10.0.2.15
    broadcast 10.0.2.255
    netmask 255.255.255.0
    gateway 10.0.2.2
    
    # secandary network (tap-win32)
    iface eth1 inet static
    address 192.168.0.40
    netmask 255.255.255.0
    gateway 192.168.0.1
    
  7. make user by adduser hideo
  8. add /etc/sudoers to hideo ALL...
  9. (win) pscp interfaces to /etc/network/interfaces
  10. shutdown
  11. イメージファイルの容量を増やす http://portable-ubuntu.of-jp.com/
  12. misc get commands.
    aptitude update
    aptitude install wget
  13. set japanalize repository http://www.ubuntulinux.jp/products/JA-Localized
  14. japanalize
    aptitude install language-pack-ja
    ( http://cocelo.s201.xrea.com/wiki/index.php?Linux/coLinux/Ubuntu%209.04(Jaunty%20Jackalope)#u9d9ff3f)
  15. タイムゾーンの設定 sudo dpkg-reconfigure tzdata ASIA/Tokyo
  16. aptitude install man
  17. aptitude install emacs
  18. aptitude install w3m
  19. aptitude install screen
  20. modify ~/.screenrc, add escape ^Z^Z
  21. aptidute install gdm
  22. XServerに拒否られないようにX0.hostsへ追加
    "C:\Program Files\Xming\X0.hosts"
    localhost
    192.168.0.40
    
  23. ubuntu-desktop-jaが追加できるようリポジトリを追加( Ubuntu日本語環境)
    wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add - wget -q https://www.ubuntulinux.jp/ubuntu-jp-ppa-keyring.gpg -O- | sudo apt-key add - sudo wget https://www.ubuntulinux.jp/sources.list.d/jaunty.list -O /etc/apt/sources.list.d/ubuntu-ja.list sudo apt-get update
  24. aptitude install ubuntu-desktop-ja
  25. sudo aptitude install gnome-terminal gnome-panel gnome-session
To be continued.