INSTALLATION DOCUMENTS BY RAVI

Wednesday, June 28, 2017

Step by step installing Apache hadoop single node environment on linux

Perquisites:

1. Java must be installed

2. ssh must be installed and ssh must be running to use the Hadoop scripts that manage remote Hadoop daemons


Download and stage the software:






Installing Java:

Make a directory named java under /u01/

Move the downloaded java software from /mnt to /u01/java

Extract the tar.gz file as below 
















Installing Hadoop:

Make a directory named hadoop under /u01/

Move the downloaded java software from /mnt to /u01/hadoop

Extract the tar.gz file as below 















Edit the file /u01/hadoop/hadoop-2.7.2/etc/hadoop/hadoop-env.sh to define some parameters as below


















Save and exit the file

Test the hadoop command as below
















Configuring Hadoop:

Modifying etc/hadoop/core-site.xml as below:



















Save and exit the file

Modifying etc/hadoop/hdfs-site.xml as below:



















Save and exit the file

Setup passphraseless ssh

Check that you can ssh to the localhost without a passphrase:






If you cannot ssh to localhost without a passphrase, execute the following commands:















Executing MapReduce job locally:

Format the file system:


















Start NameNode daemon and DataNode daemon:























The hadoop daemon log output is written to the $HADOOP_LOG_DIR directory (defaults to $HADOOP_HOME/logs)

Browse the web interface for the NameNode; by default it is available at:
  • NameNode - http://localhost:50070/






















Create the HDFS directories required to execute MapReduce jobs:






















Copy the input files into the distributed file system:





Run some of the examples provided:



















Examine the output files:

Copy the output files from the distributed file system to the local file system and examine them:





























When you're done, stop the daemons with:
















YARN on Single Node

We can run a MapReduce job on YARN in a pseudo-distributed mode by setting a few parameters and running Resource Manager daemon and Node Manager daemon in addition.

Configure parameters as below:

Modifying etc/hadoop/mapred-site.xml as below:



















Save and exit the file

Modifying etc/hadoop/yarn-site.xml as below:





















Save and exit the file

Start Resource Manager daemon and Node Manager daemon:
















Browse the web interface for the Resource Manager by default it is available at:

  • Resource Manager - http://localhost:8088/


















Start NameNode daemon and DataNode daemon:















Run a MapReduce job






When you're done, stop the daemons with below command:


Sunday, June 25, 2017

Step by step installing Oracle Database Linux machine

PREREQUISITES SETTING

1. Download and stage the software

2. Disable the firewall by issuing the below command

# service iptables stop

3. Change selinux from enforcing to disable under /etc/selinux/config

# vi /etc/selinux/config













4. Create two groups i.e., oinstall and dba and make oinstall is the primary group and dba is the secondary group for the user Oracle as shown below













5. Changing kernel parameters

Go to /etc/sysctl.conf and add or modify the parameters

# vi /etc/sysctl.conf












6. Modify the file etc/pam.d/login by adding the line

# vi /etc/pam.d/login













7. Modify the /etc/security/limits.conf

# vi /etc/security/limits.conf












8. Make the directory structure as shown below in which the Oracle Home will be takes place. and make changes in the ownership for the /u01 as shown below

 # mkdir -p /u01/app/oracle/product/11.2.0/db_1
# chown -R oracle:oinstall /u01






9. Change from root user to the oracle user





INSTALLING ORACLE DATABASE

Start the database installation by executing runinstaller command























If you are not interested to give E-mail ..just uncheck the I wish to...box
Then click Next which is not shown in the screen














Select create and configure database and click next













Select Desktop Class and click next













Provide all the details and click next

Note: Always set Character set to UNICODE













Click yes to continue














Click next
























Check the prerequisites are ok or not if anything is failed just see the message and install Rpm's which are shown in above screen












Click install























Click ok












Run the above scripts by connecting to Root user























Database installation completed successfully

Steps for checking prerequisites before installing OBIEE 12c on LINUX machine

1. Checking RPMs :

Below rpms must be present on the machine before we start the installation





















2. Checking GNU libc version “recommended at least 2.12 “







3. Environment Variables


LD_ASSUME_KERNEL environment variable should not be set





4. SELinux should be disabled for installation









5. Configuring Kernel Parameters

Minimum required kernel version is 2.6.32




Change the user limits in /etc/security/limits.conf as below












6. Configuring Security Parameters

Add the following lines to /etc/sysctl.conf

















7.  Processor Requirements

Requires a minimum of 1-GHz CPU.





8.  Memory Requirements

Minimum Disk space 160 GB or more
Minimum Memory 16GB or more for 64 bit operating systems
Minimum 8GB Swap space













  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...