Installing Oracle Database 18c Express Edition

14 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€67.18
List Price:  €95.97
You save:  €28.79
£55.86
List Price:  £79.80
You save:  £23.94
CA$97.87
List Price:  CA$139.82
You save:  CA$41.95
A$107.62
List Price:  A$153.75
You save:  A$46.13
S$94.24
List Price:  S$134.64
You save:  S$40.39
HK$544.83
List Price:  HK$778.36
You save:  HK$233.53
CHF 62.54
List Price:  CHF 89.34
You save:  CHF 26.80
NOK kr774.97
List Price:  NOK kr1,107.14
You save:  NOK kr332.17
DKK kr501
List Price:  DKK kr715.75
You save:  DKK kr214.74
NZ$119.95
List Price:  NZ$171.37
You save:  NZ$51.41
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.19
৳8,361.58
List Price:  ৳11,945.63
You save:  ৳3,584.04
₹5,909.84
List Price:  ₹8,442.99
You save:  ₹2,533.15
RM312.71
List Price:  RM446.75
You save:  RM134.04
₦118,484.88
List Price:  ₦169,271.38
You save:  ₦50,786.49
₨19,443.22
List Price:  ₨27,777.22
You save:  ₨8,334
฿2,412.28
List Price:  ฿3,446.26
You save:  ฿1,033.98
₺2,418.32
List Price:  ₺3,454.90
You save:  ₺1,036.57
B$406.01
List Price:  B$580.04
You save:  B$174.03
R1,267.89
List Price:  R1,811.35
You save:  R543.45
Лв131.37
List Price:  Лв187.69
You save:  Лв56.31
₩98,301.65
List Price:  ₩140,436.95
You save:  ₩42,135.30
₪259.10
List Price:  ₪370.16
You save:  ₪111.06
₱4,125.14
List Price:  ₱5,893.31
You save:  ₱1,768.17
¥10,832.35
List Price:  ¥15,475.45
You save:  ¥4,643.10
MX$1,429.79
List Price:  MX$2,042.64
You save:  MX$612.85
QR255.18
List Price:  QR364.56
You save:  QR109.38
P956.90
List Price:  P1,367.06
You save:  P410.16
KSh9,061.51
List Price:  KSh12,945.58
You save:  KSh3,884.06
E£3,475.01
List Price:  E£4,964.52
You save:  E£1,489.50
ብር8,566
List Price:  ብር12,237.67
You save:  ብር3,671.66
Kz63,900.87
List Price:  Kz91,290.87
You save:  Kz27,390
CLP$69,057.73
List Price:  CLP$98,658.13
You save:  CLP$29,600.40
CN¥506.93
List Price:  CN¥724.22
You save:  CN¥217.29
RD$4,217.06
List Price:  RD$6,024.63
You save:  RD$1,807.57
DA9,397.90
List Price:  DA13,426.15
You save:  DA4,028.25
FJ$159.29
List Price:  FJ$227.57
You save:  FJ$68.27
Q540.13
List Price:  Q771.64
You save:  Q231.51
GY$14,638.82
List Price:  GY$20,913.50
You save:  GY$6,274.67
ISK kr9,776.20
List Price:  ISK kr13,966.60
You save:  ISK kr4,190.40
DH703.91
List Price:  DH1,005.63
You save:  DH301.72
L1,275.33
List Price:  L1,821.98
You save:  L546.64
ден4,132.76
List Price:  ден5,904.20
You save:  ден1,771.43
MOP$561.01
List Price:  MOP$801.48
You save:  MOP$240.46
N$1,268.91
List Price:  N$1,812.81
You save:  N$543.90
C$2,574.70
List Price:  C$3,678.31
You save:  C$1,103.60
रु9,449.77
List Price:  रु13,500.25
You save:  रु4,050.48
S/265.32
List Price:  S/379.05
You save:  S/113.72
K281.71
List Price:  K402.47
You save:  K120.75
SAR262.77
List Price:  SAR375.40
You save:  SAR112.63
ZK1,934.92
List Price:  ZK2,764.29
You save:  ZK829.37
L334.42
List Price:  L477.77
You save:  L143.34
Kč1,702.59
List Price:  Kč2,432.37
You save:  Kč729.78
Ft27,646.05
List Price:  Ft39,496.05
You save:  Ft11,850
SEK kr772.42
List Price:  SEK kr1,103.50
You save:  SEK kr331.08
ARS$70,259.44
List Price:  ARS$100,374.93
You save:  ARS$30,115.49
Bs483.50
List Price:  Bs690.75
You save:  Bs207.24
COP$307,238.59
List Price:  COP$438,931.09
You save:  COP$131,692.49
₡35,641.51
List Price:  ₡50,918.63
You save:  ₡15,277.11
L1,768.23
List Price:  L2,526.16
You save:  L757.92
₲546,248.87
List Price:  ₲780,388.98
You save:  ₲234,140.10
$U2,983.14
List Price:  $U4,261.82
You save:  $U1,278.67
zł291.40
List Price:  zł416.31
You save:  zł124.90
Already have an account? Log In

