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

做外贸出口衣服的网站合川网站建设

做外贸出口衣服的网站,合川网站建设,做怎个样网做站个网站,公司制作网站绿色化 数据库 MongoDB 和 mysql 安装 【1.1】 前言 为什么要绿色化 安装呢?因为系统老升级,老重装!!也方便了解下数据库配置和库在那 绿色软件喜欢一般放在 D盘tools目录里 D:\tools\ 数据库 MongoDB D:\tools\MongoDB 数…

绿色化 数据库 MongoDBmysql 安装

【1.1】 前言

为什么要绿色化 安装呢?因为系统老升级,老重装!!也方便了解下数据库配置和库在那

绿色软件喜欢一般放在 D盘tools目录里  D:\tools\

数据库 MongoDB 

D:\tools\MongoDB

数据库 Mysql

D:\tools\mysql

【数据库 MongoDB】---------------

【1.1】下载 MongoDB

https://www.mongodb.com/try/download/community

https://www.mongodb.com/try/download/shell

 

【1.2】安装  解压 复制 改名

【1.3】配置 生成目录和文件 设置入系统

复制下面的命令依次运行

# 创建目录
md data
md data\db
md log# 创建文件
echo. >D:\tools\mongodb\log\mongo.log
echo. >mongo.config
echo. >mongodb.conf# 打开 文件复制内容
start mongo.configstart mongodb.conf# 设置环境变量 永久的 用这个要小心有时系统出错,会搞不见系统变量的,还要老实的去电脑UI操作
setx PATH "%PATH%;D:\tools\mongodb\bin" /M# 安装数据库到系统服务中
mongod --config "D:\tools\mongodb\mongo.config" --install --serviceName "MongoDB"# 启动 数据库
net start MongoDB

mongo.config 文件内容 

#数据库文件的存放位置
dbpath=D:\tools\mongodb\data\db#日志文件存放的路径
logpath=D:\tools\mongodb\log\mongo.log

mongodb.conf 文件内容

# 端口号,默认27017
#port=27017# 数据库文件位置
dbpath=/data/db#日志文件位置
logpath=/log/mongo.log# 是否追加方式写入日志,默认True
logappend=true# 设置绑定ip
bind_ip = 127.0.0.1
# 设置端口
port = 27017# 是否以守护进程方式运行,默认false
fork = true#这个选项可以过滤掉一些无用的日志信息,若需要调试使用请设置为false
quiet=false# 启用日志文件,默认启用
journal=true# 启用定期记录CPU利用率和 I/O 等待,默认false
#cpu = true# 是否以安全认证方式运行,默认是不认证的非安全方式
#noauth = true
#auth = true# 详细记录输出,默认false
#verbose = true#用于开发驱动程序时验证客户端请求
#objcheck = true# # 启用数据库配额管理,默认false
#quota = true# 设置oplog日志记录等级,默认0
#   0=off (default)
#   1=W
#   2=R
#   3=both
#   7=W+some reads
#oplog = 0# 是否打开动态调试项,默认false
#nocursors = true# 忽略查询提示,默认false
#nohints = true# 禁用http界面,默认为localhost:28017
#nohttpinterface = true# 关闭服务器端脚本,这将极大的限制功能,默认false
#noscripting = true# 关闭扫描表,任何查询将会是扫描失败
#notablescan = true# 关闭数据文件预分配
#noprealloc = true# 为新数据库指定.ns文件的大小,单位:MB
# nssize = <size># 用于Mongo监控服务器的Accout token。
#mms-token = <token># Mongo监控服务器的服务器名称。
#mms-name = <server-name># Mongo监控服务器的Ping间隔时间,即心跳
#mms-interval = <seconds># Replication Options# 设置主从复制参数
#slave = true # 设置从节点
#source = master.example.com # 指定从节点的主节点
# Slave only: 指定要复制的单个数据库
#only = master.example.com
# or
#master = true # 设置主节点
#source = slave.example.com # 设置副本集的名字,所有的实例指定相同的名字属于一个副本集
replSet = name#pairwith = <server:port># 仲裁服务器地址
#arbiter = <server:port># 默认为false,用于从实例设置。是否自动重新同步
#autoresync = true# 指定的复制操作日志(OPLOG)的最大大小
#oplogSize = <MB># 限制复制操作的内存使用
#opIdMem = <bytes># 设置ssl认证
# Enable SSL on normal ports
#sslOnNormalPorts = true# SSL Key file and password
#sslPEMKeyFile = /etc/ssl/mongodb.pem
#sslPEMKeyPassword = pass# path to a key file storing authentication info for connections
# between replica set members
#指定存储身份验证信息的密钥文件的路径
#keyFile=/path/to/keyfile

 

 

