Install JDK on AWS ( REDHAT )

 As root :

yum -y install glibc.1686

 yum install glibc.i686 glibc-devel.i686

Installation of the 64-bit JDK on Linux Platforms

This procedure installs the Java Development Kit (JDK) for 64-bit Linux, using an archive binary file (.tar.gz).

These instructions use the following file:

  1. Download the file.Before the file can be downloaded, you must accept the license agreement. The archive binary can be installed by anyone (not only root users), in any location that you can write to. However, only the root user can install the JDK into the system location.
  2. Change directory to the location where you would like the JDK to be installed, then move the .tar.gz archive binary to the current directory.
  3. Unpack the tarball and install the JDK.
    % tar zxvf jdk-8uversion-linux-x64.tar.gz

    The Java Development Kit files are installed in a directory called jdk1.8.0_version in the current directory.

  4. Delete the .tar.gz file if you want to save disk space.

Set JAVA_HOME / PATH for a single user

Login to your account and open .bash_profile file
$ vi ~/.bash_profile
Set JAVA_HOME as follows using syntax export JAVA_HOME=<path-to-java>. If your path is set to /usr/java/jdk1.5.0_07/bin/java, set it as follows:



[ec2-user@ip-172-31-31-208 ~]$ sudo su
[root@ip-172-31-31-208 ec2-user]# vi ~/.bash_profile
[root@ip-172-31-31-208 ec2-user]# source ~/.bashrc
[root@ip-172-31-31-208 ec2-user]# echo $JAVA_HOME
[root@ip-172-31-31-208 ec2-user]#


Check alll the services are on :

  • ps -ef |grep java
  • chkconfig


Enabling a Service : chkconfig service_name on

service –status-all

service iptables status

netstat -nltpu | grep 8002


[root@ip-172-31-31-208 init.d]# vi talend-cmdline-6.0.1
[root@ip-172-31-31-208 init.d]# ./talend-cmdline-6.0.1 status
Checking status of talend commandliner server…. failed.

[root@ip-172-31-31-208 init.d]# ./talend-cmdline-6.0.1 start
starting talend commandline server… done.

[root@ip-172-31-31-208 init.d]# ./talend-cmdline-6.0.1 status
Checking status of talend commandliner server…. failed.




restart all services as root  under bash :

service httpd start ( /etc/init.d/httpd start )d-6.0.1/cmdline/




runtime service /opt/Talend-6.0.1/runtime/bin



check all the services running :

check the svn service is running under root

ps aux

f not kill the services

install the svn from here :

PS :  create a new user for svn calles talenduser


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.