Transcript

Hi, let's talk about installing Oracle 18. See, the latest version from Oracle will be interested in Oracle 18 three Express Edition, which is meant for beginners and hobbyist. The first thing we need to do is download a TNC Express Edition. So click here. First you have to go to oracle.com. And in the homepage you see downloads right here.

This is where you need to click and it is going to provide your list of options. And there you have to select what do you want to download? Go to database, because we want to download Oracle Database 18 C and then you have to select database 18 c Express Edition The rest of the additions are priced. They are not free. So we work with a TNC Express Edition. Click on this.

And it's going to ask you which version you want to download. Is it for Linux or Windows? Unfortunately, there is no Oracle for Mac. So if you're a Mac user, sorry, you're disappointed. So this is how we get here. Click on that.

It'll start the download, accept the license agreement, click on that. And it might ask you to login because you are expected to log in with a racquel account. So there you are. So it's asking me to log in but my credentials are all laid there. I say just get in. And now it will start downloading it while it's going to take a while to download that.

Put it anywhere you like. But make sure you know Where it is going. And of course, it's a little big. In my case actually, I just downloaded this so I'm not going to download it again. So in my case, it is here in my Oracle folder I already downloaded it, and as you can see it's around two GB. Okay, that's the size of it and you have to wait for quite some time before the whole thing is downloaded.

And once it is downloaded, then we'll review the installation process for now I'm not proceeding with the download because I already have it. So you carry on with your download and once you're done, then you can come back here. Well, here we are. The download is done. And this is what you got from oracle.com just extracted because this is a Jeep file and I'm using windra you can use whatever you like. And it is to be extracted.

I already extracted that into folder like this. And mine is Windows version and that 264 bit. So get into that folder and start the setup program, double click on setup. And it's going to start yes proceed and it is going to start the installation process. We don't have too many steps in this but it does take some time. So let us take the required steps first and then we can leave it for installation.

So go to the next step and then accept the license agreement as usual. Next, it's asking where do you want to install this and I prefer to change the folder. I prefer to put it in a folder like racquel 18 While you can choose whatever you like. So I just want to put it in a folder called Oracle 18. And that's where it is going to install this and make sure you have enough space. Go to the next step.

And this is very important. This is the password that you need to use to log into Oracle. So give a simple password and unless you have a reason do not complicate it. So keep it simple. So I gave the password and trying to proceed. It's showing me where it is going to install Oracle and go ahead and say install and it's going to take a while to install and we'll come back once the installation is completely done.

The installation is completed and you must be seeing a screen like this. Pay close attention to this This is the pluggable database that we are actually interested in. We also have something called container database, which is also important, but our interest is more on this. It's because this contains a user called HR, which is about human resource. That's what we are going to use. So all through so this is the name of the database.

Okay, x e, that is Express Edition, pluggable database. And we can also connect it to a container database without this name, and actually the name of that database is simply x E. Well, we need to take a couple of steps now to connect it to Oracle database and this is different from what it used to be in level g Express Edition bit of advice here. If you are not really keen about the latest version, I strongly recommend you go with 11 g Express Edition, which is very good for beginners and you don't have different databases single database. So the whole process of connection etc would be much easier. And also it doesn't take as much time as 18 c takes. So if you're all about lending databases and interested in laying a foundation, Levin G is an awesome database system.

