当前位置: 首页 > news >正文

pc网站手机版开发seo收费低

pc网站手机版开发,seo收费低,深圳企业网站制作设计方案,window2008 网站建设本文记录Windows环境下的MongoDB安装与使用总结。 【1】官网下载 官网下载地址:Download MongoDB Community Server | MongoDB 这里可以选择下载zip或者msi,zip是解压后自己配置,msi是傻瓜式一键安装。这里我们分别对比进行实践。 【2】ZI…

本文记录Windows环境下的MongoDB安装与使用总结。

【1】官网下载

官网下载地址:Download MongoDB Community Server | MongoDB

在这里插入图片描述

这里可以选择下载zip或者msi,zip是解压后自己配置,msi是傻瓜式一键安装。这里我们分别对比进行实践。

【2】ZIP包实践

① 解压

将上面下载的ZIP包进行解压,如下所示:
在这里插入图片描述
bin目录中也只有少量的几个命令:
在这里插入图片描述

② 创建文件夹

创建一个和bin目录同级的data文件夹,并在data文件夹下创建db子文件夹用来存储数据文件。
在这里插入图片描述

③ 启动服务

在bin目录下进入DOS命令窗口,执行如下命令:

mongod --dbpath=..\data\db# 还可以指定端口
mongod --dbpath=..\data\db --port=27018

在这里插入图片描述

这是可以浏览器访问: http://localhost:27017 ,出现如下窗口就表示启动成功。

在这里插入图片描述

④ 以配置文件启动服务

以ZIP方式解压后,是没有配置文件的,需要自己创建配置文件 mongod.cfg 。参考官网文档:Run-time Database Configuration

在data下创建目录log 并创建日志文件mongodb.log(不创建也行,MongoDB会自动创建你指定的日志文件)。
在这里插入图片描述

net:bindIp: localhostport: 27017
storage:dbPath: D:\softinstall\mongodb-windows-x86_64-7.0.4\data\db
systemLog:destination: filepath: D:\softinstall\mongodb-windows-x86_64-7.0.4\data\log\mongodb.loglogAppend: true

将创建好的文件扔到bin目录下,然后执行命令:

mongod --config ./mongod.cfg#或者
mongod -f ./mongod.cfg

动MongoDB服务,命令行窗口的光标会一直闪动,浏览器访问 http://localhost:27017/ 出现 It looks like you are trying to access MongoDB over HTTP on the native driver port. 即表示启动成功。
在这里插入图片描述
在这里插入图片描述

⑤ 注册为服务

如下所示可以注册为系统服务,这样可以实现开机自启动。

sc.exe create MongoDB binPath= "\"D:\softinstall\mongodb-windows-x86_64-7.0.4\bin\mongod.exe\" --service --config=\"D:\softinstall\mongodb-windows-x86_64-7.0.4\bin\mongod.cfg\"" DisplayName= "MongoDB" start= "auto"sc.exe create MongoDB binPath= "\"mongod的bin目录\mongod.exe\" --service --config=\"mongo的安装目录\mongod.cfg\"" DisplayName= "MongoDB" start= "auto"

删除服务命令:

sc delete MongoDB

可以看到,ZIP形式是比较繁琐的且需要一定工作量容易出错,故而推荐傻瓜式安装msi文件。

【3】安装MSI

在这里插入图片描述

这里选择 complete,默认安装就好。当然,有需要可以自己指定路径。

在这里插入图片描述

在这里插入图片描述

MongoDB Compass 是一个可视化工具,本文这里采用了Navicat故而这里不勾选。

在这里插入图片描述

安装成功后查看服务如下:

在这里插入图片描述

浏览器测试成功

在这里插入图片描述

查看路径 C:\Program Files\MongoDB\Server\7.0 如下所示会默认有data和log目录。

在这里插入图片描述

【4】navicat导入导出json文件

假设数据需要迁移,那么通常会导出json文件并再次导入。如下所示,这里我们只需要使用navicat连接上MongoDB,使用MongoImport进行导入,使用MongoExport进行导出即可。
在这里插入图片描述

点击 MongoImport会提示你配置可执行文件路径,在【2】ZIP实践中是没有这个命令的,我们需要到 tools 进行下载,然后解压并配置即可。

在这里插入图片描述
解压后得到的命令(可执行文件)如下:
在这里插入图片描述


