Sunday, October 21, 2012

Install Android Development Tools on Ubuntu 12.10 (Quantal Quetzal)

  1. First thing first. Make sure Java Development Kit (JDK) install. Go to Terminal and type 'Java -version' to check. You should see the following:
    java version "1.7.0_07"
    OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.3.2a-1ubuntu1)
    OpenJDK Server VM (build 23.2-b09, mixed mode)
  2. If Java Development Kit is not installed, you can install it from Ubuntu Software Center. Click on Ubuntu Software Center icon from left side bar and search for Java. Here, I selected 'OpenJava JDK 7 runtime'
  3. Go to http://www.eclipse.org/downloads/ to download Eclipse Classic 4.2.1 (Juno)
  4. Go to your downloads folder and extract it. Move 'eclipse' folder to your home directory.
  5. Launch Eclipse 4.2.1 (Juno) from 'eclipse' folder.
  6. Install Android Developer Tools (ADT) plugin for Eclipse. Click on Help -> Install New Software and add the URL 'https://dl-ssl.google.com/android/eclipse/' on the input text box next to 'Work with' and click the 'Add' button.
  7. Download and install Android SDK from Eclipse 4.2.1. Click on Window -> Android SDK Manager. If Android SDK is not install, Eclipse will display a windows like this:



    Otherwise, select the existing Android SDK and specify location if it already installed. 
  8. Go to Windows -> AVD Manager to make at least one Android Virtual Device (AVD). Here is the screen shot for AVD using Galaxy Nexus skin.
References: https://help.ubuntu.com/community/Java http://developer.android.com/sdk/installing/installing-adt.html

Thursday, October 18, 2012

How to upgrade to Ubuntu 12.10 (Quantal Quetzal) from Ubuntu 12.04 LTS (Precise Pangolin)

The latest version of a great Linux distribution, Ubuntu 12.10 code name Quantal Quetzal, release today. You should receive the notification of this new release on Update Manager. If not:

  1. Go to Settings on Update Manager and change 'Notify me of a new Ubuntu version' to 'For any new version''
  2. Check again. You will see a notification 'New Ubuntu release 12.10 is available'. 
  3. Click the 'Upgrade' button to upgrade to Ubuntu 12.10


Sunday, October 14, 2012

Manual Install WordPress on GoDaddy 2G Web Hosting Plan

You may got this message "This application is NOT compatible with any of your hosting plans" when attempt to install WordPress on GoDaddy 2G Web Hosting. If you did not want to upgrade to 4G plan, you can manual install a latest version of WordPress by yourself.
  1. Make sure the setting for PHP version is 5.3 in Programming Languages section.
  2. Create MySQL database for WordPress from your GoDaddy Web Hosting control panel. Here the database name is same as user.
  3. Download the latest stable release of WordPress (Version 3.4.2) here.
  4. Unzip the archive, modify wp-config-sample.php as instructed in Famous 5-Minutes Install page.
  5. Upload to GoDaddy web hosting.
If you experience the Http error 500, check your wp-config.php to make sure the database user name has no @ sign (myusername not myusername@127.0.0.1 for example)