background preloader

Virtual Machine

Facebook Twitter

How to Install MySQL in Ubuntu 10.04. Database management system is necessary every where whether it’s a web application or other business purpose software;in ubuntu 10.04 you may like to use MySQL,the fastest database management system for web applications.

How to Install MySQL in Ubuntu 10.04

Welcome to Apache™ Hadoop™! GettingStartedWithHadoop. Note: for the 1.0.x series of Hadoop the following articles will probably be easiest to follow: The below instructions are primarily for the 0.2x series of Hadoop.


Hadoop can be downloaded from one of the Apache download mirrors. You may also download a nightly build or check out the code from subversion and build it with Ant. Select a directory to install Hadoop under (let's say /foo/bar/hadoop-install) and untar the tarball in that directory. Running Hadoop On Ubuntu Linux (Single-Node Cluster) @ Michael G. Noll. In this tutorial I will describe the required steps for setting up a pseudo-distributed, single-node Hadoop cluster backed by the Hadoop Distributed File System, running on Ubuntu Linux.

Running Hadoop On Ubuntu Linux (Single-Node Cluster) @ Michael G. Noll

Hadoop is a framework written in Java for running applications on large clusters of commodity hardware and incorporates features similar to those of the Google File System (GFS) and of the MapReduce computing paradigm. Hadoop’s HDFS is a highly fault-tolerant distributed file system and, like Hadoop in general, designed to be deployed on low-cost hardware. It provides high throughput access to application data and is suitable for applications that have large data sets. The main goal of this tutorial is to get a simple Hadoop installation up and running so that you can play around with the software and learn more about it. This tutorial has been tested with the following software versions:

Welcome to Apache Pig! Pig Setup. Overview Requirements Unix and Windows users need the following: Hadoop 20 - Java 1.6 - Set JAVA_HOME to the root of your Java installation.

Pig Setup

Ant 1.7 - (optional, for builds) JUnit 4.5 - (optional, for unit tests) Windows users need to install Cygwin and the Perl package: Run Modes Pig has two run modes or exectypes: Pig Tutorial. Overview The Pig tutorial shows you how to run two Pig scripts in local mode and mapreduce mode.

Pig Tutorial

Local Mode: To run the scripts in local mode, no Hadoop or HDFS installation is required. All files are installed and run from your local host and file system. Installing and Running Pig - Programming Pig. Installing Ubuntu inside Windows using VirtualBox. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Installing Ubuntu inside Windows using VirtualBox

The screenshots in this tutorial use Ubuntu 12.04, but the same principles apply also to Ubuntu 12.10, 11.10, 10.04, and any future version of Ubuntu. Actually, you can install pretty much any Linux distribution this way. Introduction VirtualBox allows you to run an entire operating system inside another operating system. Please be aware that you should have a minimum of 512 MB of RAM. 1 GB of RAM or more is recommended.

Comparison to Dual-Boot Many websites (including the one you're reading) have tutorials on setting up dual-boots between Windows and Ubuntu. Advantages of virtual installation The size of the installation doesn't have to be predetermined. Follow these instructions to get a Ubuntu disk image (.iso file). After you launch VirtualBox from the Windows Start menu, click on New to create a new virtual machine. How to Download & Install Java (JRE/ JDK) in Ubuntu 11.04 (Natty Narwhal) via PPA (Command Line) » VirtualBox: access Windows-host shared folders from Ubuntu-guest.

This is the scenario that you run Windows as your host operating system and Ubuntu in a VirtualBox, and that you want to access a specific Windows folder from Ubuntu.

» VirtualBox: access Windows-host shared folders from Ubuntu-guest

First you have to make sure that have install Guest Additions. From the VirtualBox’s menu go to Devices → Install Guest Additions… This will mount a virtual CD on your /media/cdrom. Normally this folder’s window will show up. As root run the program When the program completes reboot your VirtualBox. With Guest Additions installed you may now go ahead and define the shared folder(s). When done with you shared folder(s) specification, you may now go ahead and actually mount these folders from Ubuntu. . # sudo mkdir /media/windows-share. Installing Ubuntu. Login as Root in Ubuntu 11.04 (Natty Narwhal) For new users who just starting with Ubuntu and wanting to know about the root account, here’s a brief post that gives you a little insight about the root account and how / why to use it.

Login as Root in Ubuntu 11.04 (Natty Narwhal)

You see, every Ubuntu edition comes with a root account. The root account is also known as the administrator account. Think of the root account as an account with god-like rights. It can delete any file, any folder and make any change to the system. The power of the root account is limitless. Because the root account is so powerful, it is automatically created with a password value with no possible encrypted match on the system, which makes it unusable to sign on with. The sudo command allows authorized users to temporary elevate their privileges using their own password without knowing the root password or using the root account.

If you still want to enable and logon with the root account for other unknown reasons, simply give it a password. Sudo passwd. Running Apache Ant. Command Line If you've installed Apache Ant as described in the Installing Ant section, running Ant from the command-line is simple: just type ant. When no arguments are specified, Ant looks for a build.xml file in the current directory and, if found, uses that file as the build file and runs the target specified in the default attribute of the <project> tag. To make Ant use a build file other than build.xml, use the command-line option , where file is the name of the build file you want to use (or a directory containing a build.xml file). If you use the option, Ant will search for a build file first in the current directory, then in the parent directory, and so on, until either a build file is found or the root of the filesystem has been reached.

Apache ANT Configuration in Ubuntu « D.Lak Says. I am using Ubuntu Linux 9.04.

Apache ANT Configuration in Ubuntu « D.Lak Says

JDK is located in “/usr/lib/jvm/java-6-sun” and ANT is located in “/usr/share/ant” in my machine. Following instruction shows instruction for configuration. If you don’t know JAVA_HOME, you can retrieve with command “sudo update-alternatives –config java” as following. xxx@xxx-desktop:~$ sudo update-alternatives --config java There is only 1 program which provides java (/usr/lib/jvm/java-6-sun/jre/bin/java). Installing ANT on Ubuntu « Rocksolutions's Blog.