How to install Oracle Application Server 10g Release 3 on Windows

Oracle Application Server is no longer available. The reason is because once “Oracle SOA Suite 10g (10.1.3.1.0)” was released, it contains the same product features and functionality, including some features which are not obtainable without the 10.1.3.1 media. In this tutorial we will see how to install Oracle Application Server 10g R 3(10.1.3.X) on Windows.

Requirements
Windows OS
Oracle Application Server 10.1.3.X

Step 1 Downloading Oracle Application Server 10.1.3.X
Oracle provides 32-bit and 64-bit versions of Oracle Application Server for Windows. The 32-bit version runs on Intel x86, AMD64, and Intel EM64T processors. For additional information, visit OracleMetaLink at http://metalink.oracle.com

I have downloaded the installer files at C:\Downloads\INSTALLABLES\Oracle For 32 bit installer file name would be soa_windows_x86_101310_disk1.zip

I have extracted the same to C:\Downloads\INSTALLABLES\Oracle

Step 2 Starting the installation
Go to extracted folder. In our case it is C:\Downloads\INSTALLABLES\Oracle\soa_windows_x86_101310_disk1\soa_windows_x86_101310_disk1 and double click on setup.exe It will start the Oracle Application Server Universal installer

Step 3 Oracle Application Server 10g 10.1.3.X screen
Enter the installation directory where you want to install Oracle Application Server. In our case I choose D:\product\10.1.3.1\OracleAS_1 Also select Advance Installation mode.

For the Warning please click on yes

Step 4 Select Installation Type screen
In this section choose J2EE server and Web server, as we are going to use only oc4j containers for J2EE and HTTP Server

Step 5 Specify Port Configuration Options screen
In Specify Port Configuration Options screen Select Automatic and click Next

Step 6 Administration Instance Settings screen
In AS administrator settings enter following values:
AS instance Name : techienote
AS Administrator Password : admin_123
OC4J Instance Name : home
Select Configure this as an Administration OC4J instance. This will start EM console as soon as you start the oracle service via OPMN.
Click Next.

Step 7 Cluster Topology Configuration screen

Deselect Configure this instance to be part of an Oracle Application Server cluster topology as this is a simple installation and click on Next

Step 8 Now it will start the installation process

Step 9. Configuration Assistant
At this level installer will configure various service. In case of any failure please see installation logs which are located at C:\Program Files\Oracle\Inventory\logs folder

Step 10 End of Installation
On this screen you will get Oracle Application server EM console URL

Step 11. Access the Oracle Application Server Welcome page to verify that the installation was successful. The URL for the Welcome page is:

http://hostname.domainname:http_port

You can locate the URL for accessing the Welcome Page on the End of Installation Screen text, which is stored in the following file:
ORACLE_HOME\install\readme.txt

The Welcome page provides links to these useful pages:
New features in Oracle Application Server 10g Release 3 (10.1.3)

  • Oracle Enterprise Manager Application Server Control (“Application Server Control”), which is a browser-based administrative tool
  • Release Notes
  • Quick Start
  • Demos

That’s it. You are ready with the application server installation. In next section we will see how to deploy sample application in Oracle Application Server.

Password Less SSH using PUTTY

Secure Shell (SSH) is a network protocol for secure data communication, remote shell services or command execution and other secure network services between two networked computers that it connects via a secure channel over an insecure network: a server and a client (running SSH server and SSH client programs, respectively).

In SSH when a client computer connects to the server, the server requires the client to authenticate itself. There are different ways a client can authenticate itself to the server. A typical authentication mode will be to enter a password when logging into a remote system. In this tutorial we can explore another mode of authentication in which server doesn’t require a password to be entered by the user.

So lets Start :

Client Configuration (WINDOWS)

1. Go to the client computer. We are using windows as client computer. Download Putty and Puttygen from following

URL
PUTTY
PUTTYGEN

Using the Puttygen tool we will generate an authentication key. This key will serve as a substitute for the password that will be entered during login.

2. Start puttygen.

3. The following window opens up. Leave the default ‘SSH-2 RSA’ selection and click on the ‘Generate’ button.

4. The following window opens. Move mouse randomly over the empty space below the progress bar to create some randomness in the generated key.

5. Don’t enter any key phrase. Click on ‘Save private Key’ button. Click ‘Yes’ on the window asking for confirmation for saving the key without a password.

6. Save the key file to a safe location. We will be saving the file in C:\Vidyadhar as 192.168.1.2.ppk. 192.168.1.2 is my SSH server ip. Now you can close the Puttygen window.

7. Open the 192.168.1.2.ppk file in a notepad. Copy the four lines under ‘Public-Lines’ section to windows clipboard

Server Configuration (UBUNTU)

1. Now open putty and connect to the remote system using the user id you want to use for future no password connections. At my system I am going to login through vidyadhar user. This time when you login, you have to provide the password at the prompt. Future logins won’t require this password

2. Under the logged in user’s home directory there will be .ssh directory, under that create a new file called authorized_keys using a text editor such as vi.
In our case the file will be created under /home/vidyadhar/.ssh/authorized_keys

cd ~/.ssh/
vi authorized_keys

3. Type the word ssh-rsa (including spaces on both ends of the word) and paste the 4 lines copied from step 7 from client configuration. Remove the carriage return at end of each line, merging four lines into one single line.
Be careful not to delete any characters while doing that. Final output should like the following window.

4. Save the file and quit the text editor. Assign rw permissions only for the owner.

chmod 600 ~/.ssh/authorized_keys

5. Now we have configured SSH server, its time to test our setup.

Testing

On the Client system (Windows), open Putty, enter the ip address details of the remote system. Now from the left navigation, select Connection -> Data. Enter vidyadhar as Auto-login username on the right panel.

Again from the left navigation menu, scroll down and select Connection -> SSH -> Auth. Enter the path of the saved private key file, In our case C:\vidyadhar\192.168.1.2.ppk. Leave other defaults as such and press open button.

Now the putty connects to the remote SSH server and there won’t be any password prompt here after.

Install Mario On Ubuntu

Mega Mario is a Mario clone + blood. In the game you play Mario and your task is to free his brother Luigi, who was captured by the evil Bowser. Mario is controlled by Keyboard or Gamepad using the Arrowkeys to walk, Space / A to jump and CTRL / B to run/fire. After reaching a castle the game is saved and can be continued at any time by clicking on “Load Game”.

Mega Mario also features a blood-mode, which makes killed enemies spread their blood all over the level! And if you have fun to create your own levels after completing the game, you can use the Level-Editor (read “Editor.txt”).

You can download Mega Mario from here

To install Mega Mario on Ubuntu you have to add following lines in /etc/apt/sources.list

Note : I am using Ubuntu 11.04. For this version repository owner do not have any packages. Then also you can add following lines in your sources.list file. It will work.

deb http://ppa.launchpad.net/pratikmsinha/freethinkers.packages/ubuntu lucid main
deb-src http://ppa.launchpad.net/pratikmsinha/freethinkers.packages/ubuntu lucid main

Now run,

sudo apt-get update
sudo apt-get install megamario

That’s it. It will install Mega Mario on your machine. Just run megamario in your terminal and you are ready to play the game.

megamario

In case of any problem please let me know.

Power on Computer Remotely Using WOL – Wake on Lan

One of my client is having two machines, one is ubuntu server and another one is windows. He has setup Ubuntu as a server machine, so he can connect it using SSH, FTP, VNC remotely. He is using windows machine only for gaming purpose.

But now he got some US project and want to work as per their time. They have provided one cisco client which is working only on windows. So whenever he wants to work from outside he has to assure that his windows system is on before leaving office.

To solve this issue I told him about wake on lan (WOL). I told him he can start his windows machine whenever he want it via wake on lan. He just need an ethernet address (MAC) address of the windows machine. So this how to is for how to enable wake on lan on motherboard as well as on windows / ubuntu.

To enable wake on lan on motherboard, go to BIOS and search for Power Option. There you will see wake on lan option. Just enable it, save the BIOS settings.

Now on windows machine you can enable wake on lan using following method.

1. Open the Device Manager and the Properties page for the Network Adapter to be WOL enabled.

2. Verify that PROset is installed and it is the latest version (check the Link Speed tab).

3. Select the Power Management tab and check the tick box “Wake on Magic Packet from power off state”.

4. Make a note of the MAC address, IP address and Subnet Mask of the Network Adapter for which WOL was enabled.

5. Power the system off.

Now on the UBUNTU machine we have to install wake on lan utility, to do so run

sudo apt-get install etherwake

Above command will install ehterwake utility which we can use to power on windows machine from ubuntu.

Now just run following command to start windows machine using WOL from ubuntu

wakeonlan 00:15:17:AF:57:B5

00:15:17:AF:57:B5 is a MAC address of windows machine which we got from step 4.

That’s it. Your machine should start now.

Please note that WOL works on udp port 7 and 9. By default wakeonlan will send magic packets on port 7. If it is not working just run

wakeonlan -p 9 00:15:17:AF:57:B5

You can also power on your UBUNTU machine through windows using WOL utilty

Create Wifi Hotspot in Windows

This tutorial will guide you in setting up your laptop as a wifi-hotspot to share wifi or dial-up connection. I am using Windows 7 as a base OS and connectify to work as wifi-hotspot.

In this way you can share your internet / wifi / dial-up connection with your wifi enabled device.

Requirement:
OS Windows 7 (Not tried on XP)
WIFI enabled laptop
Connectify. You can download the free version from here.

1. To start the process download and install Connectify from above link.
2. After installation it will ask to reboot the machine, do the same.
3. After restart you will see Connectify icon in task bar notification area.

4. Click on the Icon. Now we need to create wifi-hostspot. Fill up require details as per your wifi configuration and click on Start Hostspot. For better understanding see below screenshot.

Remember Select the proper network adapter in Internet option. If you are getting connected to internet via dial up connection select dial up connection in Internet option. I am using wireless network connection to connect internet.

5. Now setup your wifi enabled device to use our laptop connection as an access point. I have tried the same with Nokia phone. After successful connection you will see your device in Client tab.

That’s it. Enjoy your new wifi-hotspot.

Page 1 of 9123456»...Last »
rss twitter facbook

Categories

Archives