2013年1月26日土曜日

Ubuntu12.04をインストールしてやったこと

どうもこんにちは、typosterrといいます。
 趣味でプログラムを書いています。今後とも宜しくおねがいします。
 普段はmacを使っていて、UbuntuもVMWare上にインストールしているのですが、Linuxもきちんとおさえていきたいと思って、このブログを始めようと思います。

 はじめに
  •  なにぶん情弱なので、間違っていたら教えていただけると嬉しいです。(もちろん、事前にそのようなことのないように努めていく所存です)
  •  ここに書いてある記事によって生じた問題は私は負いかねますので、すみませんがご了承お願いします。

では早速。。

 環境
  • mac Mountain Lion 10.8 .2 on VMFusion4
  •  Ubuntu12.04(32bit)
やったこと

VMware-Toolsのインストール
    VMwareのメニューのVirtual Machineー>Install VMware Toolsを選択

    Installをクリック

    ターミナルからのコマンドを実行
    ~$ sudo su -
    ~# cp /media/VMware\ Tools/VMwareTools-8.8.4-730257.tar.gz /tmp/
    ~# cd /tmp/
    /tmp# tar zxpf VMwareTools-8.8.4-730257.tar.gz 
    /tmp# cd vmware-tools-distrib/
    /tmp/vmware-tools-distrib# ./vmware-install.pl 
    Creating a new VMware Tools installer database using the tar4 format.
    
    Installing VMware Tools.
    
    In which directory do you want to install the binary files? 
    [/usr/bin] 
    
    What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
    [/etc] 
    
    What is the directory that contains the init scripts? 
    [/etc/init.d] 
    
    In which directory do you want to install the daemon files? 
    [/usr/sbin] 
    
    In which directory do you want to install the library files? 
    [/usr/lib/vmware-tools] 
    
    The path "/usr/lib/vmware-tools" does not exist currently. This program is 
    going to create it, including needed parent directories. Is this what you want?
    [yes] 
    
    In which directory do you want to install the documentation files? 
    [/usr/share/doc/vmware-tools] 
    
    The path "/usr/share/doc/vmware-tools" does not exist currently. This program 
    is going to create it, including needed parent directories. Is this what you 
    want? [yes] 
    
    The installation of VMware Tools 8.8.4 build-730257 for Linux completed 
    successfully. You can decide to remove this software from your system at any 
    time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
    
    Before running VMware Tools for the first time, you need to configure it by 
    invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
    this program to invoke the command for you now? [yes] 
    
    Initializing...
    
    
    Making sure services for VMware Tools are stopped.
    
    
    
    [EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
    creates backups of virtual machines. Please refer to the VMware Knowledge Base 
    for more details on this capability. Do you wish to enable this feature? 
    [no] 
    
    
    Before you can compile modules, you need to have the following installed... 
    
    make
    gcc
    kernel headers of the running kernel
    
    
    Searching for GCC...
    Detected GCC binary at "/usr/bin/gcc".
    The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
    Would you like to change it? [no] 
    
    Searching for a valid kernel header path...
    Detected the kernel headers at 
    "/lib/modules/3.2.0-36-generic-pae/build/include".
    The path "/lib/modules/3.2.0-36-generic-pae/build/include" appears to be a 
    valid path to the 3.2.0-36-generic-pae kernel headers.
    Would you like to change it? [no] 
    
    Using 2.6.x kernel build system.
    make: ディレクトリ `/tmp/vmware-root/modules/vmci-only' に入ります
    make -C /lib/modules/3.2.0-36-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= modules
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' に入ります
      CC [M]  /tmp/vmware-root/modules/vmci-only/linux/driver.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/linux/vmciKernelIf.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciContext.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDoorbell.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDatagram.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDriver.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciEvent.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciHashtable.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciQPair.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciQueuePair.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciResource.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciRoute.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/driverLog.o
      LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /tmp/vmware-root/modules/vmci-only/vmci.mod.o
      LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.ko
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' から出ます
    make -C $PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= postbuild
    make[1]: ディレクトリ `/tmp/vmware-root/modules/vmci-only' に入ります
    make[1]: `postbuild' は更新済みです
    make[1]: ディレクトリ `/tmp/vmware-root/modules/vmci-only' から出ます
    cp -f vmci.ko ./../vmci.o
    make: ディレクトリ `/tmp/vmware-root/modules/vmci-only' から出ます
    
    Using 2.6.x kernel build system.
    make: ディレクトリ `/tmp/vmware-root/modules/vmci-only' に入ります
    make -C /lib/modules/3.2.0-36-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= modules
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' に入ります
      CC [M]  /tmp/vmware-root/modules/vmci-only/linux/driver.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/linux/vmciKernelIf.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciContext.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDatagram.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDoorbell.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDriver.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciEvent.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciHashtable.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciQPair.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciQueuePair.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciResource.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciRoute.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/driverLog.o
      LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /tmp/vmware-root/modules/vmci-only/vmci.mod.o
      LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.ko
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' から出ます
    make -C $PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= postbuild
    make[1]: ディレクトリ `/tmp/vmware-root/modules/vmci-only' に入ります
    make[1]: `postbuild' は更新済みです
    make[1]: ディレクトリ `/tmp/vmware-root/modules/vmci-only' から出ます
    cp -f vmci.ko ./../vmci.o
    make: ディレクトリ `/tmp/vmware-root/modules/vmci-only' から出ます
    Using 2.6.x kernel build system.
    make: ディレクトリ `/tmp/vmware-root/modules/vsock-only' に入ります
    make -C /lib/modules/3.2.0-36-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= modules
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' に入ります
      CC [M]  /tmp/vmware-root/modules/vsock-only/linux/notify.o
      CC [M]  /tmp/vmware-root/modules/vsock-only/linux/notifyQState.o
      CC [M]  /tmp/vmware-root/modules/vsock-only/linux/af_vsock.o
      CC [M]  /tmp/vmware-root/modules/vsock-only/linux/stats.o
      CC [M]  /tmp/vmware-root/modules/vsock-only/linux/util.o
      CC [M]  /tmp/vmware-root/modules/vsock-only/linux/vsockAddr.o
      CC [M]  /tmp/vmware-root/modules/vsock-only/driverLog.o
      LD [M]  /tmp/vmware-root/modules/vsock-only/vsock.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /tmp/vmware-root/modules/vsock-only/vsock.mod.o
      LD [M]  /tmp/vmware-root/modules/vsock-only/vsock.ko
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' から出ます
    make -C $PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= postbuild
    make[1]: ディレクトリ `/tmp/vmware-root/modules/vsock-only' に入ります
    make[1]: `postbuild' は更新済みです
    make[1]: ディレクトリ `/tmp/vmware-root/modules/vsock-only' から出ます
    cp -f vsock.ko ./../vsock.o
    make: ディレクトリ `/tmp/vmware-root/modules/vsock-only' から出ます
    
    The module vmxnet3 has already been installed on this system by another 
    installer or package and will not be modified by this installer.  Use the flag 
    --clobber-kernel-modules=vmxnet3 to override.
    
    The module pvscsi has already been installed on this system by another 
    installer or package and will not be modified by this installer.  Use the flag 
    --clobber-kernel-modules=pvscsi to override.
    
    The module vmmemctl has already been installed on this system by another 
    installer or package and will not be modified by this installer.  Use the flag 
    --clobber-kernel-modules=vmmemctl to override.
    
    The VMware Host-Guest Filesystem allows for shared folders between the host OS 
    and the guest OS in a Fusion or Workstation virtual environment.  Do you wish 
    to enable this feature? [yes] 
    
    Using 2.6.x kernel build system.
    make: ディレクトリ `/tmp/vmware-root/modules/vmci-only' に入ります
    make -C /lib/modules/3.2.0-36-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= modules
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' に入ります
      CC [M]  /tmp/vmware-root/modules/vmci-only/linux/driver.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/linux/vmciKernelIf.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciContext.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDatagram.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDoorbell.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDriver.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciEvent.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciHashtable.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciQPair.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciQueuePair.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciResource.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciRoute.o
      CC [M]  /tmp/vmware-root/modules/vmci-only/driverLog.o
      LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /tmp/vmware-root/modules/vmci-only/vmci.mod.o
      LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.ko
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' から出ます
    make -C $PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= postbuild
    make[1]: ディレクトリ `/tmp/vmware-root/modules/vmci-only' に入ります
    make[1]: `postbuild' は更新済みです
    make[1]: ディレクトリ `/tmp/vmware-root/modules/vmci-only' から出ます
    cp -f vmci.ko ./../vmci.o
    make: ディレクトリ `/tmp/vmware-root/modules/vmci-only' から出ます
    Using 2.6.x kernel build system.
    make: ディレクトリ `/tmp/vmware-root/modules/vmhgfs-only' に入ります
    make -C /lib/modules/3.2.0-36-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= modules
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' に入ります
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/backdoorGcc32.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/bdhandler.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/backdoor.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/cpName.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/cpNameLinux.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/dentry.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/cpNameLite.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/dir.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/file.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/fsutil.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/filesystem.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/hgfsBd.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/hgfsEscape.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/hgfsUtil.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/inode.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/link.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/message.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/module.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/page.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/request.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/rpcout.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/super.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/tcp.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/stubs.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/transport.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/vmci.o
      CC [M]  /tmp/vmware-root/modules/vmhgfs-only/kernelStubsLinux.o
    /tmp/vmware-root/modules/vmhgfs-only/file.c:128:4: 警告: 互換性のないポインタ型からの初期化です [デフォルトで有効]
    /tmp/vmware-root/modules/vmhgfs-only/file.c:128:4: 警告: (‘HgfsFileFileOperations.fsync’ 用の初期化付近) [デフォルトで有効]
      LD [M]  /tmp/vmware-root/modules/vmhgfs-only/vmhgfs.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /tmp/vmware-root/modules/vmhgfs-only/vmhgfs.mod.o
      LD [M]  /tmp/vmware-root/modules/vmhgfs-only/vmhgfs.ko
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' から出ます
    make -C $PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= postbuild
    make[1]: ディレクトリ `/tmp/vmware-root/modules/vmhgfs-only' に入ります
    make[1]: `postbuild' は更新済みです
    make[1]: ディレクトリ `/tmp/vmware-root/modules/vmhgfs-only' から出ます
    cp -f vmhgfs.ko ./../vmhgfs.o
    make: ディレクトリ `/tmp/vmware-root/modules/vmhgfs-only' から出ます
    
    Using 2.6.x kernel build system.
    make: ディレクトリ `/tmp/vmware-root/modules/vmxnet-only' に入ります
    make -C /lib/modules/3.2.0-36-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= modules
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' に入ります
      CC [M]  /tmp/vmware-root/modules/vmxnet-only/vmxnet.o
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 関数 ‘vmxnet_probe_device’ 内:
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1008:7: エラー: 初期化子内で不明なフィールド ‘ndo_set_multicast_list’ が指定されています
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1008:7: 警告: 互換性のないポインタ型からの初期化です [デフォルトで有効]
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1008:7: 警告: (‘vmxnet_netdev_ops.ndo_vlan_rx_add_vid’ 用の初期化付近) [デフォルトで有効]
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 関数 ‘vmxnet_map_pkt’ 内:
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2085:32: エラー: 2 番目の ‘pci_map_page’ の引数用の互換性がない型です
    include/asm-generic/pci-dma-compat.h:43:1: 備考: expected ‘struct page *’ but argument is of type ‘struct <無名>’
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2104:26: エラー: 2 番目の ‘pci_map_page’ の引数用の互換性がない型です
    include/asm-generic/pci-dma-compat.h:43:1: 備考: expected ‘struct page *’ but argument is of type ‘struct <無名>’
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 関数 ‘vmxnet_rx_frags’ 内:
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2599:48: エラー: 型 ‘struct <無名>’ への型 ‘struct page *’ からの代入時に互換性のない型です
    make[2]: *** [/tmp/vmware-root/modules/vmxnet-only/vmxnet.o] エラー 1
    make[1]: *** [_module_/tmp/vmware-root/modules/vmxnet-only] エラー 2
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' から出ます
    make: *** [vmxnet.ko] エラー 2
    make: ディレクトリ `/tmp/vmware-root/modules/vmxnet-only' から出ます
    
    The fast network device driver (vmxnet module) is used only for our fast 
    networking interface. The rest of the software provided by VMware Tools is 
    designed to work independently of this feature.
    If you wish to have the fast network driver enabled, you can install the driver
    by running vmware-config-tools.pl again after making sure that gcc, binutils, 
    make and the kernel sources for your running kernel are installed on your 
    machine. These packages are available on your distribution's installation CD.
    [ Press Enter key to continue ] 
    
    Using 2.6.x kernel build system.
    make: ディレクトリ `/tmp/vmware-root/modules/vmblock-only' に入ります
    make -C /lib/modules/3.2.0-36-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= modules
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' に入ります
      CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/control.o
      CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/dbllnklst.o
      CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/block.o
      CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/dentry.o
      CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/file.o
      CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/filesystem.o
      CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/inode.o
      CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/module.o
      CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/stubs.o
      CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/super.o
      LD [M]  /tmp/vmware-root/modules/vmblock-only/vmblock.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /tmp/vmware-root/modules/vmblock-only/vmblock.mod.o
      LD [M]  /tmp/vmware-root/modules/vmblock-only/vmblock.ko
    make[1]: ディレクトリ `/usr/src/linux-headers-3.2.0-36-generic-pae' から出ます
    make -C $PWD SRCROOT=$PWD/. \
       MODULEBUILDDIR= postbuild
    make[1]: ディレクトリ `/tmp/vmware-root/modules/vmblock-only' に入ります
    make[1]: `postbuild' は更新済みです
    make[1]: ディレクトリ `/tmp/vmware-root/modules/vmblock-only' から出ます
    cp -f vmblock.ko ./../vmblock.o
    make: ディレクトリ `/tmp/vmware-root/modules/vmblock-only' から出ます
    
    !!! [EXPERIMENTAL] !!!
    VMware automatic kernel modules enables automatic building and installation of
    VMware kernel modules at boot they are not already present.  By selecting yes,
    you will be enabling this experimental feature.  You can always disable this
    feature by re-running vmware-config-tools.pl.
    
    Would you like to enable VMware automatic kernel modules?
    [no] 
    
    
    Disabling timer-based audio scheduling in pulseaudio.
    
    
    
    Detected X server version 1.11.3
    
    
    
    Distribution provided drivers for Xorg X server are used.
    
    Skipping X configuration because X drivers are not included.
    
    Creating a new initrd boot image for the kernel.
    update-initramfs: Generating /boot/initrd.img-3.2.0-36-generic-pae
    vmware-tools start/running
    The configuration of VMware Tools 8.8.4 build-730257 for Linux for this running
    kernel completed successfully.
    
    You must restart your X session before any mouse or graphics changes take 
    effect.
    
    You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the
    command line or by invoking "/usr/bin/vmware-toolbox" from the command line 
    during an X server session.
    
    To enable advanced X features (e.g., guest resolution fit, drag and drop, and 
    file and text copy/paste), you will need to do one (or more) of the following:
    1. Manually start /usr/bin/vmware-user
    2. Log out and log back into your desktop session; and,
    3. Restart your X session.
    
    Enjoy,
    
    --the VMware team
    
    Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device 
    /dev/sr0 ...
    /tmp/vmware-tools-distrib# 
    これで再度ログインすればOKです。
    全画面表示もできるし、クリップボードが共有できる
ホームディレクトリを英語表記に
$ LANG=C xdg-user-dirs-gtk-update
Ctrl+spaceで入力切り換えしないようにする
  1. . 上段パネルのキーボードアイコンをクリックして「設定」→「一般」タブを開いて「キーボードショートカット」の「切り替え」の右側の「...」をクリック
  2. . 「キーボードショートカット」で「Ctrl+space」を選択して削除
CompizConfig 設定マネージャのインストール
$ sudo apt-get install compizconfig-settings-manager

Chromiumのインストール
$ sudo apt-get install chromium-browser

zshのインストール
$ sudo apt-get install zsh zsh-dev
$ chsh -s /bin/zsh

tmuxのインストール
$ sudo apt-get install tmux

StarDictをインストール
$ sudo apt-get install stardict stardict-tools

Mozcのインストール
インストール
$ sudo apt-get install ibus-mozc

ibus-mozcMozcを有効化
  1. . ibusを再起動(上段パネルのキーボードアイコンをクリック→再起動)
  2. . 上段パネルのキーボードアイコンをクリックして「設定」→インプットメソッド→「インプットメソッドの選択」でMozcを選択して追加し、「上へ」で順序を上にする
  3. . ibusを再起動

Emacsのインストールと設定
    $ sudo apt-get install emacs
    $ sudo apt-get install ibus-el
    C/Migemoのインストール
    1. . SubversionとNKFをインストール
      subversion
      $ sudo apt-get install subversion

      NFK
      $ sudo apt-get install nkf
    2. . 普通にMigemoをインストール
      EmacsからMigemoを使うにはmigemo.elが必要なので、とりあえずインストール
      $ sudo apt-get install migemo

    3. . svnでC/Migemoのソースを取ってくる
      ソースコードは下記URLからダウンロードできるようになっています。(svnはいらなくなりました)
      http://code.google.com/p/cmigemo/downloads/list

    4. . ソースの修正
      そのままだとmakeしたときに
      src/wordbuf.c:118: error: ‘INT_MAX’ undeclared (first use in this function)
      src/wordbuf.c:118: error: (Each undeclared identifier is reported only once
      src/wordbuf.c:118: error: for each function it appears in.)

      っていうエラーが出るので、src/wordbuf.cの12行目あたりに
      #include 

      を追加
      編集後のwordbuf.cはこんな感じ
      /* vim:set ts=8 sts=4 sw=4 tw=0: */
      /*
       * wordbuf.h -
       *
       * Written By:  MURAOKA Taro 
       * Last Change: 20-Sep-2009.
       */
      
      #include 
      #include 
      #include 
      #include  /* これを追加 */
      #include "wordbuf.h"
      
      #define WORDLEN_DEF 64
      ・
      ・
      ・
      
      

    5. . コンパイルしてインストール
      $ cd trunk
      $ ./configure
      $ make gcc
      $ cd dict
      $ make utf-8
      $ cd ..
      $ sudo make gcc-install
      

    6. . .emacsに以下を追加
      インサイドフラッギング: Migemo(C/Migemo)のインストールで紹介されているのをそのまま使用
      (setq migemo-command "cmigemo")
      (setq migemo-options '("-q" "--emacs"))
      (setq migemo-dictionary "/usr/local/share/migemo/utf-8/migemo-dict")
      (setq migemo-user-dictionary nil)
      (setq migemo-regex-dictionary nil)
      (setq migemo-coding-system 'utf-8-unix)
      (load-library "migemo")
      (migemo-init)

      これでC-sしたときにMigemoが有効になるはず。

    Emacs利用時にXIMを無効化
    ホームディレクトリの.Xresourcesファイル(なかったら作成)に
    Emacs*useXIM: false

    という行を追加して
    $ xrdb ~/.Xresources
    を実行(またはログアウトしてXサーバを再起動)します。


VirtualBoxのインストール
  1. . /etc/apt/sources.list に下記を追記
    deb http://download.virtualbox.org/virtualbox/debian oneiric contrib
  2. . リポジトリの追加
    $ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

  3. . インストール
    $ sudo apt-get update
    $ sudo apt-get install virtualbox-4.1

  4. . VirtualBox Extension Packのインストール

  5. Download VirtualBoxからVirtualBox Extension Packをダウンロード

  6. VirtualBoxを起動し、ダウンロードしたファイルをドラッグ&ドロップしてインストール

rlwrapのインストール
$ sudo apt-get install rlwrap
xselのインストール
$ sudo apt-get install xsel

Dropboxのインストール(下記URLから)
    https://www.dropbox.com/install?os=lnx

vimのインストール
$ sudo apt-get install vim

ご覧いただき、ありがとうございました。

参考サイト様

TO-DO

随時追加していく