Why? Sometime, you will use USB stick to boot up to another testing Ubuntu distribution, but the USB stick as main disk is really slow. So, I choose to use Linux tmpfs to avoid un-necessary access.
/etc/fstab
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
星期二, 3月 12, 2013
星期五, 3月 08, 2013
Install Android JB build environment on Ubuntu precise x64
Install Oracle JDK :
go to "https://raw.github.com/flexiondotorg/oab-java6/" get oab-java.sh
chmod +x oab-java.sh
sudo ./oab-java.sh
after oab-jave.sh finished.
sudo apt-get install sun-java6-jdk
sudo update-alternatives --config java
choose "java-6-sun"
Install Android build necessary package Ubuntu 12.04 x64:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 uboot-mkimage
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
訂閱:
文章 (Atom)