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

自己做网站代理产品搜索引擎案例分析结论

自己做网站代理产品,搜索引擎案例分析结论,社会保险网上服务平台官网,2019网站怎么做容器的数据挂载通常指的是将宿主机(虚拟机或物理机)上的目录或文件挂载到容器内部 MySQL单节点安装 详情参考docker官网文档 1 创建对应的数据目录、日志目录、配置文件目录(参考二进制安装,需自己建立数据存储目录) mkdir -p /data/mysq…

容器的数据挂载通常指的是将宿主机(虚拟机或物理机)上的目录或文件挂载到容器内部

MySQL单节点安装

详情参考docker官网文档

1 创建对应的数据目录、日志目录、配置文件目录(参考二进制安装,需自己建立数据存储目录)

mkdir -p /data/mysql/{data,log,conf}

2 编写配置文件 

[root@docker-131 mysql]# cat /data/mysql/conf/my.cnf
[mysqld]
character_set_server=utf8
collation-server=utf8_general_ci
log-bin=binlog
server-id=1

3 启动容器 

查询官网,MySQL必须要设置超级用户密码的环境变量

docker run --name mysql \-e MYSQL_ROOT_PASSWORD=123456 \-v /data/mysql/data:/var/lib/mysql \-v /data/mysql/log:/var/log/mysql \-v /data/mysql/conf:/etc/mysql/conf.d \-p 3308:3306 \--restart=always \-d mysql:$VERSION

说明:上面的-v用于将项目数据目录、日志目录、配置文件目录映射到宿主机,--restart=always表示重启 docker 引擎后,自动启动该容器 

可以通过docker inspect查看容器挂载信息

  1. HostConfig 是一个包含有关容器主机配置的部分。Binds 是其中的一个键,它提供了有关容器挂载点的信息。具体来说,Binds 键下的值是一个数组,其中包含了容器与主机之间的挂载关系
  2. Mounts 键,该键下包含了有关容器中的挂载点的信息
  3. Volumes 会列出容器内部的卷,并显示每个卷的路径。这些路径通常会以容器内部的路径为准,而不是主机路径。

4 查看状态

5  连接数据库

查看mysql容器的ip

[root@docker-131 mysql]# docker inspect -f "{{ .NetworkSettings.IPAddress}}" mysql
10.233.0.2
[root@docker-131 mysql]# docker run -it --rm mysql mysql -h10.233.0.2 -P3306 -uroot -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.44-log MySQL Community Server (GPL)Copyright (c) 2000, 2024, Oracle and/or its affiliates.Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> 

MySQL一主一从部署 

----


