Durchsuchen nach
Schlagwort: IT

How to add a document to a certain MongoDB document

How to add a document to a certain MongoDB document

When you are searching on the internet how you can upload a document into a MongoDB database the most instruction uses Node.js. But you can also use Python for this case. The problem was in my case that I have saved a document for the tax and revenue office on an external drive, that I have scanned before. In Germany, you always get a normal letter from the tax and revenue office, yes old Germany :-(. This letter you file…

Weiterlesen Weiterlesen

New MongoDB version on my computer

New MongoDB version on my computer

This morning I got updates on my AlmaLinux 9.8. I get the updates with an Update-Script where it checks everything on the computer. The Update script I start this script via Bash menu that I have written: The shut down script You see there are other scripts that I sometimes use of regularly (in order to shut down the computer). The shut-down script And we are the Updates of MongoDB. MongoDB Updates (with others) You see, that MongoDB comes from…

Weiterlesen Weiterlesen

How to update MongoDB Compass? (In my case: AlmaLinux)

How to update MongoDB Compass? (In my case: AlmaLinux)

What is MongoDB Compass GUI? MongoDB Compass is a free graphical tool for querying and managing your database. Under the hood, it is built with Electron—a framework that uses Chromium and Node.js. 💡 What is Electron? Electron allows developers to build desktop applications using web technologies like JavaScript, HTML, and CSS. The biggest advantage is that it is cross-platform, meaning it runs seamlessly on Windows, macOS, and Linux. Electron allows developers to build desktop applications using web technologies like JavaScript,…

Weiterlesen Weiterlesen

MongoDB Export a collection (general)

MongoDB Export a collection (general)

MongoDB is a NoSQL database, that stores information in documents instead of tables, and it can store a lot of information. It looks like that: test> db.test.find()[ { _id: ObjectId(’69edadcfb6b4cff75744ba89′), name: ‚Morgentest‘ } ] You see MongoDB follows the JSON standard for documents. Ok, MongoDB stores this for human-readable information, but there is a special format that is called BSON that MongoDB uses, but this is not the subject of this blog entry. If you have a full database (or…

Weiterlesen Weiterlesen

Secure Boot – checking activation or not

Secure Boot – checking activation or not

On Linux in the Bash you have two commands for this (sudo) mokutil – -sb-state or bootctl status | grep „Secure Boot“ 2 If you don’t want to see the error messages, then you can do bootctl status 2>/dev/null | grep „Secure Boot“ Attention: bootctl status | grep „Secure Boot“ 2 >/dev/null does not work.