Month: May 2021

How to use sed to find and replace text in files in Linux

  While working any script or any configuration file in development env, We need to replace a string/worlds, We can achieve this by using sed command.   The sed represents stands for stream editor. It peruses the given record, adjusting the contribution as indicated by a rundown of sed orders. Naturally, the info is kept […]

How to create an Index on MongoDB on ubuntu 20.04 LTS

  MongoDB Indexes are most important things in any database, and with MongoDB it’s the same. With the utilization of Indexes, performing questions in MongoDB turns out to be more productive. In the event that you had an assortment with a large number of archives with no files, and afterward you inquiry to discover certain […]

How to Remote Login to MongoDB using terminal Ubuntu 18.04/20.04 LTS

  Whenever we secure the MongoDB server, So then we need to configure port number, username, password and so on and after configuration all of things, We need to connect MongoDB Shell by using different command.  In this post, We will take MongoDB remote login with different different method.    Method 1: Shell Access using […]

How to Reset the MongoDB Root Password on ubuntu 18.04/20.04 LTS

  Working as MongoDB administrator, Sometimes we need to reset and change the user’s password.   MongoDB Installation –     In this post, We will reset the root password of MongoDB on ubuntu 18.04/20.04 LTS   Step 1: Disable Authentication   You need to disable authentication and also enable  auth by pass by […]

How to create standard user in MongoDB on ubuntu 20.04 LTS

  MongoDB utilizes Role-Based Access Control (RBAC) to administer admittance to a MongoDB framework. A client is allowed at least one jobs that decide the client’s admittance to information base assets and tasks. Outside of job tasks, the client has no admittance to the framework.   In this post, We will create a standard user […]

How to create root user in MongoDB ubuntu 20.04 LTS

  By default, MongoDB has no any kind of authentication, We can create a root/admin user to manage MongoDB, Here we have a roles list for different-different purpose.   1.read2.readWrite3.dbAdmin4.userAdmin5.clusterAdmin6.readAnyDatabase7.readWriteAnyDatabase8.userAdminAnyDatabase9.dbAdminAnyDatabase Here you can get the bulk data insert python3 script for load testing.   In this post, We will create root/admin user in MongoDB […]

How to Change MongoDB Default Port in Ubuntu 20.04 LTS

  MongoDB Server of course run on TCP port 27017. Be that as it may, you can change the mongodb port on the off chance that you need. In this instructional exercise I will disclose How to change mongodb port on both Linux and Microsoft Windows Operating framework. Changing mongodb default port additionally changes the […]

How to Bind IP Address with Mongodb ubuntu 22.04 LTS

MongoDB, otherwise called Mongo, is an open-source report information base utilized usually in current web applications. As a matter of course, it just permits associations that start on a similar worker where it’s introduced. In the event that you need to oversee MongoDB distantly or associate it to a different application worker, there are a […]

How to Install OpenVPN in Ubuntu 20.04 LTS

    OpenVPN is incredibly famous and a full-included SSL VPN (Virtual Private Network) programming. It executes OSI layer 2 or 3 secure organization expansion utilizing the SSL/TLS convention. Like a lot other well known programming, it is open-source, free programming and disseminated under the GNU GPL. A VPN permits you to interface safely to […]

Scroll to top