aliyun centos ngnix[1] + docker[3] + dotnet core

开通ECS

  开通了一个阿里云的[抢占式ECS],7分钱一个小时;

  预装contos;

XSHELL 远程shh登录

  

安装Nginx

  添加源:sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm

  安装:sudo yum install -y nginx

  版本:install -v

  目录:/etc/nginx

  配置文件:/etc/nginx/conf.d/default.conf

  启动:sudo systemctl start nginx.service

  开机自动运行:sudo systemctl enable nginx.service

  

  参考:https://www.cnblogs.com/songxingzhu/p/8568432.html

安装docker

  安装:

猜你喜欢

转载自www.cnblogs.com/fmp/p/11455082.html