Friday, May 27, 2016

Launching Android Studio on Ubuntu

/home/kuman$ cd Downloads/android-studio
/home/kuman/Downloads/android-studio$ cd bin
/home/_/android-studio/bin$ ls
appletviewer.policy   lldb      
fsnotifier         log.xml             studio.vmoptions
fsnotifier64  studio64.vmoptions
fsnotifier-arm    studio.png
/home/_/android-studio/bin$ ./

Simple Test Run Vagrant

/home/kuman/vagrant/server1$ ll
total 20
drwxr-x--- 3 kuman eng 4096 Apr 26 10:21 ./
drwxr-x--- 4 kuman eng 4096 Apr 26 11:03 ../
drwxr-x--- 3 kuman eng 4096 Apr 26 10:21 .vagrant/
-rw-r----- 1 kuman eng 4628 Apr 26 10:21 Vagrantfile

/home/kuman/vagrant/server1$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: A newer version of the box 'ubuntu/trusty64' is available! You currently
==> default: have version '20160406.0.0'. The latest is version '20160519.0.1'. Run
==> default: `vagrant box update` to update.
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address:
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default: Guest Additions Version: 4.3.36
    default: VirtualBox Version: 5.0
==> default: Mounting shared folders...
    default: /vagrant => /usr/local/google/home/somphol/vagrant/server1
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.

/home/kuman/vagrant/server1$ vagrant ssh
Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-85-generic x86_64)

 * Documentation:

  System information as of Fri May 27 10:23:49 UTC 2016

  System load:  0.47              Processes:           95
  Usage of /:   3.5% of 39.34GB   Users logged in:     0
  Memory usage: 18%               IP address for eth0:
  Swap usage:   0%

  Graph this data and manage this system at:

vagrant@vagrant-ubuntu-trusty-64:~$ exit
Connection to closed.
/home/kuman/vagrant/server1$ vagrant halt
==> default: Attempting graceful shutdown of VM...

/home/kuman/vagrant/server1$ vagrant box update
==> default: Checking for updates to 'ubuntu/trusty64'
    default: Latest installed version: 20160406.0.0
    default: Version constraints: 
    default: Provider: virtualbox
==> default: Updating 'ubuntu/trusty64' with provider 'virtualbox' from version
==> default: '20160406.0.0' to '20160519.0.1'...
==> default: Loading metadata for box ''
==> default: Adding box 'ubuntu/trusty64' (v20160519.0.1) for provider: virtualbox
    default: Downloading:
==> default: Successfully added box 'ubuntu/trusty64' (v20160519.0.1) for 'virtualbox'!

Running Raspberry Pi Emulator on Ubuntu

/home/kuman/raspberry$ ll
total 3941932
drwxr-x---  3 kuman eng       4096 Apr 26 11:41 ./
drwxr-xr-x 85 kuman eng      12288 May 27 19:43 ../
-rw-r--r--  1 kuman eng 4033871872 Apr 27 09:44 2016-03-18-raspbian-jessie.img
-rwxr-x---  1 kuman eng    2635672 Apr 26 11:26 kernel-qemu-4.1.13-jessie*
drwxr-x---  4 kuman eng       4096 Apr 26 11:25 qemu-rpi-kernel/
-rwxr-x---  1 kuman eng        192 Apr 26 11:41*
/home/kuman/raspberry$ cat

qemu-system-arm -kernel kernel-qemu-4.1.13-jessie -cpu arm1176 -m 256 -M versatilepb -serial stdio -append "root=/dev/sda2 rootfstype=ext4 rw" -hda 2016-03-18-raspbian-jessie.img

COOLC VM - Getting Started with the VM


Running QtSpim