DS Log
In my blog, I delve into the world of programming web technologies, Linux, Unix-like, and graphic design using free tools on Linux.
KINGCODE
KingCode Editor (ex Texty Editor) is my project developed using Java Swing. Project is still in development and in beta version. I plan to add additional features focused for PYTHON, PHP, JAVA, C, JS and BASH.
Read more ↗
VUE on Linux
In this guide, I'll walk you through the step-by-step process of setting up Vue.js on your Linux system, empowering you to create dynamic and interactive web applications. Let's harness the power of Vue.js together on the Linux platform!
Read more ↗
Symfony PHP
Dive into the world of Symfony PHP with this comprehensive introduction. In this guide, you'll learn the essential steps to create and manage posts and users, empowering you to build dynamic web applications with ease.
Read more ↗
Trying Linux from Windows
How to set up a PHP development server on Ubuntu 22.04
Text editors
List of text editors for developers.
Read more ↗
Fonts
Important fonts everyone needs to know.
Read more ↗
Try Linux from Windows
Here are some quick videos I made showing how to try out Linux Mint on Windows.
Read more ↗
Monday, July 15, 2024
How to install MongoDB on Ubuntu Linux?
MongoDB is a popular open-source, NoSQL document database that provides high performance, high availability, and easy scalability for managing large amounts of data. It belongs to a category of databases known as document-oriented databases, which store and retrieve data in a flexible, schema-free format called JSON-like documents.
MongoDB database
From the terminal, install gnupg and curl if they are not already installed:
sudo apt-get install gnupg curl
Issue the following command to import the MongoDB public GPG key:
curl -fsSL https://pgp.mongodb.com/server-6.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg \
--dearmor
Create a list file for MongoDB:
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
Reload the local package database.
sudo apt-get update
Install the MongoDB package:
sudo apt-get install -y mongodb-org
Start the service:
sudo systemctl enable mongod
And then restart your computer…
UI admin
MongoDB Compass is a graphical user interface (GUI) tool provided by MongoDB Inc. It is designed to interact with MongoDB databases and provides a convenient way to explore, manipulate and visualize data stored in a MongoDB implementation.
Installation preparation:
sudo apt-get install libgconf-2-4
Download package:
cd ~/Downloads/
wget https://downloads.mongodb.com/compass/mongodb-compass_1.30.1_amd64.deb
Install it:
sudo dpkg -i mongodb-compass_1.30.1_amd64.deb
After installation, it is necessary to restart the computer. And after that we can start the GUI application from the start menu or terminal with the command:
mongodb-compass