![]() # sed -i "s/^#replication:/replication:\n replSetName: rs01/" /etc/nfĮnable and start MongoDB database service. # dnf install -y mongodb-orgĬonfigure following settings in MongoDB configuration files as required by Rocket Chat software. Now, you can easily install MongoDB server on CentOS / RHEL 8 by executing dnf command. MongoDB Repository 9.4 kB/s | 12 kB 00:01 īaseurl=$releasever/mongodb-org/4.2/x86_64/īuild cache for MongoDB yum repository. # vi /etc//mongodb-org-4.2.repoĪdd following directives in this file. To install MongoDB database server, you need to add MongoDB official yum repository in your Linux operating system.Ĭreate a repo file for MongoDB yum repository by using vim text editor. Installing MongoDB Server on CentOS / RHEL 8: # uname -rĬheck version of your Linux operating system. # dnf update -yĬheck Kernel version of your Linux operating system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |