Blog
- Home
- Blog
This article covers how to #install / #uninstall MongoDB on your Debian system. You have also learned how to manage MongoDB services.
MongoDB is an opensource, cross-platform NoSQL database server.
In MongoDB, data is stored in flexible, JSON-like documents where fields can vary from document to document.
It does not require a predefined schema, and data structure can be changed over time.
To install MongoDB on #Debian:
Perform the following steps as root or user with sudo privileges to install MongoDB on a Debian system.
1. Install the packages required for adding a new repository:
$ sudo apt install dirmngr gnupg apt-transport-https software-properties-common ca-certificates curl
2. Add the MongoDB GPG key to your system:
$ curl -fsSL https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
3. Enable the MongoDB repository:
$ sudo add-apt-repository 'deb https://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main'
4. Packages with older versions of MongoDB are not available for Debian 10.
Update the packages list and install the mongodb-org meta-package:
$ sudo apt update
$sudo apt install mongodb-org
The following packages will be installed on the system as a part of the mongodb-org package:
mongodb-org-server - The mongod daemon and corresponding init scripts and configurations.
mongodb-org-mongos - The mongos daemon.
mongodb-org-shell - The mongo shell is an interactive JavaScript interface to MongoDB. It is used to perform administrative tasks through the command line.
mongodb-org-tools - Contains several MongoDB tools for importing and exporting data, statistics, as well as other utilities.
To Start the #MongoDB service and enable it to start on boot:
sudo systemctl enable mongod --now
This article covers different methods to #install Google Chrome on Linux Mint. You can easily install/uninstall Google Chrome on Linux mint 20 OS. You will also learn how to set Google Chrome as the default web browser so that all your links or URLs open by default in Google Chrome.
You can install Google #Chrome onto your Linux #Mint 20 distro by using either of the following two methods:
1. Install Chrome by adding the Google Chrome repository.
2. Install Chrome using the . deb package.
To install #Google Chrome on #Linux Mint:
1. Add this link to the list of repo sources "deb http://dl.google.com/linux/chrome/deb/ stable main"
2. Run in terminal "sudo apt-get update"
3. Run in terminal "sudo aptitude install google-chrome-stable"
Running sudo apt-get update (or sudo aptitude update ) updates this on your local system.
This is the step that actually retrieves information about what packages can be installed, including what updates to currently installed packages packages are available, from Internet sources.
This article covers how to install Wine on Ubuntu 20.04. We used the WineHQ repositories and downloaded them directly for their installation.
Users can use it now for running all Windows-based applications.
To Install Wine from a Standard Ubuntu Repository (recommended):
We recommend that you install Wine on your system through the standard Ubuntu repository, as this way you can have a more stable version on your system.
1. Run the following command in the Terminal as a root user in order to install Wine on a 64-bit version of Ubuntu:
$ sudo apt install wine64
2. Please enter y when you are prompted with a y/n option for installation.
After that, the Wine application will be installed and ready for use.
3. For a 32-bit Ubuntu system, you can use the following command:
$ sudo apt install wine32
4. You can verify the version of Wine through the following command:
$ wine --version
To Install Wine without Internet:
To install Wine on an Ubuntu machine without internet access, you must have access to a second Ubuntu machine (or VM) with an internet connection to download the Wine .deb package and its dependencies.
On the machine with internet, add the WineHQ repository and run apt update.
Next, cache just the packages necessary for installing wine, without extracting them:
sudo apt-get clean
sudo apt-get --download-only install winehq-devel
sudo apt-get --download-only dist-upgrade
Copy all of the .deb files in /var/cache/apt/archives to a USB stick:
cp -R /var/cache/apt/archives/ /media/usb-drive/deb-pkgs/
Finally, on the machine without internet, install all of the packages from the flash drive:
cd /media/usb-drive/deb-pkgs
sudo dpkg -i *.deb
This article covers different methods to install and enjoy Google Chrome on your Debian 10 system. Moreover, whenever you feel like you do not need this browser any longer, then we have even explained to you the method of removing this browser from your Debian 10 system for your convenience.
To Install Google Chrome on Debian:
1. Downloading Google Chrome. Open the terminal either by using the Ctrl+Alt+T keyboard shortcut or by clicking on the terminal icon.
2. Installing Google Chrome. Once the download is complete, install Google Chrome with apt : sudo apt install ./google-chrome-stable_current_amd64.deb.
This article covers how to install MariaDB on Ubuntu 20.04 LTS system. Also you will learn how to secure it by configuring some security options and then, in the end, we have tested the connection to MariaDB. The #Ubuntu server should have a non-root administrative user and a firewall configured with UFW.
By following the above simple steps, you can easily setup MariaDB on your ubuntu system.
For more information, visit MariaDB's official documentation .
MariaDB is one of the most widely used and open-source database management systems.
MariaDB is considered as a replacement for #MySQL and has much more features and capabilities that you cannot find in MySQL.
To install #MariaDB on Debian:
1. Update your package index using apt;
$ sudo apt update
2. Install the mariadb-server package using apt. The package also pulls in related tools to interact with MariaDB;
$ sudo apt install mariadb-server
3. Run the included mysql_secure_installation security script to restrict access to the server;
$ sudo mysql_secure_installation
This article covers the different methods for the installation of Google Chrome on the CentOS 8 system using the terminal commands and graphical method.
Once the installation of chrome is complete, now you can feel free to add chrome extensions and favorite themes from the web store of Google Chrome.
To install Google Chrome 78 on a RHEL/CentOS/Fedora Linux:
1. Open the Terminal application. Grab 64bit Google Chrome installer.
2. Type the following command to download 64 bit version of Google Chrome:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
3. Install Google Chrome and its dependencies on a CentOS/RHEL, type:
sudo yum install ./google-chrome-stable_current_*.rpm
4. Start Google Chrome from the CLI:
google-chrome &
To upgrade Google Chrome from an older version:
You can simply update it by typing the following yum command:
$ sudo yum update google-chrome-stable
OR use the following dnf command to update it on a Fedora Linux:
$ sudo dnf update google-chrome-stable
To uninstall Chrome from Ubuntu:
1. Open the Terminal: It should be present on your desktop or taskbar.
2. Type sudo apt-get purge google-chrome-stable and press Enter to uninstall the Chrome browser.
3. Type sudo apt-get autoremove and press Enter to clean up the Package Manager to ensure that there are no lingering files.