特点: 在CentOS7的基础之上集成了ssh与nginx的配置,开箱即用
46
安装: docker pull lookeke/centos-nginx:ssh
使用CentOS7的Linux发行版, 安装了nginx环境依赖与ssh依赖
默认为6000端口, 如何需要更改, 请进入 /etc/ssh/sshd_conf 目录下修改 nginx.conf 配置文件
默认映射的目录是 /root/web/weather, 修改请进入 /usr/local/nginx/conf 文件修改对应字段 默认是权限是 root, 为了安全, 请修改用户权限
Content type
Image
Digest
Size
226.3 MB
Last updated
over 4 years ago
docker pull lookeke/centos-nginx:ssh