1 video 📅 2025-06-19 09:00:00 Africa/Johannesburg
56:29
2025-06-19 09:54:29

Visit the XWIKi for Developers course recordings page

United Arab Emirates - XWiki for Developers

                WEBVTT

00:00:04.040 --> 00:00:07.180
Good job Karnesh and others as well.

00:00:07.400 --> 00:00:11.600
So I believe almost everyone done the executions and installations.

00:00:12.860 --> 00:00:14.980
Admin has poor network, no problem.

00:00:16.320 --> 00:00:19.060
Let me move to the next phase.

00:00:19.560 --> 00:00:27.860
What you did is you just update the environments and you can see here this will enable or

00:00:27.860 --> 00:00:32.240
this will allow us to play with the updated repository.

00:00:33.380 --> 00:00:39.180
And once it is updated repository will be displayed to you then what you can do it here

00:00:39.180 --> 00:00:42.480
you can install the softwares whatever we require.

00:00:43.260 --> 00:00:51.080
In this case we would like to install a software called a xwiki related softwares

00:00:51.080 --> 00:00:55.100
will require here that I will show you how it will be look like.

00:00:55.780 --> 00:00:57.760
So we can able to do it here.

00:00:57.980 --> 00:01:03.820
We require to understand whether we have an environment to install the packages and

00:01:03.820 --> 00:01:04.080
all.

00:01:04.520 --> 00:01:11.860
If it is not there we will try to install the software especially docker software

00:01:11.860 --> 00:01:14.560
because this will be run through the docker.

00:01:15.000 --> 00:01:18.640
So let me cross check it here whether I have docker or not.

00:01:19.940 --> 00:01:23.120
I don't have docker you see here I don't have docker.

00:01:23.120 --> 00:01:26.480
So that means I should need to install the docker.

00:01:26.740 --> 00:01:29.400
So docker steps I will share with you here.

00:01:29.460 --> 00:01:33.040
I'll share you this link once we finish it.

00:01:33.180 --> 00:01:42.840
So do su and then we did a APD update and then we started installing of docker.

00:01:43.940 --> 00:01:44.200
OK.

00:01:44.920 --> 00:01:47.300
Here we will perform this all commands.

00:01:47.380 --> 00:01:50.380
Let me share with you each and every one one by one.

00:01:51.100 --> 00:01:57.340
So you will get the idea like this one is one command we have.

00:01:58.700 --> 00:01:59.260
OK.

00:01:59.600 --> 00:02:03.380
Let's copy this command and I'll share with you.

00:02:03.520 --> 00:02:06.000
Also I'll try to run it in my machine as well.

00:02:06.740 --> 00:02:13.000
So here I will control shift V to paste it out and then I'll see it here.

00:02:13.140 --> 00:02:14.020
It's working or not.

00:02:14.200 --> 00:02:16.380
Let me show you this command first step.

00:02:18.120 --> 00:02:23.080
Second command is this one we have and third command is this one.

00:02:23.080 --> 00:02:27.760
So this will help you to install the docker because in the docker each and everything

00:02:27.760 --> 00:02:29.860
is will be available to us.

00:02:30.180 --> 00:02:33.380
The second command I also shared with you through chat window.

00:02:35.920 --> 00:02:43.100
This is I hope it doesn't make sense to you.

00:02:43.100 --> 00:02:44.540
You can able to do it right.

00:02:45.100 --> 00:02:47.900
Any difficulty if you have let me know.

00:02:48.300 --> 00:02:50.560
Two commands I also installed in my machine.

00:02:52.100 --> 00:02:55.740
I believe you can install the remaining one also.

00:03:08.300 --> 00:03:14.920
It should display you one line here download dot docker dot com at the time of update

00:03:14.920 --> 00:03:18.940
again this line should be displayed download dot docker dot com.

00:03:30.140 --> 00:03:45.720
You can share me your screen we'll see how it works in your machine.

00:03:46.460 --> 00:03:48.300
Also show you how to do that.

00:03:48.300 --> 00:03:50.140
You can share your screen please.

00:03:54.960 --> 00:03:56.820
One by one you can share your screen and see.

00:04:00.240 --> 00:04:03.000
Yeah it's loading now it should display.

00:04:03.900 --> 00:04:05.100
Yeah I can see your screen.

00:04:05.260 --> 00:04:05.820
OK.

00:04:07.560 --> 00:04:11.080
You can use something called control shift V.

00:04:11.220 --> 00:04:12.560
You can refresh this window.

00:04:12.880 --> 00:04:14.320
Maybe you will get the option.

00:04:14.320 --> 00:04:20.540
Can you see the enabled clipboard option enabled to you on the address bar.

00:04:20.700 --> 00:04:23.300
Let me take the control of your machine.

00:04:23.780 --> 00:04:25.120
Let me try it.

00:04:27.420 --> 00:04:29.960
Just accept my request.

00:04:34.020 --> 00:04:35.380
I have control.

00:04:36.320 --> 00:04:36.340
OK.

00:04:36.720 --> 00:04:38.400
I just return something here.

00:04:41.560 --> 00:04:43.780
Where do you copied from where you copied.

00:04:45.040 --> 00:04:46.400
Can you copy it again.

00:04:50.520 --> 00:04:52.840
No we cannot see if it is zoom screen.

00:04:54.400 --> 00:04:56.040
Can you paste it into notepad file.

00:05:11.080 --> 00:05:12.420
Yes bottom left.

00:05:15.400 --> 00:05:16.600
Always know.

00:05:20.900 --> 00:05:21.720
This this one.

00:05:22.440 --> 00:05:23.600
This one here.

00:05:27.840 --> 00:05:30.520
Same others also can try it.

00:05:31.080 --> 00:05:36.360
If you're facing same issue please try it and let us know if you need any help.

