Posts

Introduction to MongoDB and MongoDB Atlas

Image
Introduction to MongoDB Author: Akshaymon K V What is a database?   A database is a structured and organized way of storing information/data. What is MongoDB? MongoDB is a NoSQL database that is used to organize and store data. Let’s see what does it mean to be a NoSQL database. Usually the SQL or traditional databases would use a table structure to store the information, whereas a NoSQL database does not use the same. In-case of MongoDB, it uses documents to store the data instead of ‘rows and columns’ structure. Hence MongoDB is a NoSQL document database . Pic: SQL database structure. Pic: NoSQL database structure Documents in MongoDB are an organized way of storing data in key-value or field-value pairs. For example: { ‘name’: ’Akshay’, ‘age’:’24’ }. These documents are in turn stored in collections. Read more at: https://www.mongodb.com/docs/ MongoDB Atlas MongoDB Atlas is a cloud database service that is built to use for a wide range of applications. And at the core of At...

Install Java silently using powershell in Azure Windows VM

Image
Written by Akhil M Anil . To install Java silently using PowerShell in Windows VM, follow the following steps: Downloading Java can be done in two ways:   Download your required Java version ( Java Downloads | Oracle ) to a folder in your Windows VM.     Use PowerShell to Download Java to a folder.  Follow the below steps for downloading Java through PowerShell : Initially copy the Download link for your required Java version, Java file name, and Location where you want to download Java in your VM to a notepad Open PowerShell  Run the following command in PowerShell $url = "<your-copied url>" $filename = "<file_name>" $dest = "<outputfile-location\$filename>" Invoke-WebRequest -Uri $url -OutFile $dest For Example:  $url = "https://download.oracle.com/java/18/latest/jdk-18_windows-x64_bin.exe" $filename = "jdk-18_windows-x64_bin.exe"  $dest = "C:\Users\akhilanil\Desktop\Java\$filename" Invoke-WebRequest -Uri ...