How Install Hadoop and Hive in Ubuntu Linux in VM box? - linux

I am using Windows 7 OS, I would like to learn Hive and Hadoop. So I installed Ubuntu 13.04 version in My VM Box. When i select download the Hadoop and Hive The below URL having multiple files to download Could you please help me out to install Hive in Ubuntu box else Is there any other steps do you have any steps
http://mirror.tcpdiag.net/apache/hadoop/common/hadoop-1.1.2/
hadoop-1.1.2-1.i386.rpm
hadoop-1.1.2-1.i386.rpm.mds
hadoop-1.1.2-1.x86_64.rpm
hadoop-1.1.2-1.x86_64.rpm.mds
hadoop-1.1.2-bin.tar.gz
hadoop-1.1.2-bin.tar.gz.mds
hadoop-1.1.2.tar.gz
hadoop-1.1.2.tar.gz.mds
hadoop_1.1.2-1_i386.deb
hadoop_1.1.2-1_i386.deb.mds
hadoop_1.1.2-1_x86_64.deb
hadoop_1.1.2-1_x86_64.deb.mds

Since you are new to both Hadoop and Hive, you are better off going ahead with their .tar.gz archives, IMHO. In case things don't go smooth you don't have to do the entire uninstall and reinstall stuff again and again. Just download hadoop-1.1.2.tar.gz, unzip it, keep the unzipped folder at some convenient location and proceed with the configuration. If you want some help regarding configuration you can visit this post. I have tried to explain the complete procedure with all the details.
Configuring Hive is quite straightforward. Download the .tar.gz file. unpack it just like you did with Hadoop. Then follow the steps shown here.

i386: Compiled for a 32-bit architecture
x86_64: Compiled for a 64-bit architecture
.rpm: Red Hat Package Manager file
.deb: Debian Package Manager file
.tar.gz: GZipped archive of the source files
bin.tar.gz: GZipped archive of the compiled source files
.mds: Checksum file
A Linux Package Manager is (sort of) like an installer in Windows. It automatically collects the necessary dependencies. If you download the source files you have to link (and/or compile) all the dependencies yourself.
There you're on Ubuntu, which is a Debian Linux distribution, and you don't seem to have much experience in a Linux environment I would recommend you to download the .deb file for your architecture. Ubuntu will automatically launch the package manager when you launch the .deb file if I remember correctly.

1 .Install Hadoop as single node cluster setup.
2 . Install hive after that.Hive requires Hadoop preinstalled.
Hadoop requires Java 1.6 at least and for single node setup you require SSH installed on your machine.rest of the steps are easy.

goto this link and Download the
http://mirror.tcpdiag.net/apache/hadoop/common/stable/
hadoop-1.1.2.tar.gz file (59M) from link and Install it...same as if you want install hive then go to offical site and download the stable version from it...

Related

Downloading debian Neo4j version from Windows