00:05:40.180 --> 00:05:40.820
Yes.

00:05:41.520 --> 00:05:43.880
Share me your screen so we can able to see.

00:05:49.400 --> 00:05:50.560
To devise the Tala.

00:05:50.880 --> 00:05:51.100
I'm not sure.

00:05:53.060 --> 00:05:54.480
Already interval in the.

00:05:55.000 --> 00:05:57.380
Aglai we mean trading or something.

00:05:58.460 --> 00:05:58.680
Yeah.

00:06:00.320 --> 00:06:02.620
Now I can see your screen.

00:06:03.580 --> 00:06:03.820
Yeah.

00:06:07.040 --> 00:06:07.340
There's a lot of.

00:06:12.200 --> 00:06:15.300
Oh trading to only me upon devise there is a program.

00:06:16.580 --> 00:06:17.900
To back up to us.

00:06:22.780 --> 00:06:23.740
Back up to us.

00:06:24.800 --> 00:06:26.160
To show me what's up.

00:06:26.440 --> 00:06:26.640
Munish.

00:06:27.360 --> 00:06:28.520
Nimesh number is Munesh.

00:06:30.500 --> 00:06:31.060
Nimesh.

00:06:31.260 --> 00:06:31.440
He'll.

00:06:32.060 --> 00:06:32.980
Send the number.

00:06:32.980 --> 00:06:33.760
OK.

00:06:34.840 --> 00:06:37.820
I think now you can do it right.

00:06:39.960 --> 00:06:43.380
Yeah if it is working fine for you then you can get to go.

00:06:44.460 --> 00:06:46.120
Able to do it right.

00:06:46.600 --> 00:06:47.340
Yes.

00:06:47.520 --> 00:06:48.340
Type Y.

00:06:48.820 --> 00:06:48.900
Enter.

00:06:53.060 --> 00:06:55.220
I saw some permission denied error.

00:06:58.260 --> 00:06:59.020
OK.

00:07:02.980 --> 00:07:04.300
No such file or.

00:07:05.380 --> 00:07:07.480
Maybe it is coming with the next line.

00:07:08.500 --> 00:07:10.120
Might be because of next line.

00:07:12.380 --> 00:07:14.500
Can you place these things into not bad files.

00:07:14.800 --> 00:07:16.080
So I'll get the idea.

00:07:18.700 --> 00:07:19.200
Yeah yeah.

00:07:19.280 --> 00:07:23.460
This is the area you're getting that means same way what Edwin he did it.

00:07:24.300 --> 00:07:25.660
Same way you guys need to do it.

00:07:25.680 --> 00:07:26.380
Are you getting a point.

00:07:27.860 --> 00:07:28.220
Well.

00:07:29.320 --> 00:07:32.340
Yeah I can I can share you so you can able to refer it.

00:07:32.340 --> 00:07:33.400
And then you can try it.

00:07:33.520 --> 00:07:37.220
Let me stop sharing his screen and share my screen to you.

00:07:38.260 --> 00:07:41.800
So you guys can understand how it should be.

00:07:42.380 --> 00:07:43.800
So it should be in one line.

00:07:43.920 --> 00:07:49.520
Remember this is completely in one line not in multiple because due to some

00:07:49.520 --> 00:07:55.240
space if you see here if I try to reduce it it should come in one or two

00:07:55.240 --> 00:07:56.220
line two line is correct.

00:07:57.020 --> 00:08:02.660
So this is line separation window tab which help us to separate the line

00:08:02.660 --> 00:08:03.240
basically.

00:08:04.000 --> 00:08:09.040
So make sure you should need to use this one after that some in and then

00:08:09.040 --> 00:08:10.680
here we have some data.

00:08:11.700 --> 00:08:15.220
Everyone need to follow the same thing right from here to here.

00:08:15.220 --> 00:08:17.580
Now you can try it.

00:08:17.760 --> 00:08:18.220
Let me know.

00:08:21.340 --> 00:08:21.940
Now.

00:08:27.360 --> 00:08:27.940
Sorry.

00:08:33.160 --> 00:08:34.840
It's all kind of technical call.

00:08:35.020 --> 00:08:35.840
They shouldn't do anything.

00:08:36.560 --> 00:08:37.880
But training the timing caring.

00:08:40.380 --> 00:08:41.480
The training time care.

00:08:41.640 --> 00:08:42.320
I go to the.

00:08:43.340 --> 00:08:43.880
QQ.

00:08:44.180 --> 00:08:45.140
What's the driver now block.

00:08:47.440 --> 00:08:58.980
I hope you did it's working for you let me know it should not be yeah it should

00:08:58.980 --> 00:09:04.700
just display you like a simple window without any errors or positive result

00:09:04.700 --> 00:09:07.400
something like this you can get it

00:09:23.500 --> 00:09:32.660
so I hope no such file or directory what's here is here even a screen I will

00:09:32.660 --> 00:09:36.560
show you how to do that let's do it together first

00:09:45.160 --> 00:09:55.740
you return command in multiple lines my suggestion it should need to be pasted

00:09:55.740 --> 00:10:01.460
in one line first notepad you can paste it any place paste it into notepad so

00:10:01.460 --> 00:10:06.320
we'll get the idea ah then no problem that means it is saved in that

00:10:06.320 --> 00:10:17.140
file there's no error means everything is okay and we do it is correct what

00:10:17.140 --> 00:10:27.640
about others see the last line what I see hello

00:10:33.620 --> 00:10:41.240
yeah I can hear you I think it's not correct what you return after a pseudo

00:10:41.240 --> 00:10:46.720
yeah stable by symbol we required press enter I think yes before pseudo

00:10:46.720 --> 00:10:56.680
before and no after this line this backslash and pseudo here you hit

00:10:59.500 --> 00:11:16.140
this is correct line now this line we required there let me know others

