Yo! Thanks a lot bro, I was getting so many error messages and your guide on arch helped out. It's working now. Thanks
@justmeandopensource4 жыл бұрын
Hi Oliver, thanks for watching. Glad that you found it useful. Cheers.
@andrewnhien97144 жыл бұрын
Thanks Venkat! Very helpful, keep go on and care for your health.
@justmeandopensource4 жыл бұрын
Hi Bao, many thanks for watching.
@jornejongsma3 жыл бұрын
Great tutorial! One comment so far: (Actually two!): When mounting a volume for the Docker container, make sure that you use an absolute path! Wrong: -v data:/data/db Right: -v ~/mongo/data:/data/db Or : -v /mongo/data:/data/db Docker doesn't notify you if you're doing this wrong! Other thing: When you skip right to the Docker Container part (21:50), at some point you'll be connecting to the mongodb with the mongo shell, just by typing mongo into the terminal... That's not going to work if you only have mongo inside the container and not installed it directly on your system. Solution to get into the mongo shell inside the container, type: docker exec -it [container-name] mongo
@justmeandopensource3 жыл бұрын
Hi Jorne, many thanks for watching and sharing your tips. Regarding your first point, I am not binding a local directory but creating a new docker volume which creates a directory under /var/lib/docker/containers/..... and mounts it. Example: $ docker run --name mongo -p 27017:27017 -v mongo-data:/data/db mongo will create a local docker volume named mongo-data and is not an existing directory that you are mounting. Do a "docker volume ls" and you will see the mongo-data volume there. I agree, if you want to bind mount a local directory, you need to specify absolute path. I totally agree with your second point and thanks for sharing the tip on how to use mongo inside the container. Cheers.
@jornejongsma3 жыл бұрын
@@justmeandopensource Aha! Well I'm new to Docker so that makes it a bit more clear, thanks! I first tried your example and couldn't find the mounted directory. So after a google search I came across a few examples that where specific about using an absolute path. There was one Medium post that even gave the advice to create an extra container with that mounted volume, but not really use the container, to make sure that in case you'd remove your running container (and volume) it wouldn't be able to remove your local data with that action.
@justmeandopensource3 жыл бұрын
@@jornejongsma Yeah. Removing the container won't delete the docker volume. You will have to "docker volume rm mongo-data" to manually remove it.
@davidgordon78564 жыл бұрын
I love you this helped with my arch setup I was stuck for days till I found your vid
@justmeandopensource4 жыл бұрын
Hi David, many thanks for watching. Glad it helped. Cheers.
@samirmomin2034 жыл бұрын
Thanks Venkat, It is a really very good installation video on different platforms. I like your way of teaching. Appreciated
@justmeandopensource4 жыл бұрын
Hi Samir, many thanks for your interest in this channel.
@qianbang_4 жыл бұрын
Wow. This is so complete. Thanks for the tutorial!
@justmeandopensource4 жыл бұрын
Hi Qian, thanks for watching.
@Gabhane1235 жыл бұрын
Awesome explanation ! very deep ! I am new to Mongo , very helpful for me
@justmeandopensource5 жыл бұрын
Hi Chethan, thanks for watching this video and taking time to comment. Cheers.
@outofahat9363 Жыл бұрын
7:55 and also if you are on RHEL a family linux make sure to disable SELinux or set the rule that allows you to change dbpath
@manikandans88085 жыл бұрын
Is was a nice one..I tried it many times with many flavours of Linux as well as the aws also..it's much interesting about the mongodb components you have explained in this video initially. And out of the box I have noticed the customisation of the desktop it was wonderful. Can you explain me how you customised ur apps without a toolbox?
@justmeandopensource5 жыл бұрын
Hi Mani, thanks for watching this video. I am using Manjaro i3 edition. I3 is a tiling window manager. Simple and minimalist desktop environment. For the status bar at the bottom, I am using i3blocks with custom scripts for each items you see there. Thanks.
@manikandans88085 жыл бұрын
@@justmeandopensource that's interesting..let me try... waiting for the next one....
@justmeandopensource5 жыл бұрын
@@manikandans8808 Cheers.
@suvajitmca4 жыл бұрын
There there are severel mount points i want to use for mongod.conf for datapath...Do i just need to specify the path separated by comma? Like /u01/mongo,/u02/mongo?????
@justmeandopensource4 жыл бұрын
Hi Suvajit, thanks for watching. I don't get your question. Please explain what you are trying to achieve and why and what steps have you done and what error are you seeing. Cheers.
@suvajitmca4 жыл бұрын
@@justmeandopensource Hi,First of all big thubs up for all your vedio..So effective..please let me know how to put multiple dbpath in mongod.conf?
@justmeandopensource4 жыл бұрын
@@suvajitmca Did you see my previous comment?
@suvajitmca4 жыл бұрын
@@justmeandopensource Yes I saw..But I am not yet deployed, so there is no error.. Say for example in a server there are 3 mount point '/u01','/u02','/u03' and i want to put all the data in 3 storage space like '/u01/mongo-data','/u02/mongo-data','/u03/mongo-data'...My question is can I achieve this by simply add the datapaths in mongod.conf..---.dbpath:'/u01/mongo-data','/u02/mongo-data','/u03/mongo-data'.Will this works?
@justmeandopensource4 жыл бұрын
@@suvajitmca Okay. You need a directory to store db data. This is configured in the mongod.conf configuration file for the variable dbpath. Each mongod is a single process that requires single dbpath directory. I don't understand why you would want to mount 3 directories.
@jondalard85813 жыл бұрын
thank you so much you helped me alot
@justmeandopensource3 жыл бұрын
hi Jon, thanks for watching. Cheers.
@muhammadahmad25414 жыл бұрын
can I install latest version with this? I am on arch.
@justmeandopensource4 жыл бұрын
Hi Ahmad, thanks for watching. Yes you should be able to use latest docker container image.
@shridharbandgar61804 жыл бұрын
Actually I am running mongo on docker container.. Also I restored mongo database to server.... In server mongo all are shown like db, collection and data.... But in container of mongo they shown db, and collection only... In collection data is empty..... How I do migration..??
@gulzadakasymbekova89185 жыл бұрын
Hi! I have os Ubuntu. A try write on terminal “lxc list”, but terminal coudnt found this command. Why?
@justmeandopensource5 жыл бұрын
HI Gulzada, you will have to install lxc/lxd first. You can watch my "Getting Started with LXC Containers" video at kzbin.info/www/bejne/eYjQnIaglKdgrdE where I explained how to install and use LXC/LXD. Cheers.
@tarunbansal91355 жыл бұрын
hi i tried your command in ubuntu container but it said systemctl command not found. Please help
@justmeandopensource5 жыл бұрын
Hi Tarun, Thanks for watching. What command were you running exactly? And from which machine? I would like to have more details please.. Thanks.
@karthickc90584 жыл бұрын
Hi, nice video. Thanks a lot. I tried to do this on my GoDaddy server. I'm getting no mongodb-org package available. Can you help me sort it out. Thanks in advance.
@justmeandopensource4 жыл бұрын
Hi Karthick, thanks for watching. What OS are you using? You will need to set up repository as mongodb-org won't be available in default yum or apt repository.
@karthickc90584 жыл бұрын
@@justmeandopensource I'm using Linux Cent OS Cpanel. Can you help with this.?
@justmeandopensource4 жыл бұрын
@@karthickc9058 I have already covered installation topic in the below video. This should give you direction on how to install it on CentOS 7. kzbin.info/www/bejne/eKSWpIOGjNV4ZtE Cheers.
@ProgrammingWithKamlesh4 жыл бұрын
hi venkat this is very helpfull tutorial can please tell me how to make 3 nodes server for replica deployment on centos 7
@kennethsarfo5 жыл бұрын
Thank you so much, this is really helpful but please slow down with the explanation and also the commands so we can follow.
@justmeandopensource5 жыл бұрын
Hi Kenneth, thanks for watching this video and thanks for your feedback. I will make sure to slow down a bit in the future videos I record. Cheers.
@atharvakokate63885 жыл бұрын
Thanks Man
@justmeandopensource5 жыл бұрын
Hi Atharva, you are welcome and thanks for watching this video.
@atharvakokate63885 жыл бұрын
@@justmeandopensource hey, what kernel are you using for manjaro? Is the gnome working on kernel 5.3(gnome-tweaks)?
@justmeandopensource5 жыл бұрын
Hi Atharva, I am using 5.2.11-1-MANJARO kernel. I don't use Gnome DE anymore. Switched to I3 long time back. I have done a video on my current desktop setup which will release shortly.