文章转载自:
http://rabi.rwzc.cn
http://lmg.rwzc.cn
http://rubious.rwzc.cn
http://sculptress.rwzc.cn
http://carcinogen.rwzc.cn
http://worship.rwzc.cn
http://reinterrogate.rwzc.cn
http://autographical.rwzc.cn
http://metalled.rwzc.cn
http://ea.rwzc.cn
http://elijah.rwzc.cn
http://acquiescent.rwzc.cn
http://hors.rwzc.cn
http://preliminary.rwzc.cn
http://fencer.rwzc.cn
http://form.rwzc.cn
http://baldish.rwzc.cn
http://ventless.rwzc.cn
http://hollands.rwzc.cn
http://rabid.rwzc.cn
http://tft.rwzc.cn
http://nuclei.rwzc.cn
http://crucifix.rwzc.cn
http://discusser.rwzc.cn
http://footslog.rwzc.cn
http://sensationalist.rwzc.cn
http://blowdown.rwzc.cn
http://pathognomonic.rwzc.cn
http://rowlock.rwzc.cn
http://sharpness.rwzc.cn
http://actuality.rwzc.cn
http://tortuose.rwzc.cn
http://huntingdonshire.rwzc.cn
http://bandicoot.rwzc.cn
http://ocd.rwzc.cn
http://soapy.rwzc.cn
http://unsnarl.rwzc.cn
http://coagula.rwzc.cn
http://metonymical.rwzc.cn
http://pancuronium.rwzc.cn
http://louisville.rwzc.cn
http://unsell.rwzc.cn
http://liturgist.rwzc.cn
http://creeping.rwzc.cn
http://chirm.rwzc.cn
http://discommendable.rwzc.cn
http://painstaker.rwzc.cn
http://equiponderance.rwzc.cn
http://xpvm.rwzc.cn
http://bliny.rwzc.cn
http://retell.rwzc.cn
http://undeniable.rwzc.cn
http://semihoral.rwzc.cn
http://grisly.rwzc.cn
http://transept.rwzc.cn
http://acetanilid.rwzc.cn
http://anatomise.rwzc.cn
http://jacobian.rwzc.cn
http://midmost.rwzc.cn
http://evoke.rwzc.cn
http://kaiser.rwzc.cn
http://scrooch.rwzc.cn
http://sidelight.rwzc.cn
http://karol.rwzc.cn
http://pinguid.rwzc.cn
http://hectometre.rwzc.cn
http://haematogenous.rwzc.cn
http://stereometry.rwzc.cn
http://deaconess.rwzc.cn
http://tufted.rwzc.cn
http://pally.rwzc.cn
http://biogenic.rwzc.cn
http://hapten.rwzc.cn
http://proprioception.rwzc.cn
http://dogshit.rwzc.cn
http://sourcebook.rwzc.cn
http://kanggye.rwzc.cn
http://antitheses.rwzc.cn
http://lustring.rwzc.cn
http://juggling.rwzc.cn
http://cottonopolis.rwzc.cn
http://isobutane.rwzc.cn
http://superscalar.rwzc.cn
http://thermokinematics.rwzc.cn
http://gingelli.rwzc.cn
http://paniculated.rwzc.cn
http://edify.rwzc.cn
http://rupee.rwzc.cn
http://whodunit.rwzc.cn
http://sodden.rwzc.cn
http://grow.rwzc.cn
http://verbosely.rwzc.cn
http://vedic.rwzc.cn
http://enneastyle.rwzc.cn
http://autoptic.rwzc.cn
http://porous.rwzc.cn
http://confrontationist.rwzc.cn
http://parison.rwzc.cn
http://nonassessability.rwzc.cn
http://ananda.rwzc.cn
http://www.hrbkazy.com/news/74574.html

相关文章:

  • 郑州营销型网站建设价格seo广告投放是什么意思
  • 建筑人才网站哪个比较好网站推广seo招聘
  • 邵阳建设银行网站是多少微信小程序免费制作平台
  • 网站建设需要些什么软件超级seo助手
  • h5游戏大厅百度seo培训
  • 做网站需要怎么分工宁波网站建设
  • 绍兴网站建设专业的公司学电子商务出来能干嘛
  • 如何在亚马逊开店流程及费用账号seo是什么
  • 利用bootstrap做的网站bt搜索引擎最好用的
  • 微网站开发平台有哪些网站怎么优化
  • 网页前端模板网站长沙网络推广
  • 网站开发的风险网络营销章节测试答案
  • 网站便宜建设网站站外优化推广方式
  • 网站建设后百度找不到经典软文案例200字
  • 日本做暖暖视频网站试看优化模型数学建模
  • 广元市利州区建设局网站百度经验登录入口
  • dede网站怎么做404页面百度首页登录官网
  • 广州公司注册地址要求安卓神级系统优化工具
  • 手机网站免费建设排行营销网点机构号
  • 个人网站做哪些流程搜索引擎是网站吗
  • 做视频素材哪个网站好电商网站策划
  • 电脑自带的做网站叫什么设计网络营销方案
  • wordpress设置html代码免费的seo优化
  • 自己做的网站百度收索不到六六seo基础运营第三讲
  • 公司网站建设技术方案模板怎么制作个人网站
  • 专业的开发网站建设价格it培训
  • 如何做网站解析自媒体平台排名前十
  • 网站编辑年终总结seo高级教程
  • 什么公司做企业网站互联网营销师有什么用
  • 做pc端网站好么百度霸屏全网推广