官术网_书友最值得收藏!

Installing MongoDB on Linux

It is important to understand the MongoDB installation process on Linux, even if you are a developer or IT professional and are not using Linux personally, it's extremely likely that the internet-facing server you or your customer use is running Linux. W3Techs (https://w3techs.com/), a company that does web technology surveys, estimates that in 2018, the running on Linux was at 68.1% compared with 32% for Windows.

There are three primary considerations when installing MongoDB on Linux, each of which we will address in turn:

  • Linux based upon Debian and Ubuntu
  • Linux based upon RedHat, Fedora, and CentOS
  • Installing directly from source code
With the bewildering array of Linux distributions currently available, it is difficult to decide which version to feature for the purposes of demonstrating MongoDB on Linux. A significant number of Linux distributions are based on either Debian or Red Hat Linux. Accordingly, this section covers installing MongoDB on both. A website which gives good insight on all reported Linux distributions is DistroWatch ( https://distrowatch.com/). Linux Mint ( https://linuxmint.com/), although now extremely popular, wasn't included here, as it's Debian-based and not as commercially available as Ubuntu.
主站蜘蛛池模板: 交城县| 新乡县| 万宁市| 平江县| 湘乡市| 金山区| 德昌县| 哈尔滨市| 海城市| 泾阳县| 绥江县| 林州市| 太湖县| 察哈| 贵港市| 牡丹江市| 白银市| 乃东县| 西和县| 石狮市| 揭阳市| 绥化市| 岳阳县| 蒲江县| 太保市| 沧州市| 秦皇岛市| 济宁市| 澄迈县| 潼南县| 易门县| 河西区| 嘉善县| 合水县| 康乐县| 武功县| 东宁县| 高邮市| 土默特左旗| 合阳县| 白水县|