00:11:16.140 --> 00:11:26.040
able to do it Marco you finish John I would like to

00:11:26.040 --> 00:11:32.060
the I would like to move to the next phase next steps which we need to

00:11:32.060 --> 00:11:40.280
understand it let's move to the next phase once we done these things we'll

00:11:40.280 --> 00:11:44.520
try to move on to the next phase what we need to do it here is

00:11:44.520 --> 00:11:49.820
basically we will try to run the other command as well the command is

00:11:49.820 --> 00:11:55.340
already written here I will try to copy it one by one this command APT

00:11:55.340 --> 00:12:00.700
update also fine even this also fine because we are already inside this

00:12:00.700 --> 00:12:09.040
machine so here this command we require make sure you should get the

00:12:09.040 --> 00:12:13.860
something called download dot Docker dot com something like this you should

00:12:13.860 --> 00:12:19.120
need to get it when you try APT update this things should need to be

00:12:20.380 --> 00:12:30.800
so two things we have here one is APT update second one Docker dot com

00:12:30.800 --> 00:12:35.320
something like that right so you should have these two things in your

00:12:35.320 --> 00:12:41.680
environment let's try now and let me know once you can able to finish it

00:12:42.820 --> 00:12:50.560
good job what about others able to do these things APT and Docker dot com

00:12:50.560 --> 00:12:59.140
will able to see to you it's in our list so we can able to work with this

00:12:59.140 --> 00:13:04.960
environment okay others also finished I believe I can move to the next phase

00:13:04.960 --> 00:13:14.880
let me know if anybody is stuck okay and yeah please update yes is the next

00:13:14.880 --> 00:13:19.800
command I shared you the command in chat as well if for reference purpose

00:13:20.940 --> 00:13:25.560
let us know if you need any help in that area we'll try my level best

00:13:26.140 --> 00:13:32.320
that's also done let us know so I will proceed further to the next steps I

00:13:32.540 --> 00:13:37.660
believe everyone finished so once we see these things what I can do it

00:13:37.660 --> 00:13:47.040
basically let me try here this command this command I will share you through

00:13:47.040 --> 00:13:52.080
chat window you guys can refer it single command required and that's it

00:13:52.080 --> 00:13:58.280
this will help you to install community addition and it will also

00:13:58.280 --> 00:14:05.040
CLI and continuity runtime three parameters we required let me share you

00:14:05.040 --> 00:14:10.460
these all parameters if you are new just watch it here just two minutes to

00:14:10.460 --> 00:14:15.740
understand each and everything under this we are using hash symbol that

00:14:15.740 --> 00:14:21.960
means it is already sudo and the root is the user you can see here

00:14:21.960 --> 00:14:26.280
root is the user hash symbol you are using so there is no need to write

00:14:26.280 --> 00:14:33.320
sudo also for that case once we done this things we are using apt what is

00:14:33.320 --> 00:14:40.040
this apt package manager what it is a package manager tool this package

00:14:40.040 --> 00:14:47.860
manager tool is basically used to install add remove or uninstall

00:14:47.860 --> 00:14:56.260
something like that right we are doing here installation what we are

00:14:56.260 --> 00:15:05.060
we use why what is the purpose of why don't ask anything why means don't ask

00:15:05.060 --> 00:15:12.440
directly install install this is the reason we use why here we require three

00:15:12.440 --> 00:15:17.820
things to install these are what these are called package what it is a

00:15:17.820 --> 00:15:24.200
packages we have that we are installing why we require this package see for

00:15:24.200 --> 00:15:30.540
community addition what it is CE whatever we have it's for community

00:15:30.540 --> 00:15:37.860
addition the CLI and container D is for runtime runtime if you want you can

00:15:37.860 --> 00:15:42.520
use it CLI for command purpose if you want to write commands and all you

00:15:42.520 --> 00:15:48.600
use this one CLI okay so take a snapshot for this you want let me

00:15:50.700 --> 00:15:56.660
okay make sense to you guys so this command will help us to install and

00:15:56.660 --> 00:16:03.120
configure each and everything let me try to execute it if we did all things

00:16:03.120 --> 00:16:07.080
if you are interested to do this command it is available in the chat

00:16:07.080 --> 00:16:12.020
window you can try and let me know once you're done you can thumbs up off

00:16:13.940 --> 00:16:25.840
very fast others okay so we will try to use it directly and we will check it

00:16:25.840 --> 00:16:33.100
out here and then we'll see how we able to do it or not okay because I did

00:16:33.100 --> 00:16:37.740
the installation so might be in your machine also working fine for you and

00:16:37.740 --> 00:16:43.100
then we can check it out okay because I installed it and the whole thing will

00:16:43.100 --> 00:16:48.260
comes to your machine directly so that's why okay so let me let me try

00:16:48.260 --> 00:16:52.280
it here the next step sir what we require to do it you just cross

00:16:52.280 --> 00:16:56.140
check it instead of installing and all you just try to check it out

00:16:56.140 --> 00:17:01.380
Docker version is working or not okay it should display something like this

00:17:01.380 --> 00:17:09.820
will it work to you Docker version Docker info this two command without

00:17:09.820 --> 00:17:13.400
permission denied if it is working then we good to go if you are getting

00:17:13.400 --> 00:17:22.360
same message let me know Docker in version this command and Docker info

00:17:22.360 --> 00:17:27.460
these two commands we need to run it okay let me know once you run it

00:17:57.460 --> 00:18:03.540
so if you able to see this type of error permission denied that means we

00:18:03.540 --> 00:18:10.200
should need to change the mode of this file okay this file whatever we have

00:18:10.200 --> 00:18:15.740
here make sure you need to write the command ch mode and the ch mode

00:18:15.740 --> 00:18:21.860
should be sudo ch mode triple 7 and then this file and you can use

