![]() ![]() :~$ echo "deb buster/mongodb-org/4.2 main" | sudo tee /etc/apt//mongodb-org-4.2.list Then, add the MongoDB repository to the system’s software sources. Once the installation is complete, the repository’s GPG key must be added: wget -qO - | sudo :~$ apt-key add. This ensures that the packages are signed and do not compromise the system. ![]() These packages are required for the repository to use the GPG key. :~$ sudo apt install gnupg gnupg-l10n gnupg-utils gpg gpg-agent Install the required packages So, open a terminal and install some packages needed to add the MongoDB repository. But, the team of developers enables a repository so that we can install it without problems. On the other hand, although it is open source it is not included by default in their official repositories. For example, Debian, Ubuntu, CentOS, RHEL, and SUSE. ![]() Of course, MongoDB is cross-platform and includes support for most server-oriented Linux distributions. And in this post, we will help you to install it on a Debian 10 machine. This is why MongoDB is being used more and more in various projects around the world. All this without affecting the performance of the database itself. ![]() The main advantages of using MongoDB are the ease of data transfer, stability, high availability and above all the scalability. However this is not a problem either, a person who works with relational databases can learn to use MongoDB in a short time. Therefore, while it is true that many database concepts are not dependent on a program, it is also true that MongoDB is quite different from MySQL or PostgreSQL. MongoDB is a document-oriented database manager that does not use SQL. When you talk about the NoSQL databases, you usually talk about MongoDB too. So, this post is about installing MongoDB on Debian 10. Of these, MongoDB is perhaps the most popular. But more and more the SQL relational database model is losing popularity in favor of NoSQL and document-based database managers. All these applications are quite good and have in common that they are of the relational and SQL types. The database field has been dominated in the last decades by MySQL, PostgreSQL, Oracle and SQL Server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |