Escolar Documentos
Profissional Documentos
Cultura Documentos
Creating of Virtual Machine in VMware Removing of Virtual Machine from Vmware Creating Directories Create Remote Access Installation of Oracle Installation of DB
4/24/2011
KARTHIK PEDAPALLI
4/24/2011
KARTHIK PEDAPALLI
Open Internet Explorer and type the address http://lab2:8333/ui/#, press Enter. A dialog box will appear with blank username and password fields.
4/24/2011 KARTHIK PEDAPALLI 3
4/24/2011
KARTHIK PEDAPALLI
Next
8
KARTHIK PEDAPALLI
Next
10
Next
KARTHIK PEDAPALLI 11
Next
12
Next
13
KARTHIK PEDAPALLI
Next
14
Since, this is a VM we wont be using DVD drive, so select Use an iso image Next
4/24/2011 KARTHIK PEDAPALLI 15
Select the Linux iso image file by clicking on the browse button
Next
4/24/2011
KARTHIK PEDAPALLI
16
Next
KARTHIK PEDAPALLI 17
After selecting
4/24/2011
Next
KARTHIK PEDAPALLI 18
Next
KARTHIK PEDAPALLI 19
Next
KARTHIK PEDAPALLI 20
Now, you can see the new VM DemoOraLi5 is created and added in the inventory. You can check the specification in the summary and power on the VM in the console tab.
4/24/2011 KARTHIK PEDAPALLI 22
Select the DemoOraLi5 from the inventory and click on the Console tab.
4/24/2011 KARTHIK PEDAPALLI 23
When the console is ready, click inside the vmware to open a console window.
4/24/2011 KARTHIK PEDAPALLI 25
Now, Press Ctrl + G to give a direct input in the console window and press ENTER.
4/24/2011 KARTHIK PEDAPALLI 27
Select skip
4/24/2011 KARTHIK PEDAPALLI 28
Next
KARTHIK PEDAPALLI 29
Next
KARTHIK PEDAPALLI 30
Next
KARTHIK PEDAPALLI 31
The console will ask you to initialize the data, select Yes option
4/24/2011 KARTHIK PEDAPALLI 32
Next
KARTHIK PEDAPALLI 33
First, select a Home path(/) and give size as 10GB(depends upon the HD), and Check the Force to be a primary partition option.
4/24/2011 KARTHIK PEDAPALLI 35
Now, select the a Swap file system type for Virtual Memory size 5GB
4/24/2011 KARTHIK PEDAPALLI 36
Now, Create RMAN drive with leftover free space for recovery data
4/24/2011 KARTHIK PEDAPALLI 41
Next
KARTHIK PEDAPALLI 42
Click Next
4/24/2011 KARTHIK PEDAPALLI 43
Click Next
4/24/2011 KARTHIK PEDAPALLI 44
Next
46
KARTHIK PEDAPALLI
Next
4/24/2011 KARTHIK PEDAPALLI 47
Next
4/24/2011 KARTHIK PEDAPALLI 48
Next
KARTHIK PEDAPALLI 49
Next
KARTHIK PEDAPALLI 50
Next
KARTHIK PEDAPALLI 51
Next
4/24/2011
KARTHIK PEDAPALLI
52
Next
53
Next
KARTHIK PEDAPALLI 54
Next
KARTHIK PEDAPALLI 55
Next
4/24/2011 KARTHIK PEDAPALLI 56
Next
KARTHIK PEDAPALLI 57
Wait
4/24/2011 KARTHIK PEDAPALLI 58
Wait
4/24/2011 KARTHIK PEDAPALLI 59
Wait
4/24/2011 KARTHIK PEDAPALLI 60
Dont click in the window, click on the Summary tab and go to hardware
4/24/2011 KARTHIK PEDAPALLI 62
Click on the CD icon and select edit to Browse for the iso images.
4/24/2011
KARTHIK PEDAPALLI
63
Check the option connected and select the disk 2 image by clicking browse button
4/24/2011 KARTHIK PEDAPALLI 64
Wait
4/24/2011 KARTHIK PEDAPALLI 68
When disk 3, disk 4 & disk 5 is prompted, then you have to follow the slides 60to 66. Select the desired iso image.
4/24/2011 KARTHIK PEDAPALLI 69
Disk 3 selected
4/24/2011 KARTHIK PEDAPALLI 70
Disk 4 selected
4/24/2011 KARTHIK PEDAPALLI 72
Linux Starts
4/24/2011 KARTHIK PEDAPALLI 74
Select Forward(
4/24/2011
Next)
KARTHIK PEDAPALLI 75
Next)
4/24/2011
KARTHIK PEDAPALLI
76
Select above options and Forward( Next), Incase if you get any message asking yes or no, select yes and forward.
4/24/2011 KARTHIK PEDAPALLI 77
Next)
KARTHIK PEDAPALLI 78
Select Forward(
4/24/2011
Next)
KARTHIK PEDAPALLI 80
Next)
81
KARTHIK PEDAPALLI
Select Forward(
4/24/2011
Next)
KARTHIK PEDAPALLI 83
Select Finish.
4/24/2011 KARTHIK PEDAPALLI 84
Linux Starts
4/24/2011 KARTHIK PEDAPALLI 86
4/24/2011
KARTHIK PEDAPALLI
88
Linux 5
4/24/2011 KARTHIK PEDAPALLI 89
4/24/2011
KARTHIK PEDAPALLI
92
4/24/2011
KARTHIK PEDAPALLI
93
Open the VMware window and Select the VM tab to remove the VM.
4/24/2011 KARTHIK PEDAPALLI 94
After select the VM, go to commands on the right side of the screen and select the Remove Virtual Machine option.
4/24/2011
KARTHIK PEDAPALLI
95
After clicking, a dialog box appears, select the delete the vm files and give ok.
4/24/2011 KARTHIK PEDAPALLI 96
4/24/2011
KARTHIK PEDAPALLI
97
4/24/2011
KARTHIK PEDAPALLI
98
We have seen how to install and remove Linux in Virtual Machine. Now will see how to create directories in Linux
4/24/2011
KARTHIK PEDAPALLI
99
Open the VMware and select your VM and login by using your username and password
4/24/2011 KARTHIK PEDAPALLI 100
Enter Password
4/24/2011 KARTHIK PEDAPALLI 101
Linux 5 Opens
4/24/2011
KARTHIK PEDAPALLI
102
4/24/2011
KARTHIK PEDAPALLI
103
When the terminal opens, create two groups as DBA & OINSTALL
4/24/2011
KARTHIK PEDAPALLI
104
Now, add a user ORACLE along with the group use the command -G with useradd cmd.
4/24/2011
KARTHIK PEDAPALLI
106
4/24/2011
KARTHIK PEDAPALLI
107
4/24/2011
KARTHIK PEDAPALLI
108
Create a directory with sub directories using the cmd P along with mkdir cmd
4/24/2011
KARTHIK PEDAPALLI
109
You can check the created folders and the rights and ownerships by typing ls l or ls -ll
4/24/2011
KARTHIK PEDAPALLI
110
To change the ownership and rights(modifications) of the folders, type the above cmd
4/24/2011 KARTHIK PEDAPALLI 111
Similarly, create directories in drive u02, and change the tights and modifications.
4/24/2011
KARTHIK PEDAPALLI
113
Now, open drive u03 and create two folders as ORACLE11g and USERFILES(optional)
4/24/2011 KARTHIK PEDAPALLI 114
To change the ownership and rights(modifications) of the folders, type the above cmd for ORACLE11g
4/24/2011
KARTHIK PEDAPALLI
115
To change the ownership and rights(modifications) of the folders, type the above cmd for USERFILES
4/24/2011
KARTHIK PEDAPALLI
116
Open RMAN drive and create two folders as ARCHIVE & FLASH_RECOVERY
4/24/2011 KARTHIK PEDAPALLI 117
To change the ownership and rights(modifications) of the folders, type the above cmd
4/24/2011 KARTHIK PEDAPALLI 118
4/24/2011
KARTHIK PEDAPALLI
120
To edit press I
4/24/2011 KARTHIK PEDAPALLI 121
4/24/2011
KARTHIK PEDAPALLI
122
Now type edit the Security & xdmcp entries as given above
4/24/2011 KARTHIK PEDAPALLI 123
After editing the entries, press ESC and type :wq! to save and quit.
4/24/2011 KARTHIK PEDAPALLI 124
4/24/2011
KARTHIK PEDAPALLI
127
In the dialog box, select Remote tab and select same as Local
4/24/2011 KARTHIK PEDAPALLI 129
Under security tab, check whether the first two conditions under security is checked
4/24/2011 KARTHIK PEDAPALLI 130
Exit from the gdmsetup utility and restart the GDM service: [root@localhost~]# /usr/sbin/gdm-restart
4/24/2011
KARTHIK PEDAPALLI
131
You can test the GDM login screen locally using the following and come back to terminal type the hostname cmd to see the hostname and to refresh the ip address type iptables F
4/24/2011
KARTHIK PEDAPALLI
132
This is how a folders are created in the local drives and Remote access is enabled in Linux 5
4/24/2011
KARTHIK PEDAPALLI
133
Till now, we have creating of Virtual machine, installing Linux and creating directories in RHEL5. Now, we are going to see the process of INSTALLATION OF ORACLE using X-manager
4/24/2011
KARTHIK PEDAPALLI
134
Power On the VM
4/24/2011
KARTHIK PEDAPALLI
135
4/24/2011
KARTHIK PEDAPALLI
136
4/24/2011
KARTHIK PEDAPALLI
137
4/24/2011
KARTHIK PEDAPALLI
138
Open the Virtual Window, now we can see the see the contents of the Oracle11g.iso
4/24/2011
KARTHIK PEDAPALLI
139
Now, open the disc one and copy the database folder to u03/oracle11g folder
4/24/2011
KARTHIK PEDAPALLI
140
oracle11g
4/24/2011
KARTHIK PEDAPALLI
141
Select oracle11g
4/24/2011
KARTHIK PEDAPALLI
142
4/24/2011
KARTHIK PEDAPALLI
143
4/24/2011
KARTHIK PEDAPALLI
144
4/24/2011
KARTHIK PEDAPALLI
145
Select Database
4/24/2011
KARTHIK PEDAPALLI
146
4/24/2011
KARTHIK PEDAPALLI
147
4/24/2011
KARTHIK PEDAPALLI
148
Select u03/Oracle11g
4/24/2011
KARTHIK PEDAPALLI
149
Select u03/Oracle11g/database
4/24/2011
KARTHIK PEDAPALLI
150
Now paste the stage and it asks for replacement of file and give ok
4/24/2011
KARTHIK PEDAPALLI
151
Copying
4/24/2011
KARTHIK PEDAPALLI
152
4/24/2011
KARTHIK PEDAPALLI
153
4/24/2011
KARTHIK PEDAPALLI
154
4/24/2011
KARTHIK PEDAPALLI
155
Press I to edit
4/24/2011
KARTHIK PEDAPALLI
156
4/24/2011
KARTHIK PEDAPALLI
157
Now, type the above code to create shortcut for database name, oracle home and path address Note: make sure that oracle_home path is same as the path created (CASE SENSITIVE), make sure the bin in small letters
4/24/2011 KARTHIK PEDAPALLI 158
4/24/2011
KARTHIK PEDAPALLI
159
4/24/2011
KARTHIK PEDAPALLI
160
4/24/2011
KARTHIK PEDAPALLI
161
4/24/2011
KARTHIK PEDAPALLI
162
Now, type the other shortcuts name: $ ORACLE_SID Echo $ORACLE_HOME Echo $ORACLE_SID Echo $PATH
4/24/2011 KARTHIK PEDAPALLI 163
4/24/2011
KARTHIK PEDAPALLI
164
4/24/2011
KARTHIK PEDAPALLI
165
Type the above command to set the IP address for remote access
4/24/2011
KARTHIK PEDAPALLI
166
4/24/2011
KARTHIK PEDAPALLI
167
4/24/2011
KARTHIK PEDAPALLI
168
X-Manager opens
4/24/2011
KARTHIK PEDAPALLI
169
4/24/2011
KARTHIK PEDAPALLI
170
4/24/2011
KARTHIK PEDAPALLI
171
Linux opens
4/24/2011
KARTHIK PEDAPALLI
172
4/24/2011
KARTHIK PEDAPALLI
173
4/24/2011
KARTHIK PEDAPALLI
174
4/24/2011
KARTHIK PEDAPALLI
175
Now, type the ./runInstaller (shell script) to run the installer. Note: is the installer fails, then give permissions to the folder
4/24/2011 KARTHIK PEDAPALLI 176
4/24/2011
KARTHIK PEDAPALLI
177
When the installer opens, give yes in the dialog box to continue
4/24/2011
KARTHIK PEDAPALLI
178
If you need support from Oracle check this option or leave it blank
4/24/2011
KARTHIK PEDAPALLI
179
I f you leave blank and give next, then to proceed press yes
4/24/2011
KARTHIK PEDAPALLI
180
4/24/2011
KARTHIK PEDAPALLI
181
4/24/2011
KARTHIK PEDAPALLI
182
Select Language
4/24/2011
KARTHIK PEDAPALLI
183
4/24/2011
KARTHIK PEDAPALLI
184
4/24/2011
KARTHIK PEDAPALLI
185
Note: The path should be same(case-sensitive), otherwise the above error occurs
4/24/2011
KARTHIK PEDAPALLI
186
4/24/2011
KARTHIK PEDAPALLI
187
Next
4/24/2011
KARTHIK PEDAPALLI
188
Next
4/24/2011
KARTHIK PEDAPALLI
189
4/24/2011
KARTHIK PEDAPALLI
190
Installing
4/24/2011
KARTHIK PEDAPALLI
191
4/24/2011
KARTHIK PEDAPALLI
192
4/24/2011
KARTHIK PEDAPALLI
193
4/24/2011
KARTHIK PEDAPALLI
194
4/24/2011
KARTHIK PEDAPALLI
195
4/24/2011
KARTHIK PEDAPALLI
196
OrainstRoot.sh executed
4/24/2011
KARTHIK PEDAPALLI
197
Now open the 11.2.0 folder in u01 drive and check contents (ls -l)
4/24/2011 KARTHIK PEDAPALLI 198
4/24/2011
KARTHIK PEDAPALLI
199
4/24/2011
KARTHIK PEDAPALLI
200
Now press OK
4/24/2011
KARTHIK PEDAPALLI
201
4/24/2011
KARTHIK PEDAPALLI
202
4/24/2011
KARTHIK PEDAPALLI
203
Note: Make sure that all your database, host name are case-sensitive
4/24/2011 KARTHIK PEDAPALLI 204
4/24/2011
KARTHIK PEDAPALLI
205
4/24/2011
KARTHIK PEDAPALLI
206
4/24/2011
KARTHIK PEDAPALLI
207
Next
4/24/2011
KARTHIK PEDAPALLI
208
Select Add
Next
4/24/2011
KARTHIK PEDAPALLI
209
Next
4/24/2011
KARTHIK PEDAPALLI
210
Select Protocol
Next
4/24/2011
KARTHIK PEDAPALLI
211
Next
4/24/2011
KARTHIK PEDAPALLI
212
Next
KARTHIK PEDAPALLI 213
4/24/2011
KARTHIK PEDAPALLI
214
Next
4/24/2011
KARTHIK PEDAPALLI
215
Next
4/24/2011
KARTHIK PEDAPALLI
216
Select add
Next
4/24/2011
KARTHIK PEDAPALLI
217
Next
218
KARTHIK PEDAPALLI
Next
4/24/2011
KARTHIK PEDAPALLI
219
Next
4/24/2011
KARTHIK PEDAPALLI
220
Select Network
4/24/2011
Next
KARTHIK PEDAPALLI 221
Next
222
KARTHIK PEDAPALLI
Next
4/24/2011
KARTHIK PEDAPALLI
223
Type he hostname
Next
4/24/2011
KARTHIK PEDAPALLI
224
Next
4/24/2011
KARTHIK PEDAPALLI
225
Next
4/24/2011
KARTHIK PEDAPALLI
226
Next
4/24/2011
KARTHIK PEDAPALLI
228
Click Finish
Next
4/24/2011
KARTHIK PEDAPALLI
229
Next
4/24/2011
KARTHIK PEDAPALLI
230
In this page, we have create listener path but now will see how to do it manually Next
4/24/2011 KARTHIK PEDAPALLI 231
Next
232
Next
4/24/2011
KARTHIK PEDAPALLI
233
Next
4/24/2011
KARTHIK PEDAPALLI
234
Next
4/24/2011
KARTHIK PEDAPALLI
235
4/24/2011
KARTHIK PEDAPALLI
237
Lsnrctl stop
4/24/2011
KARTHIK PEDAPALLI
238
Lsnrctl start
4/24/2011
KARTHIK PEDAPALLI
239
4/24/2011
KARTHIK PEDAPALLI
240
Now, open Database Configuration Assistant (DBCA) by typing the above command
4/24/2011
KARTHIK PEDAPALLI
241
DBCA opens
Next
4/24/2011
KARTHIK PEDAPALLI
242
Select create a DB
Next
4/24/2011
KARTHIK PEDAPALLI
243
Next
4/24/2011
KARTHIK PEDAPALLI
244
Next
4/24/2011
KARTHIK PEDAPALLI
245
Next
4/24/2011
KARTHIK PEDAPALLI
246
Next
4/24/2011
KARTHIK PEDAPALLI
247
Next
4/24/2011
KARTHIK PEDAPALLI
248
Next
4/24/2011
KARTHIK PEDAPALLI
249
Select the flash folder & Enable archive & click Edit
Next
4/24/2011
KARTHIK PEDAPALLI
250
Next
4/24/2011
KARTHIK PEDAPALLI
251
Next
4/24/2011
KARTHIK PEDAPALLI
252
Next
KARTHIK PEDAPALLI 253
Next
4/24/2011 KARTHIK PEDAPALLI 254
Next
255
OK
Next
4/24/2011
KARTHIK PEDAPALLI
256
DB script generated
OK
4/24/2011
KARTHIK PEDAPALLI
257
Installation starts
4/24/2011
KARTHIK PEDAPALLI
258
Continues
4/24/2011
KARTHIK PEDAPALLI
259
Continues
4/24/2011
KARTHIK PEDAPALLI
260
DB installation is completed
4/24/2011
KARTHIK PEDAPALLI
261
4/24/2011
KARTHIK PEDAPALLI
262
Creating of Virtual Machine, Creating Directories, Installing Oracle & Installing Database are completed
4/24/2011
KARTHIK PEDAPALLI
263