Centos一键安装docker环境 作者: A diligent City lion 时间: 2020-02-22 分类: Docker 评论 在Centos服务器中运行以下命令自动安装配置docker环境及仓库加速,无需人工干预 `curl https://shell.sbimg.cn/docker/docker-install.sh | bash`
Centos一键安装Docker容器环境及LNMP环境 作者: A diligent City lion 时间: 2020-02-22 分类: Docker 评论 在Centos服务器中运行以下命令自动安装配置LNMP环境,无需人工干预``` curl https://shell.sbimg.cn/docker/docker-lnmp.sh | bash ``` 注:Nginx配置目录:/root/nginx,网站目录:/root/www,如果启用SSL及https强制跳转,责更改Nginx配置文件(/root/nginx/conf.d/default.conf)及把pem和key文件放到网站目录中的ssl文件夹中,Mysql的root密码:123456,主页访问:http(https)://IP(域名),phpmyadmin登陆:http(https)://ip(域名):8080