0:00
Hello then welcome to Linux s to and in this guide I'm going to show you how you can install and set up the MongoDB compass in your Linux distribution
0:12
So this guide is for all the distributions. It doesn't matter which one you are using
0:16
Just follow along. So for the demonstration I'm going to use Ubuntu but you are free to use any link distribution
0:21
So open up the web browser and search for MongoDB compass. You should get the first link
0:29
first link from the MongoDB website just click on the link and click on try it now
0:37
Here you will find this option here and here you have to choose the MongoDB campus
0:42
So just click on it and select the distribution that you want to use
0:47
So I'm going to use Ubuntu but if you are using like Fedora or Reddit or CentOS then you
0:52
can go with this option. This will download the RPM file but this is Ubuntu so I'm going to use this option here
0:59
and this will download the dot file so select it here and click on the download button and this should download the dot file So I going to download it in my home directory Just click on it
1:12
It's a very small utility around 76 megabyte. So let's wait for it
1:18
So the package file has been downloaded in the system now. Just open up the terminal and install this compass in the system
1:26
So for that just type pseudo-Debian package. dash i as a parameter then mongo db and compass use the type key to auto complete the file name
1:39
type in the password and this would install the mongo db compass in your system and if you're using
1:46
the dot r p.m package file for reddit fedora or any other distribution then check out the link in
1:51
the description that will guide you on how to install that particular file in that distribution so
1:56
Mongodb has been installed in the system now you can simply see search it in the application menu, just type MongoDB and it should show you the MongoDB
2:06
Compa so this should initialize So here is the MongoDB compass up and running Click on Next next next next Or you can simply escape it using this cross button here
2:17
And I'm just going to select here, start using Compass here. And you can enable or disable these features from here
2:24
For example, you can enable crash reports or you can enable the enable product feedback
2:28
tool on these all stuff. But I'm just going to go with the defaults
2:33
And now we can connect to the MongoDB server. And for that, make sure your MongoDB server is running
2:40
So let me just give you example here. So this is the pseudo service MongoD status
2:49
So the MongoDB service is running in my system. If you do not see action running, then you have to type start here and this will start
3:01
the MongoDB server. And if you do not have Mongo TV, then you can watch this video
3:06
on how to install MongoDB database server in your system. So it should be up and running
3:11
So after that you can simply click on this connect button and this will connect it directly You can also use these different options to connect to the database server for example here this is the default authentication
3:23
there is actually no authentication because i have not added anyone but if you have any
3:28
authentication then you can use the username and password and provide the username and password and
3:32
connect to it currently this has no authentication so i can simply click on connect and this will
3:38
show me all the databases that are available in the mongo dv so now you can
3:42
simply manage your databases and add the data into it. For example, if I want to create a database
3:47
then I can simply use this graphical interface to do that. I do not have to execute commands
3:53
in the cell in order to add some data. So this is how you can simply use this tool. And this also
3:59
has some features. For example, this will give you some statistical data about the MongoDB server
4:06
So that is also available here. So that was the guide on how to install MongoDB Compact
4:12
on Linux. I hope you find this video helpful and if you did then do not forget to like
4:17
this video and let me know what you think about it. I'll catch you in the next one. Till then take care and keep enjoying Linux