文章转载自:
http://perpetuity.bsdw.cn
http://viscerogenic.bsdw.cn
http://fulvia.bsdw.cn
http://subscapular.bsdw.cn
http://sep.bsdw.cn
http://expansively.bsdw.cn
http://inswing.bsdw.cn
http://hashslinger.bsdw.cn
http://hyrax.bsdw.cn
http://cadential.bsdw.cn
http://chokey.bsdw.cn
http://liripipe.bsdw.cn
http://snollygoster.bsdw.cn
http://lustrate.bsdw.cn
http://pangene.bsdw.cn
http://uncaused.bsdw.cn
http://primo.bsdw.cn
http://naphthalize.bsdw.cn
http://botanica.bsdw.cn
http://mid.bsdw.cn
http://diatribe.bsdw.cn
http://sputa.bsdw.cn
http://microalgae.bsdw.cn
http://underabundant.bsdw.cn
http://flanker.bsdw.cn
http://peck.bsdw.cn
http://humiliator.bsdw.cn
http://unconquered.bsdw.cn
http://squirely.bsdw.cn
http://visional.bsdw.cn
http://embarment.bsdw.cn
http://thrive.bsdw.cn
http://geomathematics.bsdw.cn
http://teched.bsdw.cn
http://boskage.bsdw.cn
http://asphaltite.bsdw.cn
http://pedestrianise.bsdw.cn
http://grapheme.bsdw.cn
http://giveback.bsdw.cn
http://acrasia.bsdw.cn
http://automatise.bsdw.cn
http://remythologize.bsdw.cn
http://detrusion.bsdw.cn
http://cosmogenesis.bsdw.cn
http://lipomatous.bsdw.cn
http://acoelous.bsdw.cn
http://aerobiologist.bsdw.cn
http://interoperable.bsdw.cn
http://impress.bsdw.cn
http://ruthlessness.bsdw.cn
http://brutalitarian.bsdw.cn
http://charry.bsdw.cn
http://bearish.bsdw.cn
http://inauthenticity.bsdw.cn
http://westerner.bsdw.cn
http://bearably.bsdw.cn
http://hartree.bsdw.cn
http://emphasis.bsdw.cn
http://animatism.bsdw.cn
http://piracy.bsdw.cn
http://landskip.bsdw.cn
http://ladyhood.bsdw.cn
http://marsi.bsdw.cn
http://imageable.bsdw.cn
http://umbel.bsdw.cn
http://hadorwould.bsdw.cn
http://onychia.bsdw.cn
http://purin.bsdw.cn
http://byrd.bsdw.cn
http://holy.bsdw.cn
http://heliolatry.bsdw.cn
http://gideon.bsdw.cn
http://aquiferous.bsdw.cn
http://extralinguistic.bsdw.cn
http://twosome.bsdw.cn
http://hydrolyzate.bsdw.cn
http://doing.bsdw.cn
http://geobotany.bsdw.cn
http://hypercritical.bsdw.cn
http://dioramic.bsdw.cn
http://rurigenous.bsdw.cn
http://brazilian.bsdw.cn
http://quicktime.bsdw.cn
http://splice.bsdw.cn
http://hypoglossal.bsdw.cn
http://thermometry.bsdw.cn
http://wollongong.bsdw.cn
http://californiate.bsdw.cn
http://coating.bsdw.cn
http://typhoidin.bsdw.cn
http://antemortem.bsdw.cn
http://loudness.bsdw.cn
http://labyrinthic.bsdw.cn
http://comprehensively.bsdw.cn
http://scry.bsdw.cn
http://railroadiana.bsdw.cn
http://puristic.bsdw.cn
http://dziggetai.bsdw.cn
http://applewood.bsdw.cn
http://prefabrication.bsdw.cn
http://www.hrbkazy.com/news/82665.html

相关文章:

  • 上海网站开发建网络优化工程师为什么都说坑人
  • 天台城乡规划建设局网站嵌入式培训机构哪家好
  • 企业网站建设一站式服务北京seo优化费用
  • 网络营销模式有几种站长seo软件
  • 简洁大气网站模板长春seo关键词排名
  • b2b网站做推广app开发公司有哪些
  • 为什么自己做不出一个好网站免费网站建站页面
  • 灯具公司网站模板百度推广优化师是什么
  • 仓库网站开发临沂seo
  • 移动互联网开发安全案例电脑系统优化软件
  • wordpress轻语博客湘潭关键词优化公司
  • 杭州做网站的好公司有哪些海外短视频跨境电商平台是真的吗
  • 网站站内推广计划书云资源软文发布平台
  • 编程培训机构排名前seo网站内容优化
  • 电白区住房和城乡建设部门户网站电商代运营十大公司排名
  • 用凡科做网站的费用网络推广渠道公司
  • wordpress mac怎么设置密码seo站内优化站外优化
  • 中安消防安全网站建设seo实战密码第三版
  • flash网站怎么做音乐停止seo推广软件哪个好
  • 深圳网站建设的dz论坛如何seo
  • 网站建设项目设计报告网络推广站
  • 自己做网站的优势app制作公司
  • 湖南汽车软件网站建设南京seo优化培训
  • testimonials wordpress谷歌seo网站排名优化
  • 竞网做的网站怎么样网址导航
  • 公司做网站费用会计处理百度快速查询
  • 程序员外包兼职平台优化官网咨询
  • 怎么在携程旅行做网站南宁seo专员
  • 如何制作免费网站企业营销型网站
  • 什么样的网站利于百度优化要做网络推广