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

怎样做网站卖东西 自己有货北京seo怎么优化

怎样做网站卖东西 自己有货,北京seo怎么优化,wordpress手机端响应慢,微信定制开发多少钱背景 总结下docker的一些知识 docker安装(有网络版) 参考文章我以前试过这个帖子,建议安装高版本的docker,(20以上的,不然可能会有一些问题) ## 1、安装依赖 [rootiZo7e61fz42ik0Z ~]#yum i…

背景

总结下docker的一些知识

docker安装(有网络版)

参考文章我以前试过这个帖子,建议安装高版本的docker,(20以上的,不然可能会有一些问题)

## 1、安装依赖
[root@iZo7e61fz42ik0Z ~]#yum install -y yum-utils device-mapper-persistent-data lvm2
## 2、添加docker软件源
[root@iZo7e61fz42ik0Z ~]#yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
## 3、只保留稳定版本
[root@iZo7e61fz42ik0Z ~]#yum-config-manager --disable docker-ce-edge
[root@iZo7e61fz42ik0Z ~]#yum-config-manager --disable docker-ce-test
## 4、更新包索引
[root@iZo7e61fz42ik0Z ~]#yum makecache fast
## 5、更新yum包索引
[root@iZo7e61fz42ik0Z ~]#yum list docker-ce --showduplicates|sort -r
Loading mirror speeds from cached hostfile
Loaded plugins: fastestmirror
Installed Packages
docker-ce.x86_64            3:18.09.0-3.el7                    docker-ce-stable
docker-ce.x86_64            18.06.1.ce-3.el7                   docker-ce-stable
docker-ce.x86_64            18.06.1.ce-3.el7                   @docker-ce-stable
docker-ce.x86_64            18.06.0.ce-3.el7                   docker-ce-stable
docker-ce.x86_64            18.03.1.ce-1.el7.centos            docker-ce-stable
docker-ce.x86_64            18.03.0.ce-1.el7.centos            docker-ce-stable
docker-ce.x86_64            17.12.1.ce-1.el7.centos            docker-ce-stable
docker-ce.x86_64            17.12.0.ce-1.el7.centos            docker-ce-stable
docker-ce.x86_64            17.09.1.ce-1.el7.centos            docker-ce-stable
docker-ce.x86_64            17.09.0.ce-1.el7.centos            docker-ce-stable
docker-ce.x86_64            17.06.2.ce-1.el7.centos            docker-ce-stable
docker-ce.x86_64            17.06.1.ce-1.el7.centos            docker-ce-stable
docker-ce.x86_64            17.06.0.ce-1.el7.centos            docker-ce-stable
docker-ce.x86_64            17.03.3.ce-1.el7                   docker-ce-stable
docker-ce.x86_64            17.03.2.ce-1.el7.centos            docker-ce-stable
docker-ce.x86_64            17.03.1.ce-1.el7.centos            docker-ce-stable
docker-ce.x86_64            17.03.0.ce-1.el7.centos            docker-ce-stable
Available Packages
# 安装指定版本
[root@iZo7e61fz42ik0Z ~]#yum -y install docker-ce-18.06.1.ce

Docker安装完毕,启动Docker服务查看一下版本

# 启动docker
[root@iZo7e61fz42ik0Z ~]#systemctl start docker
# 开机自启
[root@iZo7e61fz42ik0Z ~]#systemctl enable docker
# 查看版本
[root@iZo7e61fz42ik0Z ~]# docker version
Client:Version:           18.06.1-ceAPI version:       1.38Go version:        go1.10.3Git commit:        e68fc7aBuilt:             Tue Aug 21 17:23:03 2018OS/Arch:           linux/amd64Experimental:      falseServer:Engine:Version:          18.06.1-ceAPI version:      1.38 (minimum version 1.12)Go version:       go1.10.3Git commit:       e68fc7aBuilt:            Tue Aug 21 17:25:29 2018OS/Arch:          linux/amd64Experimental:     false

docker安装(无网络版)

  • 提前下载docker,下载docker的安装文件:https://download.docker.com/linux/static/stable/x86_64/
  • 开始安装
docker  安装,这里我下载的19.03.9,后续就出现了一些端口安全的问题
#   解压docker 安装包
tar -zxvf docker-19.03.9.tgz
#  解压文件移动到到 /usr/bin
mv docker/* /usr/bin/ 
# 配置docker.service 文件
cd /etc/systemd/system/
# 把离线部署里的docker.service文件传到这个目录
可以使用sftp,或者rz命令   
# 赋予执行权限
chmod +x /etc/systemd/system/docker.service     
# 重新加载配置文件
systemctl daemon-reload
# 开机自启
systemctl enable docker.service                                          
# 启动docker
systemctl start docker   
#查看docker版本docker -v        
  • docker.service文件
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network-online.target firewalld.service
Wants=network-online.target[Service]
Type=notify
# the default is not to use systemd for cgroups because the delegate issues still
# exists and systemd currently does not support the cgroup feature set required
# for containers run by docker
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock
ExecReload=/bin/kill -s HUP
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
#TasksMax=infinity
TimeoutStartSec=0
# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
# kill only the docker process, not all processes in the cgroup
KillMode=process
# restart the docker process if it exits prematurely
Restart=on-failure
StartLimitBurst=3
StartLimitInterval=60s[Install]
WantedBy=multi-user.target
http://www.dt0577.cn/news/10676.html

相关文章:

  • 成都网站定制中心吉安seo网站快速排名
  • 兼职网站推广如何做平台关键词排名优化
  • 网站组成百度账号注册入口
  • 武汉教育网站建设公司以网红引流促业态提升
  • 建设淘宝网站的意义软文推广方案
  • 企业网站空间在哪里做网站的网络公司
  • 武汉最近新闻大事seo信息优化
  • 平台网站如何做推广方案重庆网站网络推广
  • 自己做网站还是用别人网站自媒体发布平台
  • 企业网站开发实训目的网络平台推广
  • 北京网站sem、seo湖北网站推广
  • 南昌网站搜索排名关键词营销推广
  • 北京小程序制作公司论坛seo设置
  • 制作一个网站需要多长时间网络公司关键词排名
  • 秦皇岛做网站网络推广产品公司
  • 小型crm系统什么是seo什么是sem
  • 网址导航网站制作工具seo是什么意思seo是什么职位
  • 武汉网站建设网站郑州网络推广效果
  • 小网站开发成本google浏览器下载安装
  • 江阴市建设局网站济南公司网站推广优化最大的
  • 河口企业网站开发公司百度搜索排名优化
  • 海口建站模板系统app广告联盟
  • 做馋嘴小栈官方网站seo外包 杭州
  • 安庆做网站的公司北京百度竞价
  • 北京微信网站建设百度官网首页网址
  • 怎么在百度创建网站微信营销模式有哪些
  • 开元棋牌网站怎么做seo网站排名优化教程
  • 基于网站的app开发万网域名查询官网
  • 韩国什么网站是专做皮草的肥城市区seo关键词排名
  • 湖北省建设用地预审网站正规seo大概多少钱