docker官方文档说要求Linux kernel至少3.8以上,centos6.5内核是2.6.32-431.20.3.el6.x86_64 通过(uname -a)查看centos 6.5 升级内核 linux 3.12.17http://www.cnblogs.com/vicowong/p/3...
分类:
系统相关 时间:
2014-08-20 19:20:32
阅读次数:
416
一:简介:Docker是一个开源的引擎,可以轻松的为任何应用创建一个轻量级的、可移植的、自给自足的容器。开发者在笔记本上编译测试通过的容器可以批量地在生产环境中部署,包括VMs(虚拟机)、baremetal、OpenStack集群和其他的基础应用平台。二:Docker应用场景:1.web应用的..
分类:
其他好文 时间:
2014-08-20 16:37:23
阅读次数:
273
1.nginx 官方脚本地址:http://wiki.nginx.org/RedHatNginxInitScript 2. #!/bin/sh## nginx - this script starts and stops the nginx daemin## chkconfig: - 85 15 #...
分类:
Web程序 时间:
2014-08-20 15:49:52
阅读次数:
205
server{listen80;server_namelocalhost;#charsetkoi8-r;#access_loglogs/host.access.logmain;location/{roothtml;indexindex.htmlindex.htm;location~.*\.(php|php5)?${fastcgi_passunix:/tmp/php-cgi.sock;fastcgi_indexindex.php;includefastcgi.conf;}auth_basic"Authorize..
分类:
其他好文 时间:
2014-08-20 14:21:52
阅读次数:
238
Network Configuration
TL;DR
When Docker starts, it creates a virtual interface named docker0 on
the host machine. It randomly chooses an address and subnet from the private range defined by RF...
分类:
Web程序 时间:
2014-08-20 14:12:09
阅读次数:
591
lnmp的架构lnmp架构为:linux+nginx+mysql+php/perl/python,我们将只用linux(rhel6.5)+nginx+mysql+php构建企业web架构环境:RHEL6.5iptables-Fselinuxisdisabled注意:在搭建lnmp环境前,必须检测系统内部不能存在相关的软件:(纯净搭建)#rpm-qa|grepphp#rpm-qa|grephttpd#rpm-q..
分类:
其他好文 时间:
2014-08-20 10:39:36
阅读次数:
518
zabbix搭建好后,除了调用默认的模板,还要监控其它常用的进程,有redis,rsync,nginx,gunicorn,mysql等等都要进行监控。自定义监控的配置过程如下:1、编写进程监控脚本,获取监控项的具体值2、在zabbix_agentd.conf文件中定义UserParameter3、在界面配置item,通过键值来控制传..
分类:
其他好文 时间:
2014-08-20 02:46:16
阅读次数:
418
前言:本文是我撰写的关于搭建“Nginx + PHP(FastCGI)”Web服务器的第6篇文章。本系列文章作为国内最早详细介绍 Nginx + PHP 安装、配置、使用的资料之一,为推动 Nginx 在国内的发展产生了积极的作用。本文可能不断更新小版本,请记住原文链接“http://blog.zy...
分类:
Web程序 时间:
2014-08-20 01:19:06
阅读次数:
408
http://lnmp.org/faq/lnmp-software-list.html
LNMP一键安装包除去安装所必须的依赖包,还会默认安装以下软件: Nginx、MySQL/MariaDB、PHP、phpMyAdmin、Zend Optimizer/Zend GuardLoader...
分类:
其他好文 时间:
2014-08-19 23:58:45
阅读次数:
562
一、安装准备1.1平台环境:CentOS 5.4 x86_64 GNU/Linuxnginx-0.8.21php-5.2.9spawn-fcgi-1.6.3mysql-5.1.34.2系统安装及分区:1.2.1操作系统安装: 安装过程中选择最少的包,采用文本模式安装,不安装图形。1.2.3系统分区:...
分类:
数据库 时间:
2014-08-19 23:51:35
阅读次数:
487