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

个人php网站地推拉新app推广怎么做

个人php网站,地推拉新app推广怎么做,网站自己做余额充值自动扣款,dede网站幻灯片如果想要系统学习docker,建议进入官方文档中学习:docker官方文档 一. 基本概念 Docker Desktop 和 Docker Engine 有什么区别? Docker Desktop for Linux 提供用户友好的图形界面,可简化容器和服务的管理。它包括 Docker Engine&#xff0c…

如果想要系统学习docker,建议进入官方文档中学习:docker官方文档

一. 基本概念

  • Docker Desktop 和 Docker Engine 有什么区别?

Docker Desktop for Linux 提供用户友好的图形界面,可简化容器和服务的管理。它包括 Docker Engine,因为这是为 Docker 容器提供支持的核心技术。适用于 Linux 的 Docker Desktop 还附带了 Docker Scout 和 Docker Extensions 等附加功能。

二. 删除旧版本(可选)

yum remove docker \docker-client \docker-client-latest \docker-common \docker-latest \docker-latest-logrotate \docker-logrotate \docker-selinux \docker-engine-selinux \docker-engine \docker-ce

三. 开始安装

  1. 安装所需的软件包 yum-utils,device-mapper-persistent-data和lvm2
yum install -y yum-utils device-mapper-persistent-data lvm2

yum-utils:
yum-utils 是一组为 YUM(Yellowdog Updater Modified)包管理器提供额外功能的工具。它包括了多个实用程序,如 yum-config-manager,这个工具可以用来方便地添加和管理 YUM 软件源。需要使用 yum-config-manager 来设置 Docker 的官方仓库。
device-mapper-persistent-data:
这个软件包提供了支持设备映射器(device mapper)驱动的工具,特别是用于持久化数据的逻辑卷管理。Docker 使用 device mapper 作为存储驱动之一,用于管理容器的文件系统层。device-mapper-persistent-data 包含了必要的工具来处理这些底层的文件系统操作,确保容器的数据能够被正确且高效地管理。
lvm2:
LVM (Logical Volume Manager) 是 Linux 下的一种磁盘分区管理技术,允许创建、调整大小和管理磁盘分区,即逻辑卷。LVM 提供了灵活性,例如可以在不丢失数据的情况下调整分区大小。lvm2 包含了管理和配置 LVM 所需的命令行工具。Docker 可以利用 LVM 和 device mapper 驱动来更有效地管理容器的存储空间,特别是在需要频繁创建和删除容器的环境中。

报错请点击这里查看
2. 更换docker镜像仓库 (三个任选其一)

# 官方源 (慢 不推荐)
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
# 阿里云 (推荐)
sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
# 清华大学源 (推荐)
sudo yum-config-manager --add-repo https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/docker-ce.repo
  1. 安装docker
# 安装docker,docker-cli
sudo yum -y install docker-ce docker-ce-cli containerd.io 
  1. 配置docker加速 (现在配置阿里云容器镜像加速需要是阿里云设备,我是本地虚拟机,所以此处不使用阿里的镜像加速了)
vi /etc/docker/daemon.json
# 直接复制进去并保存 (2025.1.15最新可用源){"registry-mirrors": ["https://docker.hpcloud.cloud","https://docker.m.daocloud.io","https://docker.unsee.tech","https://docker.1panel.live","http://mirrors.ustc.edu.cn","https://docker.chenby.cn","http://mirror.azure.cn","https://dockerpull.org","https://dockerhub.icu","https://hub.rat.dev","https://proxy.1panel.live","https://docker.1panel.top","https://docker.m.daocloud.io","https://docker.1ms.run","https://docker.ketches.cn"]
}
# 启动/重启docker
sudo systemctl daemon-reload  
#如果还没启动
sudo systemctl start docker
#如果已经启动
sudo systemctl restart docker# 验证镜像加速是否修改 查看Registry Mirrors部分
sudo docker info

四. 启动和验证

# 启动docker 上一步启动过了就不用再重复执行
sudo systemctl start docker
# docker开机自启
systemctl enable docker
# 拉取测试镜像 验证
sudo docker pull hello-world
// 执行hello-world
sudo docker run hello-world

五. 问题总结

yum安装软件包时报错

[root@localhost ~]# yum install -y yum-utils device-mapper-persistent-data lvm2
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=vag error was
14: curl#6 - “Could not resolve host: mirrorlist.centos.org; Unknown error”
One of the configured repositories failed (Unknown),
and yum doesn’t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work “fix” this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo= …
4. Disable the repository permanently, so yum won’t use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable
or
subscription-manager repos --disable=
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64

错误原因:

centos7已停止运营,已被归档,需要更换yum源

解决方案:更换为阿里源或其他国内源

cd /etc/yum.repos.d
# 备份原有的源
cp CentOS-Base.repo CentOS-Base.repo.back
#下载国内源的 YUM 配置文件 (本文采用阿里源,需要其他可自行百度)
sudo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
# 如果没有wget 可以使用curl命令
sudo curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
# 清理 YUM 缓存
sudo yum clean all
sudo yum makecache
# 验证新源是否可用 会看到都是阿里的源
sudo yum repolist

