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

杭州富阳建设局网站一个网站源码值多少钱

杭州富阳建设局网站,一个网站源码值多少钱,建站流程主要有哪些,网件路由器做网站podman 介绍 使用 Podman 管理容器、Pod 和映像。从本地环境中无缝使用容器和 Kubernetes#xff0c;Podman 提供与 Docker 非常相似的功能#xff0c;它不需要在你的系统上运行任何守护进程#xff0c;并且它也可以在没有 root 权限的情况下运行。 Podman 可以管理和运行… podman 介绍 使用 Podman 管理容器、Pod 和映像。从本地环境中无缝使用容器和 KubernetesPodman 提供与 Docker 非常相似的功能它不需要在你的系统上运行任何守护进程并且它也可以在没有 root 权限的情况下运行。 Podman 可以管理和运行任何符合 OCIOpen Container Initiative规范的容器和容器镜像。Podman 提供了一个与 Docker 兼容的命令行前端来管理 Docker 镜像。 podman download podmanpodman 文档gitlab开源podman ubuntu repodownload参考参考参考 创建一键部署脚本 主要用于安装Podman容器引擎。脚本首先检查操作系统的版本并根据不同的操作系统版本选择相应的安装方法。脚本支持CentOS、Red Hat、Oracle Linux、Rocky Linux、AlmaLinux、Ubuntu、Debian、Fedora和SUSE等多个发行版。使用yum包管理器安装Podman及其插件并配置registries.conf文件。对于Ubuntu和Debian使用apt包管理器安装Podman及其插件并配置registries.conf文件。对于Fedora使用dnf包管理器安装Podman及其插件。对于SUSE使用zypper包管理器安装Podman及其插件。podman --version | awk {print $3} #podman版本获取podman-compose --version 21 | awk NR1{print $3} #podman-compose 版本获取podman-compose --version 21 | head -n1 | awk {print $NF} #podman-compose 版本获取podman --help 命令使用参考 vi /podman_install.sh #!/bin/bash # -*- coding: utf-8 -*- # Author: CIASM # update 2023/09/18! # ubuntu To execute this script ln -sf bash /bin/sh !install_basics() {# Check if the script is being run as root if [ $(id -u) ! 0 ]; thenecho This script must be run as root.exit 1 fi# Check the CentOS/Red Hat version if [[ -f /etc/redhat-release ]]; thenOS$(cat /etc/*release* | grep ^NAME | cut -d -f2- | tr -d )VERSION$(cat /etc/*release* | grep -oE [0-9]\.[0-9] | head -n1)# Check the oralce Linux version elif [[ -f /etc/oracle-release ]]; thenOS$(cat /etc/*release* | grep ^NAME | cut -d -f2- | tr -d )VERSION$(cat /etc/*release* | grep -oE [0-9]\.[0-9] | head -n1)# Check the Rock Linux version elif [[ -f /etc/rocky-release ]]; thenOS$(cat /etc/*release* | grep ^NAME | cut -d -f2- | tr -d )VERSION$(cat /etc/*release* | grep -oE [0-9]\.[0-9] | head -n1)# Check the AlmaLinux version elif [[ -f /etc/almalinux-release ]]; thenOS$(cat /etc/*release* | grep ^NAME | cut -d -f2- | tr -d )VERSION$(cat /etc/*release* | grep -oE [0-9]\.[0-9] | head -n1)# Check the ubuntu version elif [[ -f /etc/os-release ]]; thenOS$(cat /etc/*release* | grep ^NAME | cut -d -f2- | tr -d )VERSION$(cat /etc/*release* | grep -oE [0-9]\.[0-9] | head -n1)# Check the suse version elif [[ -f /etc/SuSE-release ]]; thenOS$( cat /etc/*release* | grep ^PRETTY_NAME | cut -d -f2- | tr -d )VERSION$(cat /etc/*release* | grep -oE [0-9]\.[0-9] | head -n1)# Check the Debian version elif [[ -f /etc/os-release ]]; thenOS$(cat /etc/*release* | grep ^NAME | cut -d -f2- | tr -d )VERSION$(cat /etc/*release* | grep -oE [0-9] | head -n1)# Check the Fedora version elif [[ -f /etc/fedora-release ]]; thenOS$(cat /etc/*release* | grep ^NAME | cut -d -f2- | tr -d )VERSION$(cat /etc/*release* | grep -oE [0-9] | head -n1)elseecho -e \033[31mThis script only supports $OS $VERSION...\033[0mexit 1 fi# Check the podman version if ! command -v podman /dev/null; then #if [ ! -d /usr/bin/podman ]; thenecho -e \033[32m Installing podman for $OS $VERSION...\033[0mcase $VERSION in# CentOS/RedHat/oracle 7 install7.?)echo Installing basics...install_centos_podman;;# CentOS/RedHat/oracle/RockLinux/AlmaLinux 8 install 8.?)echo Installing basics...install_centos_podman;;# CentOS/RedHat/oracle/RockLinux/AlmaLinux 9 install9.?) echo Installing basics...install_centos_podman;;# ubuntu 20.04 Linux install20.04)echo Installing basics...echo deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ / | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.listcurl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/Release.key | sudo apt-key add -apt updateinstall_ubuntu_podman;;# ubuntu 21 Linux install21.04|21.10)echo Installing basics...echo deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_21.04/ / | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.listcurl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_21.04/Release.key | sudo apt-key add -apt updateinstall_ubuntu_podman;;# ubuntu 22 Linux install22.04)echo Installing basics...echo deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_22.04/ / | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.listcurl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_22.04/Release.key | sudo apt-key add -apt updateinstall_ubuntu_podman;;# Debian 10, 11 , 1210)echo Installing basics...echo Installing basics...echo deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ / | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.listcurl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/Release.key | sudo apt-key add -apt updateinstall_ubuntu_podman;;11)echo Installing basics...echo Installing basics...echo deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_11/ / | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.listcurl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_11/Release.key | sudo apt-key add -apt updateinstall_ubuntu_podman;;12)echo Installing basics...echo Installing basics...echo deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_12/ / | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.listcurl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_12/Release.key | sudo apt-key add -apt updateinstall_ubuntu_podman;;# Fedora 31,32,3336|37|38)echo Installing basics...install_centos_podman;;# SUSE 12 install12.?)echo Installing basics...sudo SUSEConnect -p sle-sdk/12.4/x86_64install_suse_podman;;# SUSE 15 install15.?)echo Installing basics...sudo SUSEConnect -p sle-sdk/15.3/x86_64install_suse_podman;;*)echo -e \033[31m Unsupported $OS $VERSION...\033[0m exit 1;; esacecho -e \033[32m podman for $OS $VERSION successfully installed...\033[0m elseecho -e \033[33m podman for $OS $VERSION already installed...\033[0m fi}install_centos_podman() { echo install podman yum -y install podman podman-plugins podman-docker python3 pip3 install podman-compose#registries.conf add config cat /etc/containers/registries.confEOF [registries_search] registries[registry.access.redhat.com, registry.fedoraproject.org, docker.io] EOFpodman info# start podman systemctl enable --now podman#check podman version podman --version | awk {print $3} podman-compose --version 21 | head -n1 | awk {print $NF} }install_ubuntu_podman() { echo install podman apt -y install podman podman-plugins python3 python3-pip pip3 install podman-composecat /etc/containers/registries.confEOF [registries_search] registries[registry.access.redhat.com, registry.fedoraproject.org, docker.io] EOFpodman info# start podman systemctl enable --now podman#check podman version podman --version | awk {print $3} podman-compose --version 21 | head -n1 | awk {print $NF}}install_suse_podman() { echo install podman sudo zypper in -y podman net-tools vim wget net-tools }main (){install_basics }main 执行一键安装podman  sh /podman_install.sh
http://www.dnsts.com.cn/news/23084.html

