码迷,mamicode.com
首页 >  
搜索关键字:docker lnmp    ( 19888个结果
php链接mysql代码测试
PHP连接MYSQL是进行数据库操作的第一步,在PHP中,可以使用内置的PHP函数mysql_connect()来实现,函数格式为mysql_connect("mysql主机名","mysql用户名","mysql密码"),下面的测试代码可测试是否成功连接到MYSQL:<?php $conn=mysql_connect("localhost","root","pass")ordi..
分类:数据库   时间:2014-11-04 19:59:33    阅读次数:277
Linux下安装docker
今天,daimajia推荐使用docker,其实一直都听过docker,但没用过,今天参考几篇文档把docker搞定了。果然起的速度比一般虚拟机快 我的电脑是ubuntu14.04 安装的话用包源进行安装 $ sudo apt-get install apt-transport-https $ sudo apt-key adv --keyserver hkp://keyserver.u...
分类:系统相关   时间:2014-11-04 19:46:42    阅读次数:733
docker offical docs:Working with Containers
enough----------------------------------------------------------------------------------Working with Containers-In thelast section of the Docker User ...
分类:其他好文   时间:2014-11-04 18:59:22    阅读次数:186
php配置支持短标签
第一种方法:替换程序里的内容针对所有的php脚本在DW里面运行查找替换l主要做替换操作当然是短标签替换为整标签注意顺序别弄乱了1,所有的’<?=’替换为‘<?phpecho‘;—注意空格2,所有的’<?’替换为’<?php‘—注意空格3,所有的’<?phpphp’替换为’<?ph..
分类:Web程序   时间:2014-11-04 17:38:51    阅读次数:177
docker offical docs:Working with Docker Images
Working with Docker Images##orignal is always the bestIn theintroductionwe've discovered that Docker images are the basis of containers. In thepreviou...
分类:其他好文   时间:2014-11-04 17:17:43    阅读次数:292
docker note from UC blog
--------------------------------------------------------------------------original url http://tech.uc.cn/?p=2726最近接触PAAS相关的知识,在研发过程中开始使用Docker搭建了自己完整的...
分类:其他好文   时间:2014-11-04 12:31:26    阅读次数:215
(原)docker安装
网上的方法都转载兼扯蛋。。。一步一个坑。。官网的教程顺序也不对。。坑1. ps:这个命令下载的不是docker。。。这个:sudo apt-get install docker下的是啥我也不知道,于是卸载掉:$ sudo apt-get remove docker && sudo apt-get a...
分类:其他好文   时间:2014-11-03 19:19:09    阅读次数:254
lnmp+FastCGI平台搭建脚本
lnmp+FastCGI平台搭建脚本本脚本主要介绍lnmp+FastCGI平台的搭建脚本,需要准备的安装包如下:cmake-2.8.10.2.tar.gzlibevent-2.0.21-stable.tar.gzlibmcrypt-2.5.8.tar.gzmhash-0.9.9.9.tar.gznginx-1.2.0.tar.gzphp-5.4.9.tar.gzlibiconv-1.13.tar.gzmysql-5.5.13.tar.gz由于..
分类:其他好文   时间:2014-11-03 16:35:09    阅读次数:249
LNMP状态管理命令
LNMP状态管理命令: LNMP状态管理: /root/lnmp {start|stop|reload|restart|kill|status} Nginx状态管理:/etc/init.d/nginx {start|stop|reload|restart} MySQL状态管理:/etc/init.d/mysql {start|stop|restart|reload|force-reload|status} Memcached状态管理:/etc/init.d/memcached {start|stop|re...
分类:其他好文   时间:2014-11-03 16:30:04    阅读次数:204
Docker:集装箱式“运输”在软件上的实现
Docker是由PaaS提供商dotCloud在2013年年初创建的一款开源应用引擎,Docker可以自动将任何应用打包成轻量、可移植、自包涵的容器引擎。开发者构建的应用可以一次构建全平台运行,包括本地开发机器,生产环境,虚拟机和云等。Docker基于Go语言开发,代码托管在 Github上,并遵循...
分类:其他好文   时间:2014-11-03 12:54:56    阅读次数:469
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!