00:18:21.860 --> 00:18:26.720
something like this also no problem so this is the command to allow them

00:18:26.720 --> 00:18:33.220
without any problem anywhere to run it like mode we are trying to change the

00:18:33.220 --> 00:18:40.520
mode here okay once we run this command it display you like this so it will

00:18:40.520 --> 00:18:45.260
allow you to do this all I shared you this command as well this time if I

00:18:45.260 --> 00:18:49.360
try with the Docker info it will display me the whole information

00:18:49.360 --> 00:18:53.840
right are you getting some whole information again you try with Docker

00:18:53.840 --> 00:19:03.280
info getting all result let me know if you are getting if you are getting all

00:19:03.280 --> 00:19:18.080
result let us know okay good yes I believe everyone able to do the same

00:19:18.680 --> 00:19:29.500
let me move to the next phase I will check the user details as well next

00:19:29.500 --> 00:19:34.460
steps is what we have here we will check the permissions or you can go

00:19:34.460 --> 00:19:43.220
with the switch to the user root user system CTL status of Docker this is

00:19:43.220 --> 00:19:48.560
command to display all if you're not able to come out here then press Q

00:19:48.560 --> 00:20:02.240
button Q for quite so try to follow the commands accordingly okay and let

00:20:02.240 --> 00:20:09.240
me know once you're done I shared with you two commands with output okay

00:20:09.240 --> 00:20:16.840
you done yes please update it in the chat zoom chat you can update it and

00:20:16.840 --> 00:20:21.480
let us know once you finish make sure you should come out of this by

00:20:21.480 --> 00:20:28.720
pressing Q button okay did you finish it out

00:20:29.380 --> 00:20:34.560
Docker active and running okay good Karnias is working fine what about

00:20:34.560 --> 00:20:46.040
others you can share your screen we'll see how it looks like it's here

00:20:47.200 --> 00:20:53.720
press up key and enter no no okay you remove this all just write down the

00:20:53.980 --> 00:21:06.660
what we have system CTL status Docker type it no problem

00:21:10.760 --> 00:21:15.680
that means your service is running active and running smoothly without any

00:21:16.700 --> 00:21:24.680
you're good to go with the next steps okay thank you yeah thanks about others

00:21:24.680 --> 00:21:30.380
if anybody is stuck let us know Zaid you finish need any help let us know

00:21:32.440 --> 00:21:43.960
okay yeah you can share your screen we will try your you to help you out

00:21:43.960 --> 00:21:57.940
in this yeah I can see your screen now connection oh many times you tried

00:21:57.940 --> 00:22:06.680
yes okay no problem press ctrl C and hit enter to two three times this

00:22:07.280 --> 00:22:15.200
and press one or two times enter now you can check it so do one thing while

00:22:15.200 --> 00:22:23.920
doing this things you know just press ctrl shift V and edit this lines just

00:22:24.480 --> 00:22:32.140
scroll left arrow use left arrow don't use mouse and before sudo t slash

00:22:32.140 --> 00:22:39.340
sudo before there is one line we have slash backward slash no no no no no

00:22:39.340 --> 00:22:47.560
no remove this side then run hit enter this no no you not a straight

00:22:47.560 --> 00:22:52.240
properly one minute I will take a control of your file computer accept

00:22:52.240 --> 00:22:56.900
the request just wait I will show you how to do that okay

00:23:02.140 --> 00:23:11.540
while pasting this command you should need to remove this sudo slash this one and

00:23:11.540 --> 00:23:18.700
check out no such file okay do you have notepad I'll open your notepad

00:23:19.620 --> 00:23:24.240
okay or it's in that screen when you open notepad I am not able to open

00:23:24.240 --> 00:23:28.060
notepad in your machine maybe in different window bring it here or maybe

00:23:28.060 --> 00:23:34.500
you shared me this one window only yeah we not able to see ha ha you can

00:23:34.500 --> 00:23:41.500
reshare it no problem mm-hmm see add before sudo that slash should have

00:23:41.500 --> 00:23:49.100
space yes copy this whole thing okay no one thing just click on the next

00:23:50.020 --> 00:23:55.280
line and they were null just move your cursor there oh you're in same

00:23:55.280 --> 00:24:01.600
line okay then yeah that's okay yeah just paste it now leave it just paste

00:24:01.600 --> 00:24:07.580
the same thing in that terminal enter no such file or directory no problem do

00:24:07.580 --> 00:24:11.720
one thing you right here Docker space I also installed in your machine I

00:24:12.500 --> 00:24:25.260
think Docker space version it should be in second line because we are

00:24:25.920 --> 00:24:32.600
I installed in it I think so let's see here it is available or not no problem

00:24:34.000 --> 00:24:38.580
that's already done when I did these things it will be work to your

00:24:38.580 --> 00:24:47.220
machine also now next things try a Docker info exit and type exit here

00:24:47.220 --> 00:24:52.840
and then same command hit enter now you same come on no it will not come

00:24:52.840 --> 00:24:57.880
history right Docker space info here if you're getting error then we can able

00:24:57.880 --> 00:25:04.500
to try it okay huh huh long a book like in Janikantan

00:25:04.500 --> 00:25:10.460
yeah part of you name you have party here my world of achieve a yeah

00:25:12.640 --> 00:25:23.580
oh yeah Sophia Sophia either yeah that's correct now you good to go with our

00:25:23.580 --> 00:25:29.880
environments and all okay yeah thank you let's let me share my screen we'll

00:25:29.880 --> 00:25:35.320
proceed further okay one minute for everyone let's

00:25:35.320 --> 00:25:39.220
cross ticket everyone done right anybody is remaining let us know I'll

00:25:39.220 --> 00:25:58.320
give you one minute so I hope everyone finished next steps what we required we