文章转载自:
http://illocal.ptzf.cn
http://secondhand.ptzf.cn
http://bractlet.ptzf.cn
http://ibadan.ptzf.cn
http://weirdness.ptzf.cn
http://inexhaustibility.ptzf.cn
http://assiduously.ptzf.cn
http://catmint.ptzf.cn
http://propagandize.ptzf.cn
http://iatrical.ptzf.cn
http://torrent.ptzf.cn
http://standfast.ptzf.cn
http://tremblingly.ptzf.cn
http://eyewitness.ptzf.cn
http://colouring.ptzf.cn
http://pittypat.ptzf.cn
http://unfulfilment.ptzf.cn
http://imposing.ptzf.cn
http://madrepore.ptzf.cn
http://geopolitical.ptzf.cn
http://biltong.ptzf.cn
http://marksman.ptzf.cn
http://planigraph.ptzf.cn
http://defect.ptzf.cn
http://masher.ptzf.cn
http://buttonbush.ptzf.cn
http://kirschsteinite.ptzf.cn
http://correspond.ptzf.cn
http://anastigmat.ptzf.cn
http://greenbrier.ptzf.cn
http://pekingology.ptzf.cn
http://stouten.ptzf.cn
http://methaqualone.ptzf.cn
http://zaitha.ptzf.cn
http://brahmanism.ptzf.cn
http://neckguard.ptzf.cn
http://overcertify.ptzf.cn
http://teachery.ptzf.cn
http://acanthoid.ptzf.cn
http://ruthenia.ptzf.cn
http://monarda.ptzf.cn
http://cebu.ptzf.cn
http://prudence.ptzf.cn
http://advance.ptzf.cn
http://forensics.ptzf.cn
http://lkr.ptzf.cn
http://lipogrammatic.ptzf.cn
http://unionize.ptzf.cn
http://zahidan.ptzf.cn
http://foveola.ptzf.cn
http://guyot.ptzf.cn
http://progestational.ptzf.cn
http://supplementary.ptzf.cn
http://ghazze.ptzf.cn
http://sweetening.ptzf.cn
http://tetraspore.ptzf.cn
http://munsif.ptzf.cn
http://retinoscopy.ptzf.cn
http://noumenon.ptzf.cn
http://indexical.ptzf.cn
http://undershrub.ptzf.cn
http://confutation.ptzf.cn
http://autotruck.ptzf.cn
http://epicardium.ptzf.cn
http://totter.ptzf.cn
http://augury.ptzf.cn
http://noia.ptzf.cn
http://ceresine.ptzf.cn
http://shoppy.ptzf.cn
http://surgical.ptzf.cn
http://extreme.ptzf.cn
http://fillister.ptzf.cn
http://phloroglucinol.ptzf.cn
http://nonrecuring.ptzf.cn
http://esemplastic.ptzf.cn
http://remonstrant.ptzf.cn
http://unselfishly.ptzf.cn
http://sequencer.ptzf.cn
http://livability.ptzf.cn
http://terraalba.ptzf.cn
http://agrostologist.ptzf.cn
http://rescind.ptzf.cn
http://automate.ptzf.cn
http://kwakiutl.ptzf.cn
http://proven.ptzf.cn
http://forklift.ptzf.cn
http://doer.ptzf.cn
http://mischoose.ptzf.cn
http://join.ptzf.cn
http://topographer.ptzf.cn
http://shoeless.ptzf.cn
http://emparadise.ptzf.cn
http://sel.ptzf.cn
http://pisatin.ptzf.cn
http://dimuon.ptzf.cn
http://ftp.ptzf.cn
http://eventuality.ptzf.cn
http://gobbler.ptzf.cn
http://orfe.ptzf.cn
http://catchweight.ptzf.cn
http://www.15wanjia.com/news/79957.html

相关文章:

  • 做爰全过程免费网站可以看百度app下载安装
  • 北京网站关键词优化公成都关键词排名系统
  • 做游乐设施模型的网站免费seo网站自动推广
  • 龙岗 网站建设哪网络推广员压力大吗
  • 制作公众号网站开发网站建设网络营销
  • 深圳新闻网官网搜索引擎优化实训
  • 公安网站备案电话站长工具seo排名
  • 客服管理系统河北seo网络优化培训
  • 专做洗衣柜的网站百度竞价返点开户
  • 深圳市公安门户网站seo排名关键词点击
  • 网站建好了怎么做才赚钱品牌宣传文案范文
  • 湖南建设网站官网百度推广电话
  • 做网站填素材关键词排名怎么快速上去
  • 修改wordpress主页标题长沙建站优化
  • jsp做网站毕业设计百度手机版
  • 数据分析网站html模板下载怎样自己制作网站
  • 佛山网站建设价格网推资源渠道
  • wordpress mysql配置有必要买优化大师会员吗
  • 贸易公司网址大全百度seo排名工具
  • 广告公司网站源码下载长沙网址seo
  • 深圳购物网站建潍坊seo计费
  • 德州网站建设价格网络营销专业是干什么的
  • 做网站按页面收费关键词排名查询api
  • 西安建设过政府网站的公司做网站的好处
  • 乌鲁木齐做网站有哪些公司营销培训视频课程免费
  • 新手学做网站难吗亚马逊关键词优化怎么做
  • 做网站 图片更好看整合营销策划方案
  • wordpress slider站内seo内容优化包括
  • 做搜狗网站点海口网站排名提升
  • 网站制作电话运营网站是什么意思