Skip to main content

Posts

Multi Node Apache Kafka 0.9 in Linux

Manually Deploying Apache Kafka Please Install Java version 8 before proceeding the Kafka installation. 1) Edit the  /etc/hostname in each  node.         $  vi /etc/hostname                    kafka1 or kafka2 or kafka3 2) Check hostname.         $ hostname 3)  Confirm everything went right.      $ sudo hostname -F /etc/hostname 4) Now edit /etc/hosts to point one node to other nodes and do the same in each node.      $ nano /etc/hosts          127.0.0.1       localhost 127.0.1.1       ubuntu <IP of node1 >   kafka1 <IP of node2>    kafka2 <IP of node3>    kafka3 # The following lines are desirable for IPv6 capable hosts ::1     localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 5) Reboot each node. 6) Download Scala and untar it in all nodes.     Add following below command in .bashrc $ export SCALA_HOME=/root/scala-2.11.7 $ export PATH=$PATH:$SCALA_HOME/
Recent posts

TMUX-Terminal multiplexer for Linux

TMUX Tmux is a terminal multiplexer , it creates multiple terminals on the same tab enable you to see multiple running objects on the same tab when tmux is started it creates a new session with the single window and displays it on the terminal screen. A session is a collection of terminals on single screen You can install tmux: Method 1 $ sudo apt-get install tmux  Method 2 $ wget https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz $ tar xzvf libevent-2.1.8-stable.tar.gz $ cd libevent-2.1.8-stable $ sudo ./configure --prefix=/usr/local && make $ wget https://github.com/tmux/tmux/releases/download/2.3/tmux-2.3.tar.gz $ tar xzvf tmux-2.3.tar.gz $ cd tmux-2.3 $ LDFLAGS="-L/usr/local/lib -Wl, -rpath=/usr/local/lib" && ./configure --prefix=/usr/local $ sudo make && sudo make install $ export PATH=$PATH:/usr/local/bin After the installation is finished, then type tm

StandAlone Apache Storm Installation in Ubuntu 14.04 LTS

Deploying Apache Storm  1) If Java 7 is not present, please install it. 2) Zookeeper Installation Download zookeeper-3.4.6 from Apache site       $ tar -xvf zookeeper-3.4.6.tar.gz       $ cd zookeeper-3.4.6/       $ cp conf/zoo_sample.cfg conf/zoo.cfg       $ bin/zkServer.sh start 3) Storm Cluster Installation Download the storm tarball from official Apache Mirror.  Untar it.       $ tar xzvf apache-storm-0.9.2-incubating.tar.gz Move to new directory.       $ sudo cp -R apache-storm-0.9.2-incubating /usr/lib/ Go to /usr/lib/apache-storm-0.9.2-incubating/ and configure storm.yaml present in conf folder, add the followuing line, this folder must have write permissions too. storm.zookeeper.servers:     - "localhost" storm.zookeeper.port: 2181 nimbus.host: "localhost" storm.local.dir: "/var/stormtmp"      java.library.path: "/usr/lib/jvm/java-7-openjdk-amd64" supervisor.slots.ports:

HBase Fully Distributed Installation

Deploying a Fully-Distributed HBase Cluster For the purpose of clarity and ease of expression, I'll be assuming that we are setting up a cluster of 3 nodes with IP Addresses.     192.168.0.1     192.168.0.2     192.168.0.3 where 192.168.0.1 would be the master and 192.168.0.2,3 would be the slaves/region servers. HBase by default manages a ZooKeeper "cluster" for you. It will start and stop the ZooKeeper ensemble as part of the HBase start/stop process. Step 1: Assign hostnames to all the nodes of the cluster.     192.168.0.1 master     192.168.0.2 regionserver1     192.168.0.3 regionserver2   On the Master Node(192.168.0.1) add:     192.168.0.1 master     192.168.0.2 regionserver1     192.168.0.3 regionserver2   On the Region Server 1(192.168.0.2) add:     192.168.0.1 master     192.168.0.2 regionserver1 And on the Region Server 2(192.168.0.3) add:     192.168.0.1 master     192.168.0.3 regionserver2 Step 2: Download a stable relea

Grub Customizer 4.0.1 released, Install in Ubuntu/Linux Mint/other Ubuntu derivatives

Install Grub Customizer 4.0.1 in Ubuntu 14.04 Trusty/13.10 Saucy/13.04 Raring/12.10 and other Ubuntu derivatives Grub Customizer - a new graphical GRUB 2, You can now select the default boot entry, change the menu visibility and timeout, set kernel parameters, disable recovery entries and change screen resolution (GFX_MODE) - all by using Grub Customizer. With Grub-Customizer you can set default boot Entry/OS easily, Also visibility options provide custom time and look for new Operating System. For advance users Kernel Parameters option is available. Advance settings for experts Grub background is quite interesting feature offered by Grub-Customizer. There are options to set it manually but with this tool you can easily add any image to your grub, can set custom resolution and also font customization is available. Features: Move, remove or rename menuentries (they stey updatable by update-grub) Edit the contents of menuentries or create new ones (internally it edi

Replace GRUB With BURG to Beautify Boot Menu, Install in Ubuntu via PPA

Burg is boot loader forked of GRUB loader. It uses a new object format which allows it to be built in a wider range of OS, including Linux/Windows/OSX/Solaris/FreeBSD, etc. It also has a highly configurable menu system which works in both text and graphic mode. Additional features like stream support and multiple input/output device are also planned for BURG. BURG features superior theming and has a highly configurable menu system which works at boot time in both text and graphical mode. Since BURG is derived from GRUB, its configuration is similar in most respects. The main configuration file is /boot/burg/burg.cfg  and is usually generated automatically. You can create one by yourself or use  grub-customizer  to modify BRUG entries and other stuff. You can even design theme for BURG checkout this  link  for more details about BURG. All below images are from Noobslab Available for Ubuntu 14.04/14.10/12.04/Linux Mint 17/13 To install Burg with Themes in Ubuntu Termin

Wallch 4.0 Added Clock Wallpaper in Ubuntu 14.04

Wallch  is free wallpaper utility for Linux, it offers user friendly graphical user interface. Developer introduced new feature live clock wallpaper in latest Wallch 4.0 version, which is also offered in  slidewall  wallpaper application. Wallch is open-source application, which allows anyone to download and modify code as per needs. It supports all major Linux desktops such as Unity, Gnome, LXDE, XFCE, and Mate. It doesn't simply change your desktop background with the wallpapers that you have in your hard disk, though. While it does that well by monitoring the folder that you have selected for new or deleted pictures, it has lots of features, like Picture of the day, Live Earth, Wallpaper Clocks and Live Website! Get Wallpaper from    VladStudio.com . >>> Wallch 4.0 only available for Ubuntu 14.04 Trusty Tahr/Linux Mint 17 To install Wallch 4.0 in Ubuntu 14.04 Trusty/Linux Mint 17 open Terminal (Press  Ctrl+Alt+T ) and copy the following commands in the Termi