00:25:58.320 --> 00:26:02.800
enable the things all whatever we required we can able to run the

00:26:02.800 --> 00:26:07.580
commands will create a network and under that network will create the

00:26:07.580 --> 00:26:11.680
whole scenario so for that what I will do it here I will show you what's

00:26:11.680 --> 00:26:15.840
going on inside so once we done this command this is just we did with the

00:26:15.840 --> 00:26:19.820
CH mode okay so not required the things we'll just go with the CH

00:26:19.820 --> 00:26:27.340
mode it will also works CH mode 777 slash war slash whatever the address

00:26:27.340 --> 00:26:34.100
we have that we need to mention it okay so once you run the things you

00:26:34.160 --> 00:26:38.960
see this environment and commands war socket files whatever it is so we'll

00:26:38.960 --> 00:26:43.280
write it now the next things what we have after that let me explain you the

00:26:43.280 --> 00:26:49.940
concept behind this we require a Docker environment right this is called

00:26:49.940 --> 00:26:54.400
a Docker environment and under this Docker environment we require to

00:26:54.400 --> 00:27:01.560
create a red color this red color represent a network what is this it is

00:27:01.560 --> 00:27:07.180
network and under this network we require to create two containers two or

00:27:07.180 --> 00:27:10.920
three container how many we want this green color represent the container

00:27:10.920 --> 00:27:18.160
okay the container what we have here is basically database container and the

00:27:18.160 --> 00:27:23.500
XWiki container XWiki container two containers we require so this might

00:27:23.500 --> 00:27:30.420
be database container right or another container we might have another

00:27:30.420 --> 00:27:36.540
container is basically XWiki container these things we require to create it

00:27:36.540 --> 00:27:41.160
getting a point we require to create this thing so step number one what we

00:27:41.160 --> 00:27:46.500
required step number one create a Docker network okay number two

00:27:47.120 --> 00:27:55.260
database container we required here we required a database container database

00:27:55.260 --> 00:28:01.440
container is very very important for us okay so for this we require database

00:28:01.440 --> 00:28:07.020
container number three we require XWiki container three containers we

00:28:07.020 --> 00:28:11.000
require and we will verify this each and everything we will create a

00:28:11.000 --> 00:28:16.420
network right what we'll do it here we'll create a network we will do

00:28:16.420 --> 00:28:21.940
two things in both containers one is the pulling the image and then we

00:28:21.940 --> 00:28:28.440
will run this image we'll pull it here also and then we will run it if you run

00:28:28.440 --> 00:28:33.980
directly also no problem okay these things we required so for that how

00:28:33.980 --> 00:28:37.980
we'll do these things I'll show you step by steps I'll write down these

00:28:37.980 --> 00:28:43.520
steps here three steps we require let's consider a steps okay a step

00:28:43.520 --> 00:28:52.880
create Docker network for XWiki deployment okay second step what we

00:28:52.880 --> 00:28:58.680
required we require to create Docker container database database container

00:28:59.300 --> 00:29:09.320
create database container create XWiki container okay these three things we

00:29:09.320 --> 00:29:16.140
let me go further in detail inside this what we required network to create a

00:29:16.140 --> 00:29:23.580
network we need to write the command the command is very easy so this one

00:29:23.580 --> 00:29:29.200
this command will helps you to create a network basically what it will do it

00:29:29.200 --> 00:29:34.160
will help you to create a network here so let's see here whether it is

00:29:34.160 --> 00:29:37.320
correct or not we will try to run this command I'll share with you

00:29:37.320 --> 00:29:43.460
also don't worry and then I will verify whether this got created or not let me

00:29:43.460 --> 00:29:52.200
try it here Docker network LS LS means list how many networks I have one two

00:29:52.200 --> 00:29:56.440
three bridge host none three networks we have let's try to create

00:29:56.440 --> 00:30:02.240
another network and here it will get created then when I cross check it

00:30:02.240 --> 00:30:07.500
here with the help of LS it will display us so if you observe here we have

00:30:07.500 --> 00:30:12.120
three things when we are performing Docker always you need to run the

00:30:12.120 --> 00:30:17.660
command Docker network is basically used for networking and LS means the

00:30:17.660 --> 00:30:24.440
list of network so this is called list of networks if you want so this

00:30:24.440 --> 00:30:29.840
is the main command this is the main command this one is a sub command CMD

00:30:29.840 --> 00:30:36.460
so you require two things main command and sub command list of networks if you

00:30:36.460 --> 00:30:42.100
want then you can reuse this command if you observe here the main command is

00:30:42.100 --> 00:30:49.960
here same where this instead of list what we have create command and some

00:30:49.960 --> 00:30:54.680
parameters about it what is this this is called IO redirection so we no

00:30:54.680 --> 00:30:58.220
need to worry about it that means either this or this should need to be

00:30:58.220 --> 00:31:03.240
true because this will be used when you have scripting stuff so we are not

00:31:03.240 --> 00:31:07.280
using this one but for your better understanding I just kept it if you

00:31:07.280 --> 00:31:13.400
want to go with the networking so this network will get created create

00:31:13.400 --> 00:31:20.480
Docker network what a Docker network if you want to create a Docker

00:31:20.480 --> 00:31:24.480
network this is the command we have and you need to follow this commands

00:31:24.480 --> 00:31:29.180
and once you've done this things you will cross check it here before we have

00:31:29.180 --> 00:31:36.560
one two three here we have fourth one also this one here the result which

00:31:36.560 --> 00:31:42.580
was not here available right so this is how we did the creation of

00:31:42.580 --> 00:31:47.220
network now your turn start two commands we require conclusions of

00:31:47.220 --> 00:31:52.380
these commands these two we have number one we require to create LSD

00:31:52.380 --> 00:31:59.080
okay then create the network then perform LS okay so only at the end we

