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

网站怎么做跳转链接永久免费linux服务器

网站怎么做跳转链接,永久免费linux服务器,wordpress表情包,网站建设 平面设计合同文章目录 CentO7.9安装Docker删除旧版本的Docker安装Docker仓库安装Docker安装最新版本安装指定版本 Docker安装个NGINX查看Docker镜像运行查看Docker进程查看启动端口停止Docker容器 CentO7.9安装Docker 删除旧版本的Docker sudo yum remove docker \docker-client \docker-… 文章目录 CentO7.9安装Docker删除旧版本的Docker安装Docker仓库安装Docker安装最新版本安装指定版本 Docker安装个NGINX查看Docker镜像运行查看Docker进程查看启动端口停止Docker容器 CentO7.9安装Docker 删除旧版本的Docker sudo yum remove docker \docker-client \docker-client-latest \docker-common \docker-latest \docker-latest-logrotate \docker-logrotate \docker-engine这个可能是匹配不到的来个狠一点的 sudo yum remove docker*带有Docker的全部删掉 安装Docker仓库 sudo yum install -y yum-utils sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo安装Docker 安装最新版本 安装Docker最新版不带版本的默认最新版本 sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin安装指定版本 查找docker-ce的版本 [rootWDQCVM ~]# yum list docker-ce --showduplicates | sort -r* updates: mirrors.aliyun.com Loading mirror speeds from cached hostfile Loaded plugins: fastestmirror* extras: mirrors.aliyun.com docker-ce.x86_64 3:24.0.5-1.el7 docker-ce-stable docker-ce.x86_64 3:24.0.4-1.el7 docker-ce-stable docker-ce.x86_64 3:24.0.3-1.el7 docker-ce-stable docker-ce.x86_64 3:24.0.2-1.el7 docker-ce-stable docker-ce.x86_64 3:24.0.1-1.el7 docker-ce-stable查找docker-ce-cli的版本 [rootWDQCVM ~]# yum list docker-ce-cli --showduplicates | sort -r* updates: mirrors.aliyun.com Loading mirror speeds from cached hostfile Loaded plugins: fastestmirror Installed Packages* extras: mirrors.aliyun.com docker-ce-cli.x86_64 1:24.0.5-1.el7 docker-ce-stable docker-ce-cli.x86_64 1:24.0.5-1.el7 docker-ce-stable docker-ce-cli.x86_64 1:24.0.4-1.el7 docker-ce-stable docker-ce-cli.x86_64 1:24.0.3-1.el7 docker-ce-stable docker-ce-cli.x86_64 1:24.0.2-1.el7 docker-ce-stable docker-ce-cli.x86_64 1:24.0.1-1.el7 docker-ce-stable 将参数替换即可 通用示例 sudo yum install docker-ce-VERSION_STRING docker-ce-cli-VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin指定版本示例 sudo yum install docker-ce-24.0.4-1.el7 docker-ce-cli-24.0.4-1.el7 containerd.io docker-buildx-plugin docker-compose-pluginCentos7.9版本安装Docker指定版本时安装了好多次这么设置版本号才成功在软件包名称和版本号之间不需要添加数字和冒号但官网给出的实例是带有:的费解。 校验是否成功 [rootWDQCVM ~]# sudo systemctl start docker [rootWDQCVM ~]# sudo docker --version Docker version 24.0.4, build 3713ee1 [rootWDQCVM ~]# 有以下这些就可说明成功了 [rootWDQCVM ~]# sudo docker run hello-worldHello from Docker! This message shows that your installation appears to be working correctly.To generate this message, Docker took the following steps:1. The Docker client contacted the Docker daemon.2. The Docker daemon pulled the hello-world image from the Docker Hub.(amd64)3. The Docker daemon created a new container from that image which runs theexecutable that produces the output you are currently reading.4. The Docker daemon streamed that output to the Docker client, which sent itto your terminal.To try something more ambitious, you can run an Ubuntu container with:$ docker run -it ubuntu bashShare images, automate workflows, and more with a free Docker ID:https://hub.docker.com/For more examples and ideas, visit:https://docs.docker.com/get-started/[rootWDQCVM ~]# Docker安装个NGINX [rootWDQCVM ~]# docker pull nginx Using default tag: latest latest: Pulling from library/nginx 52d2b7f179e3: Pull complete fd9f026c6310: Pull complete 055fa98b4363: Pull complete 96576293dd29: Pull complete a7c4092be904: Pull complete e3b6889c8954: Pull complete da761d9a302b: Pull complete Digest: sha256:13d22ec63300e16014d4a42aed735207a8b33c223cff19627dd3042e5a10a3a0 Status: Downloaded newer image for nginx:latest docker.io/library/nginx:latest [rootWDQCVM ~]# 查看Docker镜像 [rootWDQCVM ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE nginx latest eea7b3dcba7e 27 hours ago 187MB hello-world latest 9c7a54a9a43c 3 months ago 13.3kB运行 [rootWDQCVM ~]# docker run --name nginx -p 8080:80 -d nginx d1b23e05201a232eb57c2458423b88cee5dc9a27464bb680978676dcd4dd741a [rootWDQCVM ~]#查看Docker进程 [rootWDQCVM ~]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d1b23e05201a nginx /docker-entrypoint.… 7 seconds ago Up 4 seconds 0.0.0.0:8080-80/tcp, :::8080-80/tcp nginx [rootWDQCVM ~]# 查看启动端口 [rootWDQCVM ~]# ss -ltnp |grep 8080 LISTEN 0 128 *:8080 *:* users:((docker-proxy,pid11654,fd4)) LISTEN 0 128 [::]:8080 [::]:* users:((docker-proxy,pid11661,fd4)) [rootWDQCVM ~]# 停止Docker容器 [rootWDQCVM ~]# docker stop nginx nginx [rootWDQCVM ~]# [rootWDQCVM ~]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES [rootWDQCVM ~]# Docker官网
http://www.pierceye.com/news/146618/

