Posts

Showing posts from August, 2018

Linux by Ripudaman Singh

Image
Customize the Bash [Linux] Your terminal window generally has username@hostname but you can change that we will discuss here how to change it.   link for details: Read-1 Read-2 Read-3 Let's make the Example setup as in above picture with live time cp ~/.bashrc ~/.bashrc.bak  In case of a problem it will help to get back the old file  nano ~/.bashrc Add the follwing line at the Last PS1="\e[0;35m\w\e[m\n\@ \e[0;35m$\e[m " close the nano by ctrl X, Y enter. making Changes active by source ~/.bashrc To customize in your own way see the above links. Get the localhost at some other name [Linux] Open your terminal and type  sudo nano /etc/hosts map your name with localhost address like 127.0.0.1       localhost 127.0.1.1       ripudaman # The following lines are desirable for IPv6 capable hosts ::1 ctrl X, y enter All done you can access the localhost at your describe name for me its ripudaman (helpful when making twitter app which runs on localhost) Getting port is al

Hadoop

Image
Hadoop is a framework for the analysis of big data. Hadoop have 2 components. 1) hdfs . Hadoop distributed file system. 2) mapreduce . (Processing big data) Hdfs.. It is basically a file storing system. Used to store big file in the form of small cluster. Master slave process is followed. If we are using hdfs for small file storing then it is not worthy. In hdfs suppose a data is of 1TB then it store in different slave having data 128mb. Also the replica of data also take place in Hadoop so the the loss of data can be reduce. Mapreduce ... It's is process of analysis of data stored in hdfs. Following steps are involved for mapreduce ( * at basic level) 1) splitting  . First of all big data values is splits into small small parts . suppose I have a data of 3 line then it split the data in 3 parts each part have 9ne line 2) mapping. Then the mapping of data take place . It is a process of making keys and values. Suppose I have a data like car car bus then after mappi

GIT tool for GITHUB/

Image
Get straight to the topic: --> Github is a platform where we can create your rapo and work in a group efficiently. 1)  create an account at the GitHub 2)  create a rapo (needs simple form filling skills or refer youtube) 3)  (for Ubuntu) sudo apt-get install git( a tool for interacting, posting, getting data, at GitHub ) 4)  mkdir <directory name> 5)  cd <directory name> 6) git init 7) git config -- user.name "   " 9) git config -- user.email"   " 10) create a file and save it 11)  add the file 12)  commit the file 13) push the file to the server 14) merge the branch/ pull data change/ continue work commands of GIT: Push changes to remote repository (remembered branch) git push Delete a remote branch git push origin --delete [branch name] Update local repository to the newest commit git pull Pull changes from remote repository git pull origin [branch nam