00:31:59.080 --> 00:32:02.620
require only two commands so these two commands I will share with you

00:32:03.360 --> 00:32:08.040
through chat window zoom chat you can try to check it out and let me know

00:32:08.040 --> 00:32:13.600
once you done the things it's pasted in multi lens yes harness yes okay

00:32:13.600 --> 00:32:18.660
had been done what about others you can cross check the commands whether

00:32:18.660 --> 00:32:24.140
it is working or not but writing LS command as well I shared you LS

00:32:24.140 --> 00:32:29.780
command as well in chat window you can follow the same thing and you can let

00:32:29.780 --> 00:32:47.140
me know about it okay others finish only three people finish what about

00:32:53.400 --> 00:33:01.820
yes yes okay good so now we require to run I'll give you the practice of

00:33:01.820 --> 00:33:06.900
multiple line commands also there are multiple ways to run it out let me

00:33:06.900 --> 00:33:12.120
share you if everybody done we'll try to proceed it this is the command we

00:33:12.120 --> 00:33:19.380
done and once we done this command we run the command docker network LS before

00:33:19.380 --> 00:33:23.480
this also we can get the idea what's going on so that's why a docker

00:33:23.480 --> 00:33:29.760
network LS so this three commands required right and then we will try

00:33:29.760 --> 00:33:34.300
to go with the creating the create database container obviously this

00:33:34.300 --> 00:33:38.800
container which we require to select it here database means we will select

00:33:38.800 --> 00:33:43.780
MySQL and under the MySQL we have different version 5.7 will select it

00:33:43.780 --> 00:33:48.180
consider okay to do these things we should need to pull the image what

00:33:48.180 --> 00:33:53.340
we'll do it here we will start pulling this image by writing here the

00:33:53.340 --> 00:34:01.340
command docker pull and MySQL whatever the image you want 5.7 this

00:34:01.340 --> 00:34:06.660
command we will run it what is the benefit of this command this will help

00:34:06.660 --> 00:34:12.060
us to pull the particular image and we can verify this image is pulled or not

00:34:12.620 --> 00:34:20.260
by writing here docker images and then here we will run the next command

00:34:20.260 --> 00:34:25.140
docker images that means this will help us to pull the image before and

00:34:25.140 --> 00:34:28.720
after we will see the result let me try it here in my machine you can

00:34:28.720 --> 00:34:33.260
watch it if you not have confidence if you have confidence you can try it

00:34:33.260 --> 00:34:39.220
that's it I'll try to run this commands and then if it is pulled

00:34:39.220 --> 00:34:45.020
successfully it will download this file and it will be available to me on my

00:34:45.020 --> 00:34:50.380
LS command so I'll cross check it here whether this is possible to read

00:34:50.380 --> 00:34:58.780
it out yes images docker images and hit enter see here 5.7 MySQL is

00:34:58.780 --> 00:35:04.100
available to me remaining information is not important this is one will be

00:35:04.100 --> 00:35:14.560
available to us so what is this command this command is used to pull

00:35:14.560 --> 00:35:22.820
the particular image did you pull MySQL 5.7 if yes then just comes up

00:35:28.860 --> 00:35:38.560
oh Marco already existed okay already exists means that means you we have

00:35:38.560 --> 00:35:42.420
seen the whole images whatever I'm doing same thing you will get it I

00:35:42.420 --> 00:35:47.620
think that's why so full access denied can you share your screen

00:35:53.100 --> 00:36:03.180
we are human we should need to learn it by mistakes and understand it even I

00:36:03.180 --> 00:36:09.400
also got confused why it's asking even you have given full permissions now

00:36:09.400 --> 00:36:21.200
you check with the docker images images images yes good now the next

00:36:21.200 --> 00:36:29.040
things what we will understand the things how it's going on here you can

00:36:29.040 --> 00:36:35.520
see my screen I can able to see my images let's try to install the LTS

00:36:35.520 --> 00:36:42.260
MySQL Tomcat for XVT so for this I will try to share with you if it is done this

00:36:42.260 --> 00:36:46.940
steps then we'll move to the next steps we have required to go with the

00:36:46.940 --> 00:36:52.780
proper version of it right so no this is just pulling no sorry I forgot to

00:36:52.780 --> 00:36:57.960
write it here we need to use a run image also because creating docker

00:36:57.960 --> 00:37:04.300
container required two steps pull and then run okay everywhere you require we

00:37:04.300 --> 00:37:11.100
did pull successfully we require to use run stuffs okay so run stuff is very

00:37:11.100 --> 00:37:17.040
very important for us and once we done these things then it will help you to

00:37:17.040 --> 00:37:23.020
run it out into the particular environment okay makes sense everyone

00:37:23.020 --> 00:37:29.600
ready so the next step is what we required to clone this repository

00:37:29.600 --> 00:37:35.380
whatever we have and then instead of going with this I will try to run it out

00:37:35.380 --> 00:37:41.880
okay running stuff is simple but here we have multiple lines so same one what

00:37:41.880 --> 00:37:46.400
we discussed we have multiple line here maybe you will get an error

00:37:46.400 --> 00:37:50.640
because might be we are using some shared environment I think because

00:37:50.640 --> 00:37:54.220
mark also shared with us whatever we are doing you are getting same thing

00:37:54.220 --> 00:37:58.020
in your machine without doing anything right so no problem what you

00:37:58.020 --> 00:38:02.660
can do it here we can able to run this commands to understand whether it's

00:38:02.660 --> 00:38:11.360
working or not and under this commands we return here xvkey network this

00:38:11.360 --> 00:38:16.360
command will help you to check pull image is available or not if it is

00:38:16.360 --> 00:38:21.760
available then only it will perform this all operations my suggestion we

00:38:21.760 --> 00:38:27.120
should need to copy this command and check it with the notepad and then