相关文章:

  • 上海php网站开发公司wordpress 邮件认证
  • 教做香肠的网站张家港专业网站建设
  • 园林建设网站营销型网站的建站步骤是什么意思
  • 招聘求职网站html模板正规的创业商机网
  • 预付网站建设费会计处理哪里建网站好
  • 做免费网站艺术学院网站建设管理办法
  • 做网站贵吗手机网站wap
  • linux建立网站做网站的应该怎么发广告
  • wordpress使用端口百度seo排名软
  • 用英文字母做网站关键词个人网站的设计与实现专业论文图像处理工具
  • 重庆企业网站推广流程php网站开发技术训练心得
  • 汽车销售网站学校建网站
  • 两台电脑一台做服务器 网站潍坊专业网站建设多少钱
  • 青岛科技街网站建设安徽 网站开发
  • 黑糖不苦建设的网站wordpress获取文章图片不显示
  • 美食网站建设的功能免费做简历的网站
  • 网站建设公司谁管手机如何创建网站
  • 可以自己做网站优化吗最好用的wordpress主题
  • 瓜子二手车网站开发智慧团建注册登记入口
  • 青岛网站开发建设安阳市商祺网络有限责任公司
  • 自己怎么做装修网站网站建设设计岗位职责
  • php语言 网站建设投资2 3万小生意
  • 全美网站开发微转app是用网站做的吗
  • 禹州 什么团购网站做的好广州网站建设程序开发
  • 成都市微信网站建设公司专业app开发
  • 郑州网站建设hndream神木网站设计公司
  • 关于网站集约化建设的讲话抓取网站访客qq号码
  • 南昌住房城市建设支行官方网站海洋网络提供网站建设
  • 网站外链建设的八大基本准则做网站卖得出去吗
  • 网站建设不完整 审核天元建设集团有限公司一公司尤作岭