Posts

Install Latest Hadoop 2.4.1 on Ubuntu 14.04

This post is about Hadoop 2.4.1 (latest stable version) Single Node Cluster Installation on Ubuntu 14.04. The Hadoop Single Node Cluster Installation method are suitable only for beginners practicing. The Hadoop Multi Node Cluster is more suitable for production environment Since Hadoop is meant for distributed environment. The Multi Node Cluster Hadoop Installation steps are almost as same as Single Node Cluster Hadoop Installation with few configuration changes. My next post will cover the Multi Node Cluster Hadoop Installation. The Hadoop installation requires the pre-require steps like installing Java & ssh, creating dedicated Linux user account, disabling IPv6, generating key-gen for user account. This pre-require steps requires for Hadoop node(s) communication by Secure Shell Protocol(ssh). Disable IPv6 requires since Hadoop doesn't support for IPv6. Step 1: Install Oracle Java JDK7 on Ubuntu . Step 2: Install SSH-Server To install Open ssh server, execute th...

WIFI hotspot on Windows

Image
This post is about creating our own WIFI hotspot on Windows Machine with out any software. Only pre-requiest for creating WIFI hotspot is that our Windows machine should have incoming Internet via Ethernet or WIFI dongles,etc  and a WIFI Device to share as hotspot. We can create our WIFI hotspot with simple windows commands by following the below steps: Open control Panel , Go to O pen Network and Sharing Center and click on Change Adapter Settings. Go to S haring Tab of the Ethernet properties and Enable the check-box of  Allow other network users to connect through this computer's Internet connection . Open notepad,type the following commands and save as batch file with filename as "hotspot-start.bat". netsh wlan set hostednetwork mode=allow ssid=wifiname key=wifipassword netsh wlan start hostednetwork Open notepad, type the following commands and save as batch file with filename as "hotspot-stop.bat". netsh wlan stop hostednetwork Now we ca...

Hadoop

Image
This post is about basic concepts of Big Data and Apache Hadoop framework. It is essential to know about Big Data for today's IT industry since Big Data technologies are getting more popular and powerful now a days. Big Data: Big Data is nothing but storing or processing LARGE quantity of data sets. Data can be Structured Data (ex: RDBMS) Semi Structured Data (ex: XML Files) Unstructured Data (ex:Flat files) Big data overcomes the challenges of traditional databases such as Volume, Velocity, Variety, Complex Data sets. 95% of Today's Data are created in the last three years so the state of data is changed a lot. Popular Companies such as Amazon, Google, Facebook, Twitter, Yahoo have realized the power of Big data and doing R&D on Big Data. Apache Hadoop: Apache Hadoop is an open source Big Data framework for distributed storage and distributed processing for very large data sets on computer clusters. Apache Hadoop is a Master-Slave Shared Nothing Architectur...

Preparing for Pirate Free

This post is about how to make software piracy free world. I really want to write about this post is to make awareness on Software Piracy since it is illegal, that most people are unaware about it What is Software Piracy? Illegal usage, copy, distribute software without ownership or legal rights. So If we are using a paid software product without purchasing it means we are using it Illegally, the good thing is it does not hurt any person directly. There is no such a strict rules on pirated software usage on most of the countries. Most of us are still using pirated software even without aware that it is illegal. There are Three options in our hand: Let us continue with Microsoft Windows by purchasing licence from Online for cheap price Once they are ready to buy software and gonna spend huge amount, they can consider Apples Mac Desktop or Laptop. Best way is Linux obviously. Why should we move towards Linux? Now Linux has evolved a lot. It is not how, what we kno...

[Solution] WIFI Driver problem for HP 15-n011tu

Image
I have purchased an HP Pavilion 15-n011tu laptop recently with the operating system Ubuntu 12.04. The laptop is completely fine when I purchase,but after I upgraded to Ubuntu 14.04 version, only WIFI has stoped working. Even we can switch on or off the WIFI. This is a very common problem for all those who purchase HP laptop with Ubuntu OS, since HP is not supporting drivers for any Linux destro. Solution 1: Solution for this problem is we can purchase Windows 7 or 8, since HP is providing driver support for Windows 8 (both 32 & 64 bit) and Windows 7(only 64 bit). Currently HP Windows drivers are available at the following URL address http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?cc=us&lc=en&product=5440120 Solution 2: But purchasing Windows OS is costly. Now a days, It is trend to migrating Windows to Linux for developers. In that case, Without WIFI or Internet any laptop is almost waste. Please follow the following steps for Ubuntu Operating System. St...

Install Spring Tool Suite on Ubuntu

This post is about installing Spring Tool Suite (STS) on Ubuntu. The Spring Tool Suite is an Eclipse-based development environment that is customized for developing Spring applications. Step 1: Download the latest Spring Tool Suite for Linux from STS official website: http://spring.io/tools/sts/all  Step 2: Extract into any folder which you prefer. My extracted Spring Tool Suite locations is /home/harishshan/springsource Step 3: Create the Menu icon for quick access sudo nano /usr/share/applications/STS.desktop Step 4: Enter the following content [Desktop Entry] Name=SpringSource Tool Suite Comment=SpringSource Tool Suite Exec=/home/harishshan/springsource/sts-3.4.0-RELEASE/STS Icon=/home/harishshan/springsource/sts-3.4.0-RELEASE/icon.xpm StartupNotify=true Terminal=false Type=Application Categories=Development;IDE;Java; Step 5: Now you can check from Quick Menu by typing " Spring "

Database Replication Master Slave

This post is about how to perform to Database Replication Slave to Master. I have used the  Green Font to represent  Master Server  and  Red Font to represent  Slave Server. Step 1:CHANGING MySQL CONFIGURATION  We need to add some extra configuration properties in the my.ini/my.cnf file. This step is must to perform replication.The following sub steps will describe in detail. Open my.ini file for windows or  my.cnf file for Linux Search for [mysqld] Add the following properties under [mysqld] section server-id=1 log-bin=mysql-bin save the my.ini file and Restart the mysql services To check the result execute the following command in mysql console  show binary logs; If it shows logs, Binary logging has been initiated and we can configure mirroring   Perform the same steps on slave database. Step 2: CRATE USER AND GRANT RELICATION AND PREVILEGES Create user create user 'replication'@'%' identified by 'PASSWORD'; Grant r...