UBUNTU SERVER CONFIGURATION

Posted: August 16, 2012 in TECH ZONE
  • Installing JDK 6
    • sudo add-apt-repository ppa:sun-java-community-team/sun-java6
    • sudo apt-get update
    • sudo apt-get install sun-java6-jdk
  • for ulimit

AWS Management tools

Posted: May 11, 2012 in TECH ZONE

AWS management can be done from both commandline and UI. AWS management console is the UI for managing the different services of AWS. In management console, all the configuration options are quiet simple just with few clicks.
AWS also offers commandline utilities to manage the instances, Beanstalk environments, RDS instances, Route53 DNS settings and more.

The commandline tools can be downloaded from the AWS downloads section – http://aws.amazon.com/developertools/351/
Instructions on how to configure those tools successfully on to you local system can be found in readme.txt from the downloaded zip file.

Alestic.com, AWS.typepad.com & AWs developer forums are good resources for updating your knowledge on AWS

Step-1

Remove open jdk by looking into its rpm

  • #rpm -qa
After identifying the rpm for open jdk remove it by entering the below command with the rpm name at the end.
  • # rpm -e –nodeps java-1.6.0-openjdk-1.6.0.0-52.1.9.10.40.amzn1.x86_64

Step-2

Install Sun JDK 7 rpm – for updated java jdk checkout @ http://ivan-site.com/2012/05/download-oracle-java-jre-jdk-using-a-script/#more-39

Install the downloaded rpm by entering the command

  • # rpm -ivh jdk-7u5-linux-x64.rpm

After installation please enter the command  ” java -version to check the installed rpm”

AWS Quick Reference

Posted: February 4, 2012 in TECH ZONE
  • Remote Login to a ec2 instance from linux terminal
    • #ssh -i  abc.pem  username@ipaddress.  //abc.pem is the private key for you keypair,  username can be ubuntu if its a Ubuntu instance & ec2-user  if its a Amazon Linux Machine.
  • To login to a ec2 instance from aws management console
    • Right click on the instance and select the option “connect”, which will ask you for the .pem file(private key).  //Windows systems are remotely logged in using RDP connection.
  • To create an duplicate ec2 instance, just right click on the instance and select the option “ Launch more like this“, which will create another instance but with custom options of instance type, zone, key-pair, security group etc.,
  • To create an AMI, to keep it as a template for future instance, just right click on the instance, and select the option “create Image(EBS AMI)”, which will create a AMI that can be used later to launch more instances with the similar settings.
The 2 common errors while Opening the “My Computer” hard disk drives are:

 

Error 1 : When I click on c drive it shows an error message This file does not have a program associated with it for performing this action Create an association in the Folder Options Control panel?

Solution:

1) On any File Window go to Tools->Folder Options…2) Click on the View tab.

3) Click on the Show all hidden and files and folder

4) Uncheck “Hide protected operating system files”

5) Type c: in the Address Bar

6) Delete the autorun.inf file

7) Restart your computer

You will have to do this for all your drives.

Error 2 :  In “My Computer”, drives open with Search Results

Solution:  It requires fixing the Registry. You can follow these guidelines

open Notepad and copy the following and save it to the
> desktop as “FolderFix.reg”
>
> ——————–
> Windows Registry Editor Version 5.00
>
> [HKEY_CLASSES_ROOT\Directory]
> @=”File Folder”
>
> [HKEY_CLASSES_ROOT\Directory\shell]
> @=”none”
>
> [HKEY_CLASSES_ROOT\Drive]
> @=”Drive”
>
> [HKEY_CLASSES_ROOT\Drive\shell]
> @=”none”
>
> ——-
>
> then double click the “FolderFix.reg” to import to the registry.

> thats it……..

INTRODUCTION TO MAINFRAMES

Posted: May 16, 2011 in TECH ZONE
MAINFRAMES
IBM Mainframe eServer zSeries 990
Mainframes Unique Features:
  • can store large volume of data.
  • High processing speed.
  • High computing capacity
  • Lakhs of users can be processed Concurrently
  • Virus Free Environment
  • Highly secured System
  • It can be Interfaced with any toher application like web enable Application or Data Ware Housing Application
> Mainframe Computers are produced by different companies
  1. HP
  2. BULL
  3. HONEY WELL
  4. IBM
  5. IBM – 95% of the Mainframes projects are done on IBM Mainframes.
> IBM producing Mainframe Machines are   ES/9000( MVS OS),  ES/9221, s/390, z10
 
