56:29
2025-06-19 09:54:29
Visit the XWIKi for Developers course recordings page
United Arab Emirates - XWiki for Developers
WEBVTT--> Good job Karnesh and others as well. --> So I believe almost everyone done the executions and installations. --> Admin has poor network, no problem. --> Let me move to the next phase. --> What you did is you just update the environments and you can see here this will enable or --> this will allow us to play with the updated repository. --> And once it is updated repository will be displayed to you then what you can do it here --> you can install the softwares whatever we require. --> In this case we would like to install a software called a xwiki related softwares --> will require here that I will show you how it will be look like. --> So we can able to do it here. --> We require to understand whether we have an environment to install the packages and --> all. --> If it is not there we will try to install the software especially docker software --> because this will be run through the docker. --> So let me cross check it here whether I have docker or not. --> I don't have docker you see here I don't have docker. --> So that means I should need to install the docker. --> So docker steps I will share with you here. --> I'll share you this link once we finish it. --> So do su and then we did a APD update and then we started installing of docker. --> OK. --> Here we will perform this all commands. --> Let me share with you each and every one one by one. --> So you will get the idea like this one is one command we have. --> OK. --> Let's copy this command and I'll share with you. --> Also I'll try to run it in my machine as well. --> So here I will control shift V to paste it out and then I'll see it here. --> It's working or not. --> Let me show you this command first step. --> Second command is this one we have and third command is this one. --> So this will help you to install the docker because in the docker each and everything --> is will be available to us. --> The second command I also shared with you through chat window. --> This is I hope it doesn't make sense to you. --> You can able to do it right. --> Any difficulty if you have let me know. --> Two commands I also installed in my machine. --> I believe you can install the remaining one also. --> It should display you one line here download dot docker dot com at the time of update --> again this line should be displayed download dot docker dot com. --> You can share me your screen we'll see how it works in your machine. --> Also show you how to do that. --> You can share your screen please. --> One by one you can share your screen and see. --> Yeah it's loading now it should display. --> Yeah I can see your screen. --> OK. --> You can use something called control shift V. --> You can refresh this window. --> Maybe you will get the option. --> Can you see the enabled clipboard option enabled to you on the address bar. --> Let me take the control of your machine. --> Let me try it. --> Just accept my request. --> I have control. --> OK. --> I just return something here. --> Where do you copied from where you copied. --> Can you copy it again. --> No we cannot see if it is zoom screen. --> Can you paste it into notepad file. --> Yes bottom left. --> Always know. --> This this one. --> This one here. --> Same others also can try it. --> If you're facing same issue please try it and let us know if you need any help. --> Yes. --> Share me your screen so we can able to see. --> To devise the Tala. --> I'm not sure. --> Already interval in the. --> Aglai we mean trading or something. --> Yeah. --> Now I can see your screen. --> Yeah. --> There's a lot of. --> Oh trading to only me upon devise there is a program. --> To back up to us. --> Back up to us. --> To show me what's up. --> Munish. --> Nimesh number is Munesh. --> Nimesh. --> He'll. --> Send the number. --> OK. --> I think now you can do it right. --> Yeah if it is working fine for you then you can get to go. --> Able to do it right. --> Yes. --> Type Y. --> Enter. --> I saw some permission denied error. --> OK. --> No such file or. --> Maybe it is coming with the next line. --> Might be because of next line. --> Can you place these things into not bad files. --> So I'll get the idea. --> Yeah yeah. --> This is the area you're getting that means same way what Edwin he did it. --> Same way you guys need to do it. --> Are you getting a point. --> Well. --> Yeah I can I can share you so you can able to refer it. --> And then you can try it. --> Let me stop sharing his screen and share my screen to you. --> So you guys can understand how it should be. --> So it should be in one line. --> Remember this is completely in one line not in multiple because due to some --> space if you see here if I try to reduce it it should come in one or two --> line two line is correct. --> So this is line separation window tab which help us to separate the line --> basically. --> So make sure you should need to use this one after that some in and then --> here we have some data. --> Everyone need to follow the same thing right from here to here. --> Now you can try it. --> Let me know. --> Now. --> Sorry. --> It's all kind of technical call. --> They shouldn't do anything. --> But training the timing caring. --> The training time care. --> I go to the. --> QQ. --> What's the driver now block. --> I hope you did it's working for you let me know it should not be yeah it should --> just display you like a simple window without any errors or positive result --> something like this you can get it --> so I hope no such file or directory what's here is here even a screen I will --> show you how to do that let's do it together first --> you return command in multiple lines my suggestion it should need to be pasted --> in one line first notepad you can paste it any place paste it into notepad so --> we'll get the idea ah then no problem that means it is saved in that --> file there's no error means everything is okay and we do it is correct what --> about others see the last line what I see hello --> yeah I can hear you I think it's not correct what you return after a pseudo --> yeah stable by symbol we required press enter I think yes before pseudo --> before and no after this line this backslash and pseudo here you hit --> this is correct line now this line we required there let me know others --> able to do it Marco you finish John I would like to --> the I would like to move to the next phase next steps which we need to --> understand it let's move to the next phase once we done these things we'll --> try to move on to the next phase what we need to do it here is --> basically we will try to run the other command as well the command is --> already written here I will try to copy it one by one this command APT --> update also fine even this also fine because we are already inside this --> machine so here this command we require make sure you should get the --> something called download dot Docker dot com something like this you should --> need to get it when you try APT update this things should need to be --> so two things we have here one is APT update second one Docker dot com --> something like that right so you should have these two things in your --> environment let's try now and let me know once you can able to finish it --> good job what about others able to do these things APT and Docker dot com --> will able to see to you it's in our list so we can able to work with this --> environment okay others also finished I believe I can move to the next phase --> let me know if anybody is stuck okay and yeah please update yes is the next --> command I shared you the command in chat as well if for reference purpose --> let us know if you need any help in that area we'll try my level best --> that's also done let us know so I will proceed further to the next steps I --> believe everyone finished so once we see these things what I can do it --> basically let me try here this command this command I will share you through --> chat window you guys can refer it single command required and that's it --> this will help you to install community addition and it will also --> CLI and continuity runtime three parameters we required let me share you --> these all parameters if you are new just watch it here just two minutes to --> understand each and everything under this we are using hash symbol that --> means it is already sudo and the root is the user you can see here --> root is the user hash symbol you are using so there is no need to write --> sudo also for that case once we done this things we are using apt what is --> this apt package manager what it is a package manager tool this package --> manager tool is basically used to install add remove or uninstall --> something like that right we are doing here installation what we are --> we use why what is the purpose of why don't ask anything why means don't ask --> directly install install this is the reason we use why here we require three --> things to install these are what these are called package what it is a --> packages we have that we are installing why we require this package see for --> community addition what it is CE whatever we have it's for community --> addition the CLI and container D is for runtime runtime if you want you can --> use it CLI for command purpose if you want to write commands and all you --> use this one CLI okay so take a snapshot for this you want let me --> okay make sense to you guys so this command will help us to install and --> configure each and everything let me try to execute it if we did all things --> if you are interested to do this command it is available in the chat --> window you can try and let me know once you're done you can thumbs up off --> very fast others okay so we will try to use it directly and we will check it --> out here and then we'll see how we able to do it or not okay because I did --> the installation so might be in your machine also working fine for you and --> then we can check it out okay because I installed it and the whole thing will --> comes to your machine directly so that's why okay so let me let me try --> it here the next step sir what we require to do it you just cross --> check it instead of installing and all you just try to check it out --> Docker version is working or not okay it should display something like this --> will it work to you Docker version Docker info this two command without --> permission denied if it is working then we good to go if you are getting --> same message let me know Docker in version this command and Docker info --> these two commands we need to run it okay let me know once you run it --> so if you able to see this type of error permission denied that means we --> should need to change the mode of this file okay this file whatever we have --> here make sure you need to write the command ch mode and the ch mode --> should be sudo ch mode triple 7 and then this file and you can use --> something like this also no problem so this is the command to allow them --> without any problem anywhere to run it like mode we are trying to change the --> mode here okay once we run this command it display you like this so it will --> allow you to do this all I shared you this command as well this time if I --> try with the Docker info it will display me the whole information --> right are you getting some whole information again you try with Docker --> info getting all result let me know if you are getting if you are getting all --> result let us know okay good yes I believe everyone able to do the same --> let me move to the next phase I will check the user details as well next --> steps is what we have here we will check the permissions or you can go --> with the switch to the user root user system CTL status of Docker this is --> command to display all if you're not able to come out here then press Q --> button Q for quite so try to follow the commands accordingly okay and let --> me know once you're done I shared with you two commands with output okay --> you done yes please update it in the chat zoom chat you can update it and --> let us know once you finish make sure you should come out of this by --> pressing Q button okay did you finish it out --> Docker active and running okay good Karnias is working fine what about --> others you can share your screen we'll see how it looks like it's here --> press up key and enter no no okay you remove this all just write down the --> what we have system CTL status Docker type it no problem --> that means your service is running active and running smoothly without any --> you're good to go with the next steps okay thank you yeah thanks about others --> if anybody is stuck let us know Zaid you finish need any help let us know --> okay yeah you can share your screen we will try your you to help you out --> in this yeah I can see your screen now connection oh many times you tried --> yes okay no problem press ctrl C and hit enter to two three times this --> and press one or two times enter now you can check it so do one thing while --> doing this things you know just press ctrl shift V and edit this lines just --> scroll left arrow use left arrow don't use mouse and before sudo t slash --> sudo before there is one line we have slash backward slash no no no no no --> no remove this side then run hit enter this no no you not a straight --> properly one minute I will take a control of your file computer accept --> the request just wait I will show you how to do that okay --> while pasting this command you should need to remove this sudo slash this one and --> check out no such file okay do you have notepad I'll open your notepad --> okay or it's in that screen when you open notepad I am not able to open --> notepad in your machine maybe in different window bring it here or maybe --> you shared me this one window only yeah we not able to see ha ha you can --> reshare it no problem mm-hmm see add before sudo that slash should have --> space yes copy this whole thing okay no one thing just click on the next --> line and they were null just move your cursor there oh you're in same --> line okay then yeah that's okay yeah just paste it now leave it just paste --> the same thing in that terminal enter no such file or directory no problem do --> one thing you right here Docker space I also installed in your machine I --> think Docker space version it should be in second line because we are --> I installed in it I think so let's see here it is available or not no problem --> that's already done when I did these things it will be work to your --> machine also now next things try a Docker info exit and type exit here --> and then same command hit enter now you same come on no it will not come --> history right Docker space info here if you're getting error then we can able --> to try it okay huh huh long a book like in Janikantan --> yeah part of you name you have party here my world of achieve a yeah --> oh yeah Sophia Sophia either yeah that's correct now you good to go with our --> environments and all okay yeah thank you let's let me share my screen we'll --> proceed further okay one minute for everyone let's --> cross ticket everyone done right anybody is remaining let us know I'll --> give you one minute so I hope everyone finished next steps what we required we --> enable the things all whatever we required we can able to run the --> commands will create a network and under that network will create the --> whole scenario so for that what I will do it here I will show you what's --> going on inside so once we done this command this is just we did with the --> CH mode okay so not required the things we'll just go with the CH --> mode it will also works CH mode 777 slash war slash whatever the address --> we have that we need to mention it okay so once you run the things you --> see this environment and commands war socket files whatever it is so we'll --> write it now the next things what we have after that let me explain you the --> concept behind this we require a Docker environment right this is called --> a Docker environment and under this Docker environment we require to --> create a red color this red color represent a network what is this it is --> network and under this network we require to create two containers two or --> three container how many we want this green color represent the container --> okay the container what we have here is basically database container and the --> XWiki container XWiki container two containers we require so this might --> be database container right or another container we might have another --> container is basically XWiki container these things we require to create it --> getting a point we require to create this thing so step number one what we --> required step number one create a Docker network okay number two --> database container we required here we required a database container database --> container is very very important for us okay so for this we require database --> container number three we require XWiki container three containers we --> require and we will verify this each and everything we will create a --> network right what we'll do it here we'll create a network we will do --> two things in both containers one is the pulling the image and then we --> will run this image we'll pull it here also and then we will run it if you run --> directly also no problem okay these things we required so for that how --> we'll do these things I'll show you step by steps I'll write down these --> steps here three steps we require let's consider a steps okay a step --> create Docker network for XWiki deployment okay second step what we --> required we require to create Docker container database database container --> create database container create XWiki container okay these three things we --> let me go further in detail inside this what we required network to create a --> network we need to write the command the command is very easy so this one --> this command will helps you to create a network basically what it will do it --> will help you to create a network here so let's see here whether it is --> correct or not we will try to run this command I'll share with you --> also don't worry and then I will verify whether this got created or not let me --> try it here Docker network LS LS means list how many networks I have one two --> three bridge host none three networks we have let's try to create --> another network and here it will get created then when I cross check it --> here with the help of LS it will display us so if you observe here we have --> three things when we are performing Docker always you need to run the --> command Docker network is basically used for networking and LS means the --> list of network so this is called list of networks if you want so this --> is the main command this is the main command this one is a sub command CMD --> so you require two things main command and sub command list of networks if you --> want then you can reuse this command if you observe here the main command is --> here same where this instead of list what we have create command and some --> parameters about it what is this this is called IO redirection so we no --> need to worry about it that means either this or this should need to be --> true because this will be used when you have scripting stuff so we are not --> using this one but for your better understanding I just kept it if you --> want to go with the networking so this network will get created create --> Docker network what a Docker network if you want to create a Docker --> network this is the command we have and you need to follow this commands --> and once you've done this things you will cross check it here before we have --> one two three here we have fourth one also this one here the result which --> was not here available right so this is how we did the creation of --> network now your turn start two commands we require conclusions of --> these commands these two we have number one we require to create LSD --> okay then create the network then perform LS okay so only at the end we --> require only two commands so these two commands I will share with you --> through chat window zoom chat you can try to check it out and let me know --> once you done the things it's pasted in multi lens yes harness yes okay --> had been done what about others you can cross check the commands whether --> it is working or not but writing LS command as well I shared you LS --> command as well in chat window you can follow the same thing and you can let --> me know about it okay others finish only three people finish what about --> yes yes okay good so now we require to run I'll give you the practice of --> multiple line commands also there are multiple ways to run it out let me --> share you if everybody done we'll try to proceed it this is the command we --> done and once we done this command we run the command docker network LS before --> this also we can get the idea what's going on so that's why a docker --> network LS so this three commands required right and then we will try --> to go with the creating the create database container obviously this --> container which we require to select it here database means we will select --> MySQL and under the MySQL we have different version 5.7 will select it --> consider okay to do these things we should need to pull the image what --> we'll do it here we will start pulling this image by writing here the --> command docker pull and MySQL whatever the image you want 5.7 this --> command we will run it what is the benefit of this command this will help --> us to pull the particular image and we can verify this image is pulled or not --> by writing here docker images and then here we will run the next command --> docker images that means this will help us to pull the image before and --> after we will see the result let me try it here in my machine you can --> watch it if you not have confidence if you have confidence you can try it --> that's it I'll try to run this commands and then if it is pulled --> successfully it will download this file and it will be available to me on my --> LS command so I'll cross check it here whether this is possible to read --> it out yes images docker images and hit enter see here 5.7 MySQL is --> available to me remaining information is not important this is one will be --> available to us so what is this command this command is used to pull --> the particular image did you pull MySQL 5.7 if yes then just comes up --> oh Marco already existed okay already exists means that means you we have --> seen the whole images whatever I'm doing same thing you will get it I --> think that's why so full access denied can you share your screen --> we are human we should need to learn it by mistakes and understand it even I --> also got confused why it's asking even you have given full permissions now --> you check with the docker images images images yes good now the next --> things what we will understand the things how it's going on here you can --> see my screen I can able to see my images let's try to install the LTS --> MySQL Tomcat for XVT so for this I will try to share with you if it is done this --> steps then we'll move to the next steps we have required to go with the --> proper version of it right so no this is just pulling no sorry I forgot to --> write it here we need to use a run image also because creating docker --> container required two steps pull and then run okay everywhere you require we --> did pull successfully we require to use run stuffs okay so run stuff is very --> very important for us and once we done these things then it will help you to --> run it out into the particular environment okay makes sense everyone --> ready so the next step is what we required to clone this repository --> whatever we have and then instead of going with this I will try to run it out --> okay running stuff is simple but here we have multiple lines so same one what --> we discussed we have multiple line here maybe you will get an error --> because might be we are using some shared environment I think because --> mark also shared with us whatever we are doing you are getting same thing --> in your machine without doing anything right so no problem what you --> can do it here we can able to run this commands to understand whether it's --> working or not and under this commands we return here xvkey network this --> command will help you to check pull image is available or not if it is --> available then only it will perform this all operations my suggestion we --> should need to copy this command and check it with the notepad and then --> execute it there let me try it here before this running these images I would --> recommend you to go with the docker pull command docker ps minus a this --> command share with you how many things is working so here when you see --> docker ps a or even docker ps also works so you can see images will be --> displayed to you before this you should try it let me try it I will --> show you to you so here I will try a docker ps I don't have any images ps --> minus a I don't have any images running right so the next steps what we have --> will copy it from here I saw no images is running container there is no --> container ps will help you to display the container a to display the --> stop and all container running containers stop container ideal --> content whatever it is so for that we use a let's try to go with these --> steps and here we paste it out hit enter so you can see here ps minus a --> will display to you this one maybe you will get an error because shared --> environment might be because of that reason might be yeah because of --> shared environment might be no problem and that created 40 hours ago is --> basically is a part of what last time committed --> created 80 months ago so this created is just last time how we --> committed when we committed last time so that will display to you here it's --> not important for us we are using this image we are using this so this one --> is not important docker ps is important for us let's run this thing --> and check it out in your machine also docker ps it should display --> something like this 3306 now you are done check it out ps at least works to --> you yeah yeah I will I will share with you the docker run command for --> database let me share with you through chat window you guys can refer --> make sure you can increase the window size of chat like this I don't know --> whether it is possible to show you but window size should be increased with --> especially so you will see the command in one line otherwise it will --> split automatically to multiple check out these things this is run command --> and once you've done the run you can check the next command is docker ps --> everyone should get one record here are you getting the record here docker --> ps and this is the next okay good not wrong two or three because this I --> think they given shared environment so no worry for this we can do one thing --> we can change the port number and the name of the container you can do one --> thing here you can write your name my name is Mujahid I will write my name --> let's keep everything as it is only here you change your name so without --> any problem you will see the result also even you can create multiple --> images as well no problem might be here port number is the --> challenge right anyone can share the screen so I'll get the idea what's --> going on background so I think the machines will never reset after the --> previous training happen because everything is running from 40 hours ago --> previous training session so all the containers everything already exists we --> haven't managed to create anything everything was there so now when we go --> and try and create for example the my sequel container it says it already --> exists let me try to control it and I'll request you to share your --> yeah we can do one thing minus P 3 3 0 7 colon 3 3 0 6 and then we'll check --> it off it should work now in Docker colon latest who's this image name is --> latest so leave others but here you can see --> so we require port number also to change here 3 3 0 6 is the default I --> selected this one you guys can also select yours if you selected 3 3 0 7 --> nobody will try to go with the same port and you guys can see here what's --> going on in the group now you can check it here okay --> I selected mine as my sequel Mujahid my sequel X Vicky my sequel I'll --> share you my screen it was for me it was this my sequel X Vicky my sequel is --> my name you can create by your name only few things we require to change it --> here here when another parameter will be added that's called a space 3 3 --> 0 7 suppose or 8 or 9 whatever it is 8 or 9 and then 3 3 0 6 port binding we --> required because we are using I think similar environment so best option --> what we have we can use port binding and you can give them this --> environment it is let me try it with mine with my name here I will give --> 11 and here let me copy these things and I'll copy it and I'll go to this --> location let me check with the docker peers I'm having only one here I will --> execute this command oh come on not from oh I forgot to write here slash --> to split it with the multiple line once we done these things we will try --> to copy it here with the docker ps only one record second record let's check it --> with the ps then two records we have Mujahid and my sequel did you --> understand my point what I did only two things I did I just changed with --> this two lines the selected part I change it if you want this command I --> will share with you make sure you should not use this port number you --> should try with the different ports okay and whatever the port you are --> using please declare in the chat window so we will get it who's using --> which port number so I'm using 3 3 3 1 1 from Mujahid site like this you --> can write it you try it now and I'll show you the command definitely --> this command 3 3 1 1 will not be work because I allocated this port --> number so my suggestion instead of that you can select your port number --> and you can mention it here okay so the host machine port number should be --> different 3306 will be same only you need to change 3 3 1 1 two --> different first you declare it which you are looking for and make sure --> others will not conflict with the same port and then try it mine is 3306 --> earlier so how it is works means you are using my port we did 3306 --> with the different one no problem if you use 3306 or 60 right hand side --> you should not change it keep it right hand side as it is only left hand --> side you need to change it guys on the left hand side --> show me your screen --> hmm I found your command is running after haha I also did the same thing --> take care of it like last line 3 3 2 2 you return so that one should have a --> space slash you can check it in my chat window call in chat window we --> return after 3306 space backward slash and then my SQL and all remaining --> things we required yeah yeah I hope it is working for everyone let me know --> if you need any help you can share your screen I'll show you how to do --> everyone finished okay I saw two people done others can also use chat --> window to discuss let's keep a you done John okay yeah I believe everyone --> finish let me cross check it here --> at least one database server we require to be done maybe my side 3307 --> is creating or maybe some deleted but at least one database server we need --> to be done yeah yeah you can share your screen I'm waiting for it --> I can see now your screen what you run the command Docker minus name car name --> and then port number looks like everything is okay but unable to find --> the image execute network latest why X wiki network latest oh it's picking --> up the name as X wiki latest the space we required I found call where --> it is the call command and after that we require a space that you not --> mentioned getting wine just use up arrow to get the previous command up --> arrow here yes and just go there and keep the space mouse will not work --> out you can use control and tab left arrow control and left arrow mouse --> will not work control will go very fast yes hit enter now yes it got --> created press Docker LS sorry Docker PS you see call 3 3 2 2 is working what --> it okay good good job you should also take a phone we should need to --> officially three breaks here and I'll show you what are the plan we have we --> usually have three breaks but there is some cloning options we have that's --> why we not did it let me share with you we have a 15-minute break 40 --> first break we will take it 15 minute 40 and then one hour for lunch and I --> believe no 15 minute is not possible today and after that we will take --> 15 minutes for snack break okay so that will do it here now we'll take the --> lunch one hour break and then after that we'll continue it which time is --> your lunch time guys your time zone is which one okay --> after how much time after 15 minutes okay you can just remind me so --> accordingly I will try to follow it I'll take one break now let's take a --> break lunch break and then we'll proceed it okay okay thank you thank --> so we're reconvening in 15 minutes or one hour one hour we'll meet after one