==============================
Qn. I have solaris sun fire 4800 machine.
My cd rom is scsi. I have inserted a cd. how to read the cd?
Ans. For Sun Fire 6800/4810/4800/3800 sytems, first create the directory, then map the cdrom to this directory.
# mkdir -p /cdrom/cdrom0
# mount -o ro -F hsfs /dev/dsk/c0t6d0s2 /cdrom/cdrom0
Note: c0t6d0s2 is for scsi drive and c0t2d0s2 is for ide drive
But how to findout, whether my drive is scsi or ide??????????????????????
================================================================
What is Sun Solaris? Sun Solaris is an Operating System (ofcourse,you know)
There are various versions of solaris os
solaris 2.5
solaris 2.6
solaris 7
solaris 8
solaris 10
===========================================
Which processor is used in this OS?
Sun-1,sun-2,sun-3 were using motorola processors
Sun-4 was using SPARC processor, manufactured by sun itself.
Then sun developed ULTRASPARC processors which are 64 bit
Sun-4c is old sparc systems
sun-4m are late sparc systems
sun-4u is ultrasparc system
Intel processors are used in solaris machines.
=========================================
Why solaris 9 is called as solaris 5.9?
Here 5 refers to SYSTEM-5.Actually AT&T Released System-3 Unix. After that System-5 was released.Solaris basic architecture is based on system-5.
========================================
How to know whether my os is solaris 8 or solaris 9?
# cat /etc/release
Solaris 10 1/06 s10s_u1wos_19a SPARC
or
# uname -snrvmapiX
SunOS solaris 5.10 Generic sun4u sparc SUNW,Ultra-60 System = SunOS
Node = solaris
Release = 5.10
KernelID = Generic
Machine = sun4u
BusType =
Serial =
Users =
OEM# = 0
Origin# = 1
NumCPU = 1
#man uname gives the following result:
NAME
uname - print name of current system
SYNOPSIS
uname [-aimnprsvX]
uname [-S system_name]
DESCRIPTION
The uname utility prints information about the current sys-
tem on the standard output. When options are specified, sym-
bols representing one or more system characteristics will be
written to the standard output. If no options are specified,
uname prints the current operating system's name. The
options print selected information returned by uname(2),
sysinfo(2), or both.
OPTIONS
The following options are supported:
-a Prints basic information currently available
from the system.
-i Prints the name of the platform.
-m Prints the machine hardware name (class).
Use of this option is discouraged. Use uname
-p instead. See NOTES section below.
-n Prints the nodename (the nodename is the
name by which the system is known to a com-
munications network).
-p Prints the current host's ISA or processor
type.
-r Prints the operating system release level.
-s Prints the name of the operating system.
=====================================================
Before you install oracle, check the hardware
you should have 512 Mb of RAM, 1 GB of swap and 3 GB of disk
===========================================================
$ /usr/sbin/prtconf
System Configuration: Sun Microsystems sun4u
Memory size: 2048 Megabytes
Wah! I have 2GB, it is more than enough. minimum requirement is just 250mb
++++++++++++++++++++++++++++++++++++++++++++++++
Do you know what is sun4u?
u stands ULTRA SPARC processor. Yes. My system is having ultra sparc processor
=============================================================
Do you know what is /usr/bin?
It is one of the standard folders
It contains most of the executable files
Executable means ready-to-run programs
They are NOT needed for booting the system.
There will be about 2000 executbale files in this folder.
Examples of exe files are: bc,cal,du,env,find,finger,zip,gunzip,man
=========================================================
$xclock
What is xclock command is important?
xclock is the standard gui clock for the X Window System.
This command is important,because if this command is working fine, then your xwindw is working fine.
============================================================
$ /usr/bin/which make
$ /usr/bin/which ar
$ /usr/bin/which ld
$ /usr/bin/which nm
What are the importants of these exe files ?
These files are needed for oracle installation and should be located in /usr/bin/ccs folder.
But how to check their location?
These commands should show /usr/ccs/bin directory. If not showing, the you have to add /usr/ccs/bin to pATH.
If these files are not
=================================================
$sqlplus
If this command is not working, then there is something wrong in oracle installation.
===================================================
What is JRE?
JRE stands for Java Runtime Environment.
Why this is necessary?
For example, Oracle Universal Installer is a Java application. if this application has to run means,
you shoule have jre installed properly.
===================================================
$ ulimit -Sa
$ ulimit -Ha
These commands check the maximum soft/hard shell limits
====================================================
$ uname -a
It gives the basic information about my solaris system
====================================================
$ groupadd -g 400 dba
cpio -idmv < abcd.cpio -i means :::::: extract files from archieve. o means copy out files into the archieve -d means ::::: for creating new directories as required when extracting m says "display the message such as insert the next tape" v is for verbose,which means, list out the files in the screen. cp stands for copy, cpio stands for copy the files into or out of archieve. cpio command is for neither zip or unzip.it is for archieving(backup) a number of files. That is if you give 2 or more files, cpio will make it as a single file with extension cpio. To know the list of files inside a cpio file (without restoring), try this command: $cpio -t < yourfile.cpio ( t means table down or list the contents) To extract files from cpio, try the following command.but be careful, if any other file exists with the name, it will overwrite without warning. $ cpio -id < yourfile.cpio (i means cpio will read the file, d means cpio will create the necessary directories) =============================================== How to install something from the cd? $ su root $ mkdir /cdrom $ mount -r -F hsfs /dev/????? /cdrom Note: Normally Solaris volume Manager will automatically mouthe cdrom -r means:::::: mount it as readonly -F means:::::: Fork off, which means, a number of devices can be mounted parallelly. =================================================== $ svrmgrl SVRMGR> startup
=================================================
borisdonbergs-65c