> Operating systems are MVS(Multiple Virtual Storage), MVS/ESA( Enterprise System Architecture), ZOS(Zero downtime Operating System.
 
> Applications of Mainframes
  • Banking Applications ( loans, cards processing system, daily transactions)
  • Financial Institutions
  • Insurance Institutions (automobile Insurance, Property Insurance, Health Insurance, re-insurance)
  • Retro Insurance Applications( insurance to Re-insurance)
  • Telecom Applications
  • Stock Trade ( buying,selling of shares, Brokerage calculations, Agent commission calculations)
  • Manufacturing (automobile, motors, electrical products, switches)
> Any Mainframe Application Mainly dividied into 2 types
  • Batch Process (uses  Cobol, JCL,DB2, VSAM)
  • Online Process (uses Cobol,JCL,DB2,VSAM,CICS.
> The different modules in Mainframes Course are
  • COBOL
  • JCL
  • DB2
  • VSAM
  • CICS
  • TOOLS

so Lets Start with the COBOL Module. Its a 10 sessions course,  all documented in word doc and uploaded.

  1. INTRODUCTION  :  Mainframe-INTRO.docx
  2. COBOL SESSION1 : COBOL(s1).docx
  3. COBOS SESSION2:  COBOL(s2).docx

her smile is heaven’s heart…

Posted: May 7, 2011 in FAMILY

Pranu got a gorgeous smile. Her smile can take away all d days tension of a person. The smile that flickers on her face gives a relaxation to the one watching her… When ever we try to shoot a pic of her while smiling, she broadens her smile to full length and laughs.  She got a photogenic face. Her smile is very awesome. Check it out….

This slideshow requires JavaScript.

hi friends,

My neice Pranu, staying in U.S is now a 6months old baby with this 25th i.e., April 25th.  She now can rollover very easily and can stay with the support of her hands for longtime. she sits wells without any trouble.  She smiles while she is in that posture. She also started talking a bit..  she makes lot of noises these days whenever her mom leaves her even for a minute. She knows well when she is on camera, and spontaneously gives a good expressions. She is very very cute now. she has turned a thin now. She eats Cerelac daily. I and my mom watch her daily on skype,  we enjoy her cute talks, and smiling expressions. she plays well with her mom, gives her a shake-hand, she is very cute now.  Got newz that they r coming this june, so we waiting excitedly for there arrival….

During the Oracle Installation process, any installation/sytem error  or sudden power failures causes Incomplete Installation. The Operating System does not allows us to either reinstall the Oracle product or uninstall the existing Oracle components. Here is a procedure to Uninstall all the Oracle components manually, when Installation Failure occurs.

Uninstall all Oracle components

  1.  Run regedit.exe and delete the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE key. This contains registry entries for    all     Oracle products.
  2. Delete any references to Oracle services left behind in the following part of the registry:HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Ora*
  3. It should be pretty obvious which ones relate to Oracle.
  4. Reboot your machine.
  5. Delete the “C:\Oracle” directory, or whatever directory is your ORACLE_BASE.
  6. Delete the “C:\Program Files\Oracle” directory.
  7. Empty the contents of your “c:\temp” directory.
  8. Empty your recycle bin.

At this point your machine will be as clean of Oracle components as it can be without a complete OS reinstall.

Remember, manually editing your registry can be very destructive and force an OS reinstall so only do it as a last resort else before making any changes in REGISTRY export its settings so that any they can be imported if any errors occur.

I am also attaching the PDF file which explains the step by step procedure to Uninstall all Oracle products from Windows

Uninstalling all Oracle products from Windows systems

Holi with Mr. HARRY……

Posted: March 20, 2011 in FRIENDS

hi friends,

Happy Holi friendz.  Hope u all had  celebrated Holi very well. Me too celebrated an unexpected holi this time. I usually dont play holi, as i dont have the habit of playing this festival since my childhood.



Wish you all  a very happy and colorful HOLI….

So, on Holi, i along with Mr. Harry went to RKmath for Yoga classes, and after the session was finished, we came out for breakfast. After we finished our breakfast, We were about to start, Then…

i(left) along with Mr. Harry.....

This fellow all of a sudden took a small box containing  Gulal(color powder)  added to water to it, and his hands were in pink color, and tried to applied to me. As i was escaping he filled the bottle with color water and poured on me,

Oh god! i was totally in holi gulal color, my favourite blue t-shirt was in pink color now.  It was a suprise Holi and i had no color to apply to that fellow.

But later taken from him and applied to him too. We then came to home, and called my bro Arun from outside the gate. He came as usual to checkout, and we applied color on his face too.  He was also colorful now. We shoot some picz of each other and then wished Mr. Harry once again a happy holi and he left.

This slideshow requires JavaScript.