Lnmp是一组常用于来搭建动态网站或者服务器的软件平台,由linux、nginx、mysql、php四个组件组成。安装开发工具:Developmenttools、ServerPlatformDevelopment、AdditionalDevelopment源码安装nginx:1.yum--disablerepo=\*--enablerepo=c6-mediainstallpcre-developenssl-dev..
分类:
Web程序 时间:
2014-11-02 00:47:52
阅读次数:
457
#!/bin/bashcd /usr/local/src./installmysql./installnginx./installphp./installhaproxy./installkeepalivedtouch /usr/local/nginx/html/phpinfo.phpecho -e ...
分类:
系统相关 时间:
2014-10-30 22:29:13
阅读次数:
503
n# 2014/09/02 安装 CentOS 7 ## 网络配置 CentOS 7 安装完成后,网络不可以。CentOS 7 网络配置和 6 有些不同。CentOS 7 虚拟机安装完成后有一个随机的网卡,在我这叫 `ens35`。静态 IP 没有配置成功。简单的启用...
分类:
其他好文 时间:
2014-10-30 19:28:06
阅读次数:
253
docker默认使用bridge模式,通过网桥连接到宿主机,而容器内部的ip则从网桥所在的ip段取未用的ip。这样做一个不方便的地方在于容器内部的ip不是固定的,想要连接容器时只能通过映射到宿主机的端口,因而有很多项目使用overlay来为docker提供网络的配置,比如Pipework、Flann...
分类:
其他好文 时间:
2014-10-30 18:39:55
阅读次数:
453
Thedocker registryis bursting at the seams. At the time of this writing, a search for "node" gets just under 1000 hits. How does one choose?What const...
分类:
其他好文 时间:
2014-10-30 16:50:48
阅读次数:
249
Kubernetes是Google开源的容器集群管理系统。它构建于docker技术之上,为容器化的应用提供资源调度、部署运行、服务发现、扩容缩容等整一套功能,本质上可看作是基于容器技术的mini-PaaS平台。本文旨在梳理Kubernetes的架构、概念及基本工作流,并且通过运行一个简单的示例应用来介绍如何使用Kubernetes。...
分类:
Web程序 时间:
2014-10-30 01:55:32
阅读次数:
284
本文首发于烂泥行天下。LNMP环境的搭建中,现在只有php没有源码安装过。这篇文章就把这个介绍下。注意本篇文章使用的centos6.564bit。登陆centos下载php5.6的安装包。php的软件包可以去国内的souhu镜像站点去下载。wgethttp://mirrors.sohu.com/php/php-5.6.2.tar.gz在安装之前..
分类:
Web程序 时间:
2014-10-29 19:35:00
阅读次数:
376
1. 从 container 到 主机(host)使用 docker cp 命令 docker cp :/file/path/within/container /host/path/target2. 从 主机(host) 到 containerGet container name or short....
分类:
其他好文 时间:
2014-10-29 19:14:24
阅读次数:
204
本文由秀依林枫提供友情赞助,首发于烂泥行天下。 LNMP环境的搭建中,现在只有php没有源码安装过。这篇文章就把这个介绍下。 注意本篇文章使用的centos 6.5 64bit。 登陆centos下载php5.6的安装包。php的软件包可以去国内的souhu镜像站点去下载。 wget http://...
分类:
Web程序 时间:
2014-10-29 18:31:44
阅读次数:
246