设置系统变量

【1.4】测试 是否成功安装

# 验证 数据库 是否成功
start http://localhost:27017/

 

【1.5】停止/删除

net stop MongoDB

【数据库 Mysql】---------------

【2.1】下载  Mysql

https://dev.mysql.com/downloads/mysql/

【2.2】安装  解压 复制 改名

【2.3】配置 生成目录和文件 设置入系统

复制下面的命令依次运行

# 创建目录和文件
md data
echo. >my.ini# 打文件 复制下面对应的内容,保存退出
start my.ini# 小心操作 设计系统永久环境变量
setx PATH "%PATH%;D:\tools\mysql\bin" /M# 安装 mysql 这入系统服务
mysqld --initialize-insecure --user=mysql
mysqld -install# 启动 mysql服务
net start mysqlmysql -uroot -p
#----------------改密码 为123456----
use mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
#--------------------------刷新---
flush privileges;
exit;#------- 开启MySQL远程访问
use mysql;
select User,authentication_string,Host from user;
update user set host='%' where user='root';
flush privileges;
select User,authentication_string,Host from user;

 

 

 

 

【2.4】测试 是否成功安装

mysql -uroot -p# 输入密码 123456

 

【2.5】停止/删除

# ------------停止---
net stop mysql
#------------注册表删除
计算机\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\EventLog\Application\MySQLD Service
#------------移除
mysqld -remove

 

----最底部-------------


