http://askubuntu.com/questions/472412/how-do-i-upgrade-docker
# add the new gpg key
$ wget -qO- https://apt.dockerproject.org/gpg | sudo apt-key add -
# edit your /etc/apt/sources.list.d/docker.list
$ vim /etc/apt/sources.list.d/docker.list
# remove the contents and replace with the following depending on your os and version:
# Ubuntu Trusty
deb https://apt.dockerproject.org/repo ubuntu-trusty main
$ sudo apt-get install docker-engine
Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts
Friday, August 07, 2015
Thursday, August 06, 2015
Friday, September 05, 2014
Monday, June 09, 2014
Hadoop 2.x on ubuntu
http://codesfusion.blogspot.com/2013/10/setup-hadoop-2x-220-on-ubuntu.html
http://codesfusion.blogspot.com/2013/11/hadoop-2x-core-hdfs-and-yarn-components.html
http://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/ClusterSetup.html#Web_Interfaces
Almost the same thing as 1.x, but need to set some environment variables... use start-all.sh/stop-all.sh is fine
# run grep example...
http://codesfusion.blogspot.com/2013/11/hadoop-2x-core-hdfs-and-yarn-components.html
http://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/ClusterSetup.html#Web_Interfaces
Almost the same thing as 1.x, but need to set some environment variables... use start-all.sh/stop-all.sh is fine
$cd ~
$vi .bashrc
paste following to the end of the file
#Hadoop variables
export JAVA_HOME=/usr/lib/jvm/jdk/
export HADOOP_INSTALL=/usr/local/hadoop
export PATH=$PATH:$HADOOP_INSTALL/bin
export PATH=$PATH:$HADOOP_INSTALL/sbin
export HADOOP_MAPRED_HOME=$HADOOP_INSTALL
export HADOOP_COMMON_HOME=$HADOOP_INSTALL
export HADOOP_HDFS_HOME=$HADOOP_INSTALL
export YARN_HOME=$HADOOP_INSTALL
###end of paste
$ cd /usr/local/hadoop/etc/hadoop
$ vi hadoop-env.sh
#modify JAVA_HOME
export JAVA_HOME=/usr/lib/jvm/jdk/
# run grep example...
Saturday, June 07, 2014
Hadoop 1.x on Ubuntu
http://hadoop.apache.org/docs/current1/single_node_setup.html#PseudoDistributed
http://wiki.apache.org/hadoop/QuickStart
http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/
1. ssh-keygen, ssh-copy-id
1. install openjdk-7-jdk
2. conf/hadoop-env.sh , JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386
3. conf/core-site.xml, conf/hdfs-site.xml, conf/mapred-site.xml
4. bin/hadoop namenode -format
5. bin/start-all.sh
6. run grep example
7. bin/stop-all.sh
[Note] tested with hadoop-1.2.1, make sure the conf setting is for version 1
http://wiki.apache.org/hadoop/QuickStart
http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/
1. ssh-keygen, ssh-copy-id
1. install openjdk-7-jdk
2. conf/hadoop-env.sh , JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386
3. conf/core-site.xml, conf/hdfs-site.xml, conf/mapred-site.xml
4. bin/hadoop namenode -format
5. bin/start-all.sh
6. run grep example
7. bin/stop-all.sh
[Note] tested with hadoop-1.2.1, make sure the conf setting is for version 1
Friday, June 06, 2014
HBASE on ubuntu
https://hbase.apache.org/book/quickstart.html
1. install openjdk , JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386 (conf/hbase-env.sh)
2. bin/start-hbase.sh
3. bin/hbase shell
1. install openjdk , JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386 (conf/hbase-env.sh)
2. bin/start-hbase.sh
3. bin/hbase shell
Wednesday, February 05, 2014
Thursday, January 16, 2014
YouCompleteMe (YCM) for vim
https://github.com/Valloric/YouCompleteMe#ubuntu-linux-x64-super-quick-installation
1. Install Vundel
2. add Bundle 'Valloric/YouCompleteMe' to .vimrc and let use Vundel to install it
3. goto YouCompleteMe folder and ./install.sh
[Note] test on ubuntu 13.10
1. Install Vundel
2. add Bundle 'Valloric/YouCompleteMe' to .vimrc and let use Vundel to install it
3. goto YouCompleteMe folder and ./install.sh
[Note] test on ubuntu 13.10
Wednesday, January 08, 2014
Ubuntu touch on Nexus 4
https://wiki.ubuntu.com/Touch/Install#Manual_Download_.26_Installation
http://askubuntu.com/questions/316479/what-are-the-3-new-img-files-for-installing-ubuntu-touch-13-10-saucy
http://askubuntu.com/questions/316479/what-are-the-3-new-img-files-for-installing-ubuntu-touch-13-10-saucy
1. adb reboot fastboot (or power on + volup + voldown) 2. fastboot flash recovery saucy-preinstalled-recovery-armel+mako.img 3. fastboot flash boot saucy-preinstalled-boot-armhf+mako.img 4. fastboot flash system saucy-preinstalled-system-armel+mako.img
5. boot to recovery
6. Install from zip, saucy-preinstalled-touch-armel+mako.zip
7. boot to recovery
8. Install from zip, saucy-preinstalled-touch-armhf.zip
9. reboot
[Note] The autodeploy.zip seems not work for me, bcz I can not adb when recovery mode, so choose zip by myself
Thursday, January 02, 2014
Thursday, November 07, 2013
Wednesday, January 30, 2013
Share Ubuntu folder to windows (samba)
https://help.ubuntu.com/10.04/internet/C/networking-shares.html
Still need to set the samba password manually:
Still need to set the samba password manually:
sudo smbpasswd -a username
Tuesday, January 29, 2013
Friday, January 11, 2013
Ubuntu sudoer
http://askubuntu.com/questions/7477/how-can-i-add-a-new-user-as-sudoer-using-the-command-line
# adduser xxx
# adduser xxx sudo
Tuesday, August 14, 2012
Ubuntu on VirtualBox
http://www.psychocats.net/ubuntu/virtualbox/
The next thing to do to make the (currently blank) virtual hard drive useful is to add the downloaded Ubuntu disk image (the .iso) boot on your virtual machine. Click on Settings and Storage. Then, under CD/DVD Device, next to Empty, you'll see a little folder icon. Click that.
Monday, October 11, 2010
Saturday, October 09, 2010
Ubuntu : sticky note
Thursday, August 19, 2010
uTouch - Multitouch on Ubuntu
http://www.ehomeupgrade.com/2010/08/19/canonical-announces-the-release-of-utouch-for-ubuntu-os/
Monday, June 21, 2010
Ubuntu : Compile kernel
http://linuxtweaking.blogspot.com/2010/05/how-to-compile-kernel-on-ubuntu-1004.html
Alternative way...
1. cp -vi /boot/config-`uname -r` .config
2. make menuconfig
3. export CONCURRENCY_LEVEL=3
4. make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-some-string-here kernel-image kernel-headers
5. sudo update-initramfs -c -k VERSION
6. sudo vi /boot/grub/grub.cfg
Alternative way...
1. cp -vi /boot/config-`uname -r` .config
2. make menuconfig
3. export CONCURRENCY_LEVEL=3
4. make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-some-string-here kernel-image kernel-headers
5. sudo update-initramfs -c -k VERSION
6. sudo vi /boot/grub/grub.cfg
Wednesday, June 02, 2010
Ubuntu : System cleanup
http://techgurulive.com/2009/04/30/how-to-clean-up-unwanted-files-in-ubuntu/
$ sudo deborphan | xargs sudo apt-get -y remove –purge
$ sudo deborphan | xargs sudo apt-get -y remove –purge
Subscribe to:
Posts (Atom)