00:38:27.120 --> 00:38:32.380
execute it there let me try it here before this running these images I would

00:38:32.380 --> 00:38:38.040
recommend you to go with the docker pull command docker ps minus a this

00:38:38.040 --> 00:38:44.100
command share with you how many things is working so here when you see

00:38:44.100 --> 00:38:51.980
docker ps a or even docker ps also works so you can see images will be

00:38:51.980 --> 00:38:55.160
displayed to you before this you should try it let me try it I will

00:38:55.160 --> 00:39:02.740
show you to you so here I will try a docker ps I don't have any images ps

00:39:02.740 --> 00:39:08.920
minus a I don't have any images running right so the next steps what we have

00:39:08.920 --> 00:39:15.160
will copy it from here I saw no images is running container there is no

00:39:15.160 --> 00:39:20.400
container ps will help you to display the container a to display the

00:39:20.580 --> 00:39:25.120
stop and all container running containers stop container ideal

00:39:25.120 --> 00:39:30.220
content whatever it is so for that we use a let's try to go with these

00:39:30.220 --> 00:39:38.460
steps and here we paste it out hit enter so you can see here ps minus a

00:39:38.460 --> 00:39:42.940
will display to you this one maybe you will get an error because shared

00:39:42.940 --> 00:39:49.240
environment might be because of that reason might be yeah because of

00:39:49.240 --> 00:39:57.320
shared environment might be no problem and that created 40 hours ago is

00:39:57.320 --> 00:40:06.600
basically is a part of what last time committed

00:40:10.120 --> 00:40:17.240
created 80 months ago so this created is just last time how we

00:40:17.240 --> 00:40:22.540
committed when we committed last time so that will display to you here it's

00:40:22.540 --> 00:40:31.460
not important for us we are using this image we are using this so this one

00:40:31.460 --> 00:40:36.520
is not important docker ps is important for us let's run this thing

00:40:36.520 --> 00:40:42.000
and check it out in your machine also docker ps it should display

00:40:42.000 --> 00:40:55.440
something like this 3306 now you are done check it out ps at least works to

00:40:59.940 --> 00:41:05.240
you yeah yeah I will I will share with you the docker run command for

00:41:05.240 --> 00:41:10.460
database let me share with you through chat window you guys can refer

00:41:10.460 --> 00:41:17.960
make sure you can increase the window size of chat like this I don't know

00:41:17.960 --> 00:41:23.300
whether it is possible to show you but window size should be increased with

00:41:23.300 --> 00:41:28.600
especially so you will see the command in one line otherwise it will

00:41:28.600 --> 00:41:34.300
split automatically to multiple check out these things this is run command

00:41:34.300 --> 00:41:41.560
and once you've done the run you can check the next command is docker ps

00:41:42.420 --> 00:41:49.820
everyone should get one record here are you getting the record here docker

00:41:49.820 --> 00:41:56.780
ps and this is the next okay good not wrong two or three because this I

00:41:57.030 --> 00:42:16.430
think they given shared environment so no worry for this we can do one thing

00:42:16.430 --> 00:42:21.630
we can change the port number and the name of the container you can do one

00:42:21.630 --> 00:42:26.270
thing here you can write your name my name is Mujahid I will write my name

00:42:26.270 --> 00:42:34.130
let's keep everything as it is only here you change your name so without

00:42:34.130 --> 00:42:38.150
any problem you will see the result also even you can create multiple

00:42:38.150 --> 00:42:43.590
images as well no problem might be here port number is the

00:42:43.590 --> 00:42:55.030
challenge right anyone can share the screen so I'll get the idea what's

00:42:55.030 --> 00:43:17.150
going on background so I think the machines will never reset after the

00:43:17.150 --> 00:43:21.170
previous training happen because everything is running from 40 hours ago

00:43:22.170 --> 00:43:26.630
previous training session so all the containers everything already exists we

00:43:26.630 --> 00:43:32.190
haven't managed to create anything everything was there so now when we go

00:43:32.190 --> 00:43:36.930
and try and create for example the my sequel container it says it already

00:43:36.930 --> 00:43:46.010
exists let me try to control it and I'll request you to share your

00:43:57.690 --> 00:44:08.370
yeah we can do one thing minus P 3 3 0 7 colon 3 3 0 6 and then we'll check

00:44:08.370 --> 00:44:12.510
it off it should work now in Docker colon latest who's this image name is

00:44:13.110 --> 00:44:19.490
latest so leave others but here you can see

00:44:30.450 --> 00:44:35.870
so we require port number also to change here 3 3 0 6 is the default I

00:44:35.870 --> 00:44:40.930
selected this one you guys can also select yours if you selected 3 3 0 7

00:44:40.930 --> 00:44:45.810
nobody will try to go with the same port and you guys can see here what's

00:44:45.810 --> 00:44:51.210
going on in the group now you can check it here okay

00:45:02.890 --> 00:45:08.890
I selected mine as my sequel Mujahid my sequel X Vicky my sequel I'll

00:45:09.040 --> 00:45:18.860
share you my screen it was for me it was this my sequel X Vicky my sequel is

00:45:18.860 --> 00:45:23.920
my name you can create by your name only few things we require to change it

00:45:23.920 --> 00:45:31.220
here here when another parameter will be added that's called a space 3 3

00:45:31.220 --> 00:45:41.620
0 7 suppose or 8 or 9 whatever it is 8 or 9 and then 3 3 0 6 port binding we

00:45:41.620 --> 00:45:46.400
required because we are using I think similar environment so best option

00:45:46.400 --> 00:45:50.720
what we have we can use port binding and you can give them this

00:45:50.720 --> 00:45:56.380
environment it is let me try it with mine with my name here I will give

00:45:56.380 --> 00:46:03.400
11 and here let me copy these things and I'll copy it and I'll go to this