相关文章:

  • discuz可以做门户网站么宜昌做网站哪家最便宜
  • 浦东做网站的公司怎么把网站的标题做的炫酷
  • 同一个域名可以做几个网站吗最近一个月的热点事件
  • 单页网站制作 在线 支付企业网站关键词优化排名应该怎么做
  • 平邑建设银行网站公司的网站建设价格
  • 丰台网站开发公司公司网站域名的设计
  • 自己做网站广告法科技有限公司注册资金最低多少
  • 商业网站大全长春高端网站制作
  • wordpress 会员制 主题安阳网站自然优化
  • 官方网站minecraftphp空间放多个网站
  • 网站制作可以询价么做微商必会的软件网站
  • 典型的网站开发人员建设网站审核
  • 港口建设申报网站深圳做网站乐云seo598
  • 银川 网站制作设计公司怎么找客户
  • id注册网站怎么建设一个自己的电商网站
  • 重庆网站建设方案详细方案佛山三水建设局网站
  • 必要 网站湖南工程建设监理有限公司网站
  • 自己的商标名称可以做网站名称吗软件工程师证书报考要求
  • 欧泰国际物流网站seo关键词推广方式
  • 做视频有收益的网站网站备案是否关闭
  • 网站续费多少钱抖音seo公司帝搜平台
  • 上海小学网站建设招标石家庄seo网站排名
  • wordpress 企业网站模板wordpress安全防范教程
  • 建设城市2的游戏在哪个网站wordpress无广告视频网站
  • 织梦做的网站怎么添加关键词wordpress英文自动采集
  • 设计素材网站特点新做的网站怎样推广
  • 高端网站设计找哪个公司学网站建设维护
  • 网站如何做线下的市场推广销售管理软件新技术
  • 成都php网站建设品牌网站开发策划书
  • axrue怎么做网站的原型图什么查网站是否降权