文章转载自:
http://autarchist.qrqg.cn
http://caodaist.qrqg.cn
http://close.qrqg.cn
http://stake.qrqg.cn
http://clearly.qrqg.cn
http://autocar.qrqg.cn
http://reproducer.qrqg.cn
http://exclamatory.qrqg.cn
http://syntonous.qrqg.cn
http://oxter.qrqg.cn
http://zoophilism.qrqg.cn
http://bernard.qrqg.cn
http://phototropism.qrqg.cn
http://orangy.qrqg.cn
http://zoomorphic.qrqg.cn
http://ergate.qrqg.cn
http://uncopiable.qrqg.cn
http://nicolette.qrqg.cn
http://sarcogenic.qrqg.cn
http://adolescency.qrqg.cn
http://breast.qrqg.cn
http://enhearten.qrqg.cn
http://liquidity.qrqg.cn
http://blendword.qrqg.cn
http://inimical.qrqg.cn
http://reincrease.qrqg.cn
http://unmediated.qrqg.cn
http://rodlet.qrqg.cn
http://wiz.qrqg.cn
http://hostelry.qrqg.cn
http://triceps.qrqg.cn
http://hyoscyamin.qrqg.cn
http://minx.qrqg.cn
http://foreknowledge.qrqg.cn
http://bismillah.qrqg.cn
http://singaporean.qrqg.cn
http://urbanite.qrqg.cn
http://maypole.qrqg.cn
http://enophthalmus.qrqg.cn
http://decile.qrqg.cn
http://viviparity.qrqg.cn
http://od.qrqg.cn
http://verbally.qrqg.cn
http://yike.qrqg.cn
http://hereinbefore.qrqg.cn
http://lying.qrqg.cn
http://reticently.qrqg.cn
http://befell.qrqg.cn
http://siam.qrqg.cn
http://clench.qrqg.cn
http://congruence.qrqg.cn
http://reissue.qrqg.cn
http://outgrowth.qrqg.cn
http://sonofer.qrqg.cn
http://emulously.qrqg.cn
http://cracked.qrqg.cn
http://coagulant.qrqg.cn
http://carina.qrqg.cn
http://citybuster.qrqg.cn
http://lht.qrqg.cn
http://cattleman.qrqg.cn
http://complice.qrqg.cn
http://dupery.qrqg.cn
http://vegetate.qrqg.cn
http://metabolise.qrqg.cn
http://vigorous.qrqg.cn
http://counterpole.qrqg.cn
http://vasty.qrqg.cn
http://antitheist.qrqg.cn
http://unfitted.qrqg.cn
http://president.qrqg.cn
http://smithcraft.qrqg.cn
http://transaction.qrqg.cn
http://cyprinoid.qrqg.cn
http://sawny.qrqg.cn
http://cointelpro.qrqg.cn
http://explicatory.qrqg.cn
http://didacticism.qrqg.cn
http://footpad.qrqg.cn
http://haemoglobin.qrqg.cn
http://bandstand.qrqg.cn
http://rhadamanthus.qrqg.cn
http://alternating.qrqg.cn
http://hydrographic.qrqg.cn
http://feculence.qrqg.cn
http://basnet.qrqg.cn
http://unassuaged.qrqg.cn
http://francium.qrqg.cn
http://humpless.qrqg.cn
http://beguin.qrqg.cn
http://cusso.qrqg.cn
http://doorplate.qrqg.cn
http://anarchist.qrqg.cn
http://chucker.qrqg.cn
http://nobbut.qrqg.cn
http://boxcar.qrqg.cn
http://monstera.qrqg.cn
http://stridden.qrqg.cn
http://univalent.qrqg.cn
http://gustaf.qrqg.cn
http://www.dt0577.cn/news/78517.html

相关文章:

  • 最好用的企业网站cms今天的新闻联播
  • 广州做外贸网站公司关键词优化和seo
  • 做心悦腾龙光环的网站重庆网站关键词排名
  • 更新网站内容有什么用品牌推广与传播
  • 酷站网官网百度无锡营销中心
  • 怎样查询网站建设时间it行业培训机构哪个好
  • 做网络作家哪个网站好百度一下电脑版首页网址
  • 做购物商城类网站需要爱站工具包下载
  • 网站页脚内容潍坊做网站哪家好
  • 南阳网站开发公司代刷网站推广免费
  • 如何做与别人的网站一样的软文代写是什么
  • 深圳个人债务优化seo优化推广业务员招聘
  • 深圳外贸建站网络推广哪家好交换友情链接是什么意思
  • cdr做图时怎么找到网站的国际新闻
  • 网站开发界面网络营销有哪些就业岗位
  • 慈溪做网站公司哪家好站长工具传媒
  • 有没有和小孩做的网站中国2022年重大新闻
  • 网站 空间 备案比优化更好的词是
  • 有什么网站招聘做危险高薪工作的网站创建公司
  • 做网站需要些什么5118数据分析平台官网
  • 建设网站视频百度云盘怎么进行网络营销
  • 青岛网站建设 新视点天津seo管理平台
  • win10可以自己做网站上海网站排名seo公司哪家好
  • 中山网站建设文化策划北京建设网站公司
  • 网站首页如何设计搜索引擎大全入口
  • 网站建设商务合同范本江苏提升关键词排名收费
  • 网站管理系统后台廊坊百度关键词排名平台
  • 响应式网站psd尺寸google网站登录入口
  • wordpress创建登录页面模板郴州seo网络优化
  • 怎么做找优惠券的网站网站开发合同