00:46:03.400 --> 00:46:11.920
location let me check with the docker peers I'm having only one here I will

00:46:11.920 --> 00:46:19.680
execute this command oh come on not from oh I forgot to write here slash

00:46:19.680 --> 00:46:24.780
to split it with the multiple line once we done these things we will try

00:46:24.780 --> 00:46:31.740
to copy it here with the docker ps only one record second record let's check it

00:46:31.740 --> 00:46:37.120
with the ps then two records we have Mujahid and my sequel did you

00:46:37.120 --> 00:46:42.600
understand my point what I did only two things I did I just changed with

00:46:42.600 --> 00:46:47.960
this two lines the selected part I change it if you want this command I

00:46:47.960 --> 00:46:51.780
will share with you make sure you should not use this port number you

00:46:51.780 --> 00:46:56.220
should try with the different ports okay and whatever the port you are

00:46:56.220 --> 00:47:00.660
using please declare in the chat window so we will get it who's using

00:47:00.660 --> 00:47:07.580
which port number so I'm using 3 3 3 1 1 from Mujahid site like this you

00:47:07.580 --> 00:47:12.280
can write it you try it now and I'll show you the command definitely

00:47:12.280 --> 00:47:18.360
this command 3 3 1 1 will not be work because I allocated this port

00:47:18.360 --> 00:47:22.860
number so my suggestion instead of that you can select your port number

00:47:22.860 --> 00:47:28.720
and you can mention it here okay so the host machine port number should be

00:47:28.720 --> 00:47:39.500
different 3306 will be same only you need to change 3 3 1 1 two

00:47:39.500 --> 00:47:44.440
different first you declare it which you are looking for and make sure

00:47:44.440 --> 00:47:50.500
others will not conflict with the same port and then try it mine is 3306

00:47:50.500 --> 00:47:56.600
earlier so how it is works means you are using my port we did 3306

00:47:56.600 --> 00:48:04.620
with the different one no problem if you use 3306 or 60 right hand side

00:48:04.620 --> 00:48:09.040
you should not change it keep it right hand side as it is only left hand

00:48:09.040 --> 00:48:14.480
side you need to change it guys on the left hand side

00:48:19.140 --> 00:48:24.840
show me your screen

00:48:28.640 --> 00:48:37.340
hmm I found your command is running after haha I also did the same thing

00:48:37.340 --> 00:48:45.540
take care of it like last line 3 3 2 2 you return so that one should have a

00:48:45.540 --> 00:48:49.760
space slash you can check it in my chat window call in chat window we

00:48:49.760 --> 00:48:55.700
return after 3306 space backward slash and then my SQL and all remaining

00:48:55.700 --> 00:49:05.200
things we required yeah yeah I hope it is working for everyone let me know

00:49:05.200 --> 00:49:08.460
if you need any help you can share your screen I'll show you how to do

00:49:15.560 --> 00:49:33.740
everyone finished okay I saw two people done others can also use chat

00:49:33.740 --> 00:49:46.060
window to discuss let's keep a you done John okay yeah I believe everyone

00:49:46.060 --> 00:49:49.760
finish let me cross check it here

00:50:08.480 --> 00:50:15.040
at least one database server we require to be done maybe my side 3307

00:50:15.040 --> 00:50:19.840
is creating or maybe some deleted but at least one database server we need

00:50:19.840 --> 00:50:33.720
to be done yeah yeah you can share your screen I'm waiting for it

00:50:33.720 --> 00:50:42.540
I can see now your screen what you run the command Docker minus name car name

00:50:42.540 --> 00:50:49.320
and then port number looks like everything is okay but unable to find

00:50:49.320 --> 00:50:56.580
the image execute network latest why X wiki network latest oh it's picking

00:50:56.580 --> 00:51:02.840
up the name as X wiki latest the space we required I found call where

00:51:02.840 --> 00:51:07.100
it is the call command and after that we require a space that you not

00:51:07.980 --> 00:51:15.420
mentioned getting wine just use up arrow to get the previous command up

00:51:15.420 --> 00:51:21.000
arrow here yes and just go there and keep the space mouse will not work

00:51:21.000 --> 00:51:28.100
out you can use control and tab left arrow control and left arrow mouse

00:51:28.100 --> 00:51:34.180
will not work control will go very fast yes hit enter now yes it got

00:51:34.180 --> 00:51:45.400
created press Docker LS sorry Docker PS you see call 3 3 2 2 is working what

00:51:45.400 --> 00:51:54.580
it okay good good job you should also take a phone we should need to

00:51:54.940 --> 00:52:00.320
officially three breaks here and I'll show you what are the plan we have we

00:52:00.320 --> 00:52:05.080
usually have three breaks but there is some cloning options we have that's

00:52:05.080 --> 00:52:11.160
why we not did it let me share with you we have a 15-minute break 40

00:52:12.520 --> 00:52:19.080
first break we will take it 15 minute 40 and then one hour for lunch and I

00:52:19.080 --> 00:52:23.640
believe no 15 minute is not possible today and after that we will take

00:52:24.360 --> 00:52:30.680
15 minutes for snack break okay so that will do it here now we'll take the

00:52:30.680 --> 00:52:35.180
lunch one hour break and then after that we'll continue it which time is

00:52:35.180 --> 00:52:48.700
your lunch time guys your time zone is which one okay

00:52:57.560 --> 00:53:06.720
after how much time after 15 minutes okay you can just remind me so

00:53:06.720 --> 00:53:10.680
accordingly I will try to follow it I'll take one break now let's take a

00:53:10.680 --> 00:53:19.720
break lunch break and then we'll proceed it okay okay thank you thank

00:53:22.060 --> 00:53:28.220
so we're reconvening in 15 minutes or one hour one hour we'll meet after one