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.35
List Price:  €96.21
You save:  €28.86
£55.83
List Price:  £79.77
You save:  £23.93
CA$100.76
List Price:  CA$143.95
You save:  CA$43.19
A$112.23
List Price:  A$160.33
You save:  A$48.10
S$95.14
List Price:  S$135.93
You save:  S$40.78
HK$543.62
List Price:  HK$776.63
You save:  HK$233.01
CHF 63.04
List Price:  CHF 90.06
You save:  CHF 27.02
NOK kr797.48
List Price:  NOK kr1,139.30
You save:  NOK kr341.82
DKK kr502.49
List Price:  DKK kr717.87
You save:  DKK kr215.38
NZ$124.10
List Price:  NZ$177.29
You save:  NZ$53.19
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.18
৳8,361.55
List Price:  ৳11,945.58
You save:  ৳3,584.03
₹5,962.79
List Price:  ₹8,518.63
You save:  ₹2,555.84
RM314.04
List Price:  RM448.65
You save:  RM134.61
₦108,335.42
List Price:  ₦154,771.52
You save:  ₦46,436.10
₨19,495.71
List Price:  ₨27,852.21
You save:  ₨8,356.49
฿2,390.81
List Price:  ฿3,415.60
You save:  ฿1,024.78
₺2,467.44
List Price:  ₺3,525.07
You save:  ₺1,057.62
B$434.14
List Price:  B$620.23
You save:  B$186.09
R1,296.68
List Price:  R1,852.48
You save:  R555.80
Лв131.68
List Price:  Лв188.12
You save:  Лв56.44
₩102,198.93
List Price:  ₩146,004.73
You save:  ₩43,805.79
₪256.56
List Price:  ₪366.53
You save:  ₪109.97
₱4,090.81
List Price:  ₱5,844.26
You save:  ₱1,753.45
¥10,994.99
List Price:  ¥15,707.80
You save:  ¥4,712.81
MX$1,408.98
List Price:  MX$2,012.91
You save:  MX$603.93
QR255.09
List Price:  QR364.43
You save:  QR109.34
P967.82
List Price:  P1,382.66
You save:  P414.84
KSh9,046.20
List Price:  KSh12,923.70
You save:  KSh3,877.50
E£3,562.49
List Price:  E£5,089.49
You save:  E£1,527
ብር8,907.19
List Price:  ብር12,725.10
You save:  ብር3,817.91
Kz63,830.88
List Price:  Kz91,190.88
You save:  Kz27,360
CLP$69,323.69
List Price:  CLP$99,038.09
You save:  CLP$29,714.40
CN¥510.80
List Price:  CN¥729.75
You save:  CN¥218.94
RD$4,245.36
List Price:  RD$6,065.06
You save:  RD$1,819.70
DA9,465.07
List Price:  DA13,522.10
You save:  DA4,057.03
FJ$162.39
List Price:  FJ$232
You save:  FJ$69.60
Q539.11
List Price:  Q770.19
You save:  Q231.08
GY$14,638.77
List Price:  GY$20,913.42
You save:  GY$6,274.65
ISK kr9,772.70
List Price:  ISK kr13,961.60
You save:  ISK kr4,188.90
DH703.98
List Price:  DH1,005.73
You save:  DH301.75
L1,291.33
List Price:  L1,844.84
You save:  L553.50
ден4,143.97
List Price:  ден5,920.21
You save:  ден1,776.24
MOP$559.97
List Price:  MOP$800
You save:  MOP$240.02
N$1,289.45
List Price:  N$1,842.15
You save:  N$552.70
C$2,574.80
List Price:  C$3,678.44
You save:  C$1,103.64
रु9,534.71
List Price:  रु13,621.60
You save:  रु4,086.89
S/260.99
List Price:  S/372.86
You save:  S/111.86
K283.85
List Price:  K405.52
You save:  K121.66
SAR262.91
List Price:  SAR375.60
You save:  SAR112.69
ZK1,936.45
List Price:  ZK2,766.47
You save:  ZK830.02
L335.12
List Price:  L478.77
You save:  L143.64
Kč1,694.03
List Price:  Kč2,420.15
You save:  Kč726.12
Ft27,771.44
List Price:  Ft39,675.18
You save:  Ft11,903.74
SEK kr774.38
List Price:  SEK kr1,106.30
You save:  SEK kr331.92
ARS$71,792.58
List Price:  ARS$102,565.23
You save:  ARS$30,772.64
Bs484.55
List Price:  Bs692.24
You save:  Bs207.69
COP$307,165.41
List Price:  COP$438,826.54
You save:  COP$131,661.12
₡35,530.54
List Price:  ₡50,760.09
You save:  ₡15,229.55
L1,777.33
List Price:  L2,539.15
You save:  L761.82
₲546,250
List Price:  ₲780,390.60
You save:  ₲234,140.59
$U3,115.91
List Price:  $U4,451.49
You save:  $U1,335.58
zł287.82
List Price:  zł411.19
You save:  zł123.37
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.