I mean, Levin g Express Edition, please check out my YouTube channel to understand how to get started with 11 g because it's possible to install and then make things happen much more quickly and relatively easily. Anyway, we have done this so Let's just click on Finish to finish things off. And now how do you connect to database first go to command prompt, I hope you know how to get there. And once you go to command prompt, then find out what is the IP address of your system. And this is exactly what I want you to remember the IP address you get from your IP config command. So here is the command IP config and it gives you information about your systems IP address, we need this.

So 192 dot 168 dot one dot 34 is my system but please find out what it is in your system. So once you get that then we are all set to connect to Oracle. We are not connecting to a container database. We are interested in pluggable database so we can Straight away start with SQL plus, that's the program provided by Oracle. And then we need to use something like the username system is the username. Whatever password you have given in my case have given a very simple password that is Oracle.

And then you need to give the IP address of your system. So we have just seen the IP address so 192 dot 168 dot one dot 34 colon 1521 and then you need to go with something like a slash. And then you need to give the database name X key PDB one, this is the full string so system the name of the user system means the data Ba the administrator, Oracle is the password I have given. And this is the IP address of my system. This is the standard number 1521. And then this is the name of pluggable database and with this command we can connect it to or I can just press ENTER key after that, you are connected.

And here we are, we are connected to racquel 18 c Express Edition, you can clearly see that Okay, and now we connected to system you can even ask racquel who you are by saying show user it says your system. Now we have an account called HR, the human resource account which contains tables it has precisely seven tables with a reasonable amount of data. Very good set of tables for beginners to learn what is what is The tables were designed by racquel Education team. So here, I'm going to unlock that account that hatch our account is by default locked, we can't access it. So we have to give two commands to unlock it, just give the commands as they are, you might not know much about what they do, but they just unlock the account, alter user HR account, unlock. This is the command and don't forget semicolon at the end and press ENTER key, you unlock the account and also change the password because the existing password is expired.

So you have to give a new password but I give the same password that is HR. The user name and password are same. That's okay. You can give a different password if you like. So alter user HR identified by HR. That's the past Word, that's it, you unlock the account with this command.

And then you change the password with this command. And now you're all set to exit this account the system account and get back to that account. So just go back and give the same command just change HR HR system should be replaced with HR and password is replaced with HR, the rest remains the same. And now you are connected to HR. And all that you need to do is just again, find out who you are, you are now HR and you can also find out the tables that are present. You can say select the name from something like okay t name from tab, and that is going to tell you what are the tables that are present.

Well, you get To see more about select later, but for now, this command is saying displayed the table name for all the tables. And these are the tables that you have. So you will get to know them later. For now, this is the way you log into system account. So this is very important, you got to give this. And if you're not giving all the details, then you will be connecting to the other database called container database.

And the problem with container databases, you don't have this HR account. This is only in this pluggable database. So please remember that, and this is the way you connect to it. And you can start using the tables that are there. For example, we have a table called jobs and we can get all the columns or we can just take job titles from that I say job title. And that's it.

This is how you can give commands. Okay, so once again, I repeat the process, please make sure you understood that this is how you connect it to system account first, after you're connected to system account with the password you have given at the time of installation. Remember when we were installing, we were asked to enter password and this is that password. And this is the IP address of your system and you have to be aware of it. So find out this by using IP config command. And these are all standard names don't change them.

And 1521 is a standard port number. And this is the database name. So just give them as they are and you will be connected to system but then you need to give two commands in order to unlock the account the first time The commands is HR unlock. So alter user HR account unlock, then you need to give one more command to change the password. That's all you need to do after log into system, get out of it. And now you cannot using HR like this.

This is precisely what you need to do. But if you try to do it in the beginning, you get them essays, the account is locked. So, log into system, unlock it, now you're ready to go. Okay, so that's how you get started.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.