I'm trying to download the Debian Neo4j version from a Window 7 machine. I'm not managing to find the URL in order to download the package/file . I have installed the GOW software for some linux commands.
Any assistance would be appreciated.
Update
I found this link - https://neo4j.com/download/other-releases/ . Know I need to figure out what is the best file to download in order to install it on an Ubuntu Machine
You've got two options :
If you've got access to the package repository (from your Ubuntu machine), follow the information in https://neo4j.com/docs/operations-manual/current/installation/linux/debian/ to install it as a package. That's the best option which also provides start/stop scripts, a user that runs Neo4j (neo4j) and also allows for easier upgrades.
If you can not reach the internet from your Ubuntu machine (as could be deduced from the way you're trying to do it, the zip (or tar.gz for Linux) download is the way to go. You can find that at http://info.neo4j.com/download-thanks.html?edition=community&release=3.2.3&flavour=unix
Hope this helps.
Regards,
Tom

Install Oracle Database Express Edition 11g Release 2 in Arch Linux

Newbie here,Kindly bear with me.
I would like to install Oracle Database Express Edition 11g Release 2 in Arch Linux.
I've downloaded the oracle-xe-11.2.0-1.0.x86_64.rpm.zip then unzipped it to /home/user/Downloads/Disk1. In that folder there is oracle-xe-11.2.0-1.0.x86_64.rpm file.
As per this Oracle Installation manual in Arch Linux there are several method. I would like to follow Install method 2 - AUR method as I guess its bit easy than other(Actually I don't understand other method much and have confusions).
But when I try to install oracle from AUR, I found this problem: error: target not found: oracle. I think that package is no more available.
How can I proceed futher? As a learner it would be helpful for me if steps are bit explanatory.
AUR package is named "oracle-xe", not "oracle".
You should download snapshot from
https://aur.archlinux.org/packages/oracle-xe/
and uncompress it. Then step into oracle-xe directory and type
makepkg -s
But I vote for installing qemu and centos minimal, then Oracle inside it. Oracle is so painful to install even in supported distribs.
Also you will pollute your Arch with unnecessary symlinks and applications.

Is it possible to install JBoss Fuse 6.3 on Linux (Ubuntu 16.04.1 LTS)?

I have gone through the JBoss FUSE guide in official guide but I could not see any details regarding capabilities of install FUSE in Linux server. Have any one try this before? I have not seen any document regarding this, Appropriate if some experienced person provide feedback about this.
Is it possible to install the FUSE in Linux server for example Ubuntu 16.04.1 LTS ? If it's possible is there any reference document guideline ?
Yes it's possible to run the FUSE on linux without any issue. Only thing is it is required to install JDK and its better to have maven installed in your PC as well.(Note that path variable needed to be updated after install JDK and maven). If you haven't install please go through following guide lines.
01) Install JDK in linux
02) Install maven in linux
After you installed those two then you need to download the relevant zip file from JBoss Fuse official site. Then extract the zip file in to desired location. (This location can be any place you want to install in folder structure)
Open the command line and go to bin folder on extracted folder.
then Type following command and press enter
./fuse
As show on below image
Then you will see similar interface to below(Usual fuse loading interface ).
Since there is not much dificulties on this I don't think there will be any documentation regarding this. I believe this steps will help you to setup JBoss Fuse in linux environment.

Installing Hive and sqoop on Windows (Cygwin)

Can someone help me providing the steps to install Hive and Sqoop on Cygwin. I already installed Hadoop-0.20.2 and Hbase latest stable-0.94.1 on Cygwin and working good.
Typically a Hadoop distribution includes both. Inspect the directories containing the Hadoop binaries and see if you discover the bin files. For example, sqoop is simply named sqoop and is executable.

Installing Recent Release of JDK Using Cygwin?

Can somebody tell me how to do this? Or, point me to a good link?
I want to install Jmeter but "./jmeter" tells me that:
Error: no server' JVM atC:\Program
Files\Java\jre1.6.0\bin\server\jvm.dll'.
So, I need to get the server JVM up and running.
I have been attempting to download and install the JDK from
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html
And got a corrupted file error when I tried to install:
jdk-6u25-linux-ia64-rpm.bin
Should I be doing this via wget or apt-cyg? Or, how do i determine which installation
package I should be downloading from the oracle/sun downloads page?
Thanks in advance.
You are on Windows so you should try the Windows x86 version unless there is a particular reason why you want to do that with Cygwin. Or try this:
Copy 'server' folder from the JDK's JRE's bin folder (example: C:\Program Files\Java\jdk1.6.0\jre\bin\server)
Paste the 'server' folder to JRE's bin folder (example: C:\Program Files\Java\jre1.6.0\bin)
Cygwin aims for Linux source compatibility, but it does not provide Linux binary compatibility. This means that programs have to be built specifically for Cygwin and that Linux binaries such as the linux-ia64 JVM mentioned here will not run on Cygwin.
Perhaps it is possible to build the OpenJDK JVM for Cygwin, but it doesn't ship with Cygwin. The Cygwin Ports repository contains a package for the lightweight JamVM.
But in any case, JMeter was looking for the native Windows version of the JVM, so you probably just want to install that, as Jano already suggested.

Resources