化鲲为鹏,我有话说*基于鲲鹏弹性云服务器搭whoami
由于本人没有从事计算机相关工作,没有接受过正规计算机软件教育,如果有不对的地方,欢迎各位给我留言斧正
服务器环境
ID:c5b181a6-27b4-445a-a866-c2c6a2195de3
磁盘:2个
可用区:可用区1
规格:鲲鹏通用计算增强型 | kc1.large.2 | 2vCPUs | 4GB
网卡:1个
弹性公网IP:114.116.225.79
服务介绍
Traefik is a modern HTTP reverse proxy and load balancer that makes deploying microservices easy.
Traefik integrates with your existing infrastructure components (Docker, Swarm mode, Kubernetes, Marathon, Consul, Etcd, Rancher, Amazon ECS, ...) and configures itself automatically and dynamically.
Pointing Traefik at your orchestrator should be the only configuration step you need.
安装方法
注意,以下命令一次性复制,输入ssh,回车即可搭建成功
yum install docker -y;systemctl start docker;systemctl enable docker;
docker run -d --name test containous/whoami
命令详解
Yum(软件源) install(安装 )docker(软件名称) -y(遇到交互回复y);
systemctl start(启动软件)docker(软件名称)
systemctl enable(开机自启软件)docker(软件名称)
安装结果
- 点赞
- 收藏
- 关注作者
评论(0)