公司网站建设需求分析想找搜索引擎优化
1. 简介:
Cloudpods 是一款简单、可靠的企业IaaS资源管理软件。帮助未云化企业全面云化IDC物理资源,提升企业IT管理效率。
Cloudpods 帮助客户在一个地方管理所有云计算资源。统一管理异构IT基础设施资源,极大简化多云架构复杂度和难度,帮助企业轻松驾驭多云环境。
学习地址: 官方网站
2.环境准备:
2.1 操作系统:
# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
目前支持发行版本情况如下:
2.2 环境准备
将yum修改为阿里源:
# curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
# sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo
# yum clean all
# yum makecache
# yum install -y vim net-tools wget
# wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo
# yum clean all
# yum makecache
修改主机名:
# hostnamectl set-hostname node01 && bash
# vim /etc/hosts
10.121.x.x node01
2.3 安装ansible和git
首先需要安装ansible和git,ansible版本要求:2.11.12 ~ 9.0.0。
# 本地安装 ansible 和 git
$ yum install -y epel-release git python3-pip
$ python3 -m pip install --upgrade pip setuptools wheel
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
2.4 安装Cloudpods
下载 ocboot 工具到本地:
$ git clone -b release/3.11 https://github.com/yunionio/ocboot && cd ./ocboot
接下来执行 run.py 部署服务。其中 host_ip 为部署节点的 IP 地址,该参数为可选项。如果不指定则选择默认路由出去的那张网卡部署服务。如果你的节点有多张网卡,可以通过指定 host_ip 选择对应网卡监听服务。
# 直接部署,会从 registry.cn-beijing.aliyuncs.com 拉取容器镜像
./run.py virt <host_ip># 如果遇到 pip 安装包下载过慢的问题,可以用 -m 参数指定 pip 源
# 比如下面使用: https://mirrors.aliyun.com/pypi/simple/ 源
./run.py -m https://mirrors.aliyun.com/pypi/simple/ virt <host_ip>
部署完成:
# 部署完成后会有如下输出,表示运行成功
# 浏览器打开 https://10.121.x.x ,该 ip 为之前设置 <host_ip>
# 使用 admin/admin@123 用户密码登录就能访问前端界面
Initialized successfully!
Web page: https://10.121.x.x
User: admin
Password: admin@123