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

How it works…

Similar to our first recipe, we downloaded a precompiled binary package and started the MongoDB server using the most basic command line parameter --dbpath such that it uses a customized directory ~/data/db for storing databases. As you might have noticed, MongoDB server by default, starts listening on TCP 27017 on all interfaces. We also saw how to add the MongoDB binary directory's path to our system's PATH variable for a more convenient way to access the MongoDB binaries.

主站蜘蛛池模板: 奈曼旗| 武山县| 灵丘县| 兰坪| 甘洛县| 霸州市| 云南省| 邵阳县| 宜丰县| 青铜峡市| 舞阳县| 乐东| 宣汉县| 东宁县| 新丰县| 霞浦县| 万年县| 定远县| 阿克苏市| 吴江市| 乌兰县| 治多县| 高安市| 晋城| 天台县| 宜兰市| 平顺县| 虎林市| 措勤县| 舟山市| 喀什市| 灵石县| 沧州市| 黔江区| 高台县| 水富县| 平利县| 巴林右旗| 新闻| 梓潼县| 康定县|