Search This Blog

Saturday, October 8, 2011

How to restore Spfile from autobackup ?

Login to your database through RMAN prompt.

[oracle@ora ~]#  export ORACLE_SID=orcl

[oracle@ora ~]#  rman target=/

# Shutdown your database if it is open.
Read more >>

Friday, October 7, 2011

How to configure FTP Server (vsftp) in RHEL 6 ?

This article contains instructions to configure a basic FTP Server.

Let us begin. Install the necessary packages.

[root@ora ~]#  yum –y install vsftp*
 

Open the file and edit and add as mentioned below:
Read more >>

Wednesday, October 5, 2011

How to configure NFS in RHEL 6 ?

Server settings.

Server side network settings.

Read more >>

Wednesday, September 28, 2011

How To Configure SSH Server in RHEL 6 ?

Open the SSH configuration file.
[root@ora ~]#  vi  /etc/ssh/sshd_config

# on line 42: uncomment and change the value to ‘no’

PermitRootLogin  no
Read more >>

Sunday, September 25, 2011

Automatic Memory Management in Oracle 10g and 11g.

Automatic Memory Management in Oracle 11g.

Assuming our required memory requirement is 3G, we might issue the following statements.

CONN / AS SYSDBA


ALTER SYSTEM SET STATISTICS_LEVEL=TYPICAL SCOPE=SPFILE;


#Leave some room for possible future memory growth
#without instance restart.

ALTER SYSTEM SET MEMORY_MAX_TARGET=5G SCOPE=SPFILE;

-- Set the dynamic parameters. 
ALTER SYSTEM SET MEMORY_TARGET=3G SCOPE=SPFILE;
ALTER SYSTEM SET PGA_AGGREGATE_TARGET=0 SCOPE=SPFILE;
ALTER SYSTEM SET SGA_TARGET=0 SCOPE=SPFILE;
ALTER SYSTEM SET DB_CACHE_SIZE=0 SCOPE=SPFILE;
ALTER SYSTEM SET SHARED_POOL_SIZE=0 SCOPE=SPFILE;
ALTER SYSTEM SET LARGE_POOL_SIZE=0 SCOPE=SPFILE;
ALTER SYSTEM SET JAVA_POOL_SIZE=0 SCOPE=SPFILE;
Read more >>

How to recover root password in RHEL 6 ?

Boot the system and log in into grub.






Read more >>

Saturday, September 24, 2011

How to Configure DHCP in RHEL 6 ?

Before starting make sure that your system has a Static IP Address.

My ip address is as following.
IP- 192.168.1.65
Subnet- 255.255.255.0
 

Read more >>