Loving Coding & Visual Design
Docker下安装PHP+Nginx环境
service docker start
docker run --name ngxtest -t -i -p 8000:8000 centos /bin/bash
docker attach ngxtest
yum install -y net-tools wget
http://nginx.org/en/linux_packages.html#stable
获取Nginx rpm: http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
yum install -y nginx php
vi /etc/nginx/conf.d/default.conf
docker run --name ngxtest -t -i -p 8000:8000 centos /bin/bash
docker attach ngxtest
yum install -y net-tools wget
http://nginx.org/en/linux_packages.html#stable
获取Nginx rpm: http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
yum install -y nginx php
vi /etc/nginx/conf.d/default.conf
最 近 文 章
- 用Heroku建站 - Mon, 30 Nov -0001 00:00:00 +0000
- 暂住证续期 - Wed, 16 Aug 2006 12:51:27 +0000
- 关于XML的content-type问题 - Tue, 15 Aug 2006 08:24:46 +0000
- 窄多日记终于开馆,这里是我的自由天空 - Mon, 14 Aug 2006 16:44:26 +0000
- Semantic UI试用 - Mon, 30 Nov -0001 00:00:00 +0000
- PHP链接MongoDB - Mon, 30 Nov -0001 00:00:00 +0000
- grunt Warning: PhantomJS not found. - Mon, 30 Nov -0001 00:00:00 +0000
- Mysql_connect will die - Mon, 30 Nov -0001 00:00:00 +0000
- Laravel入门 - Mon, 30 Nov -0001 00:00:00 +0000
- Ruby常见问题 - Mon, 30 Nov -0001 00:00:00 +0000