码迷,mamicode.com
首页 >  
搜索关键字:docker lnmp    ( 19888个结果
lnmp部署 -----1
基本环境系统:centos6.4nginx-1.2.0mysql-5.5.13php-5.4.9[root@localhost~]#servicehttpdstop//确认httpd服务已关闭[root@localhost~]#servicemysqldstop//确认系统中的mysql数据库没有启动[root@localhost~]#yum-ygroupinstall"Development//安装开发环境和开发库libraries"..
分类:其他好文   时间:2014-08-06 19:30:52    阅读次数:331
lnmp 源码部署------2
安装php扩展软件#哈稀函数库[root@localhost~]#tar-zxvfmhash-0.9.9.9.tar.gz[root@localhostmhash-0.9.9.9]#cdmhash-0.9.9.9[root@localhostmhash-0.9.9.9]#./configure[root@localhostmhash-0.9.9.9]#make[root@localhostmhash-0.9.9.9]#makeinstall#处理中文各种编码之间的..
分类:其他好文   时间:2014-08-06 19:29:22    阅读次数:286
建立docker私有hub
docker是一个非常好用的虚拟化工具。下面给出建立私有docker hub的方法。docker将私有hub的环境打包在registry image中执行指令:docker run -p 5000:5000 registry这条指令启动一个基于registry image的cotainer。并将ho...
分类:其他好文   时间:2014-08-06 18:13:21    阅读次数:274
Docker创建支持ssh服务的容器和镜像
1. 这里使用的centos作为容器,所以首先下载centos的images# sudo docker pull centos2. 下载后运行一个centos的容器,这里使用centos6作为我测试的容器# sudo docker run --name=centos-ssh -i -t centos:centos6 /bin/bash3. 安装openssh-server服务软件包# yum in...
分类:其他好文   时间:2014-08-06 08:26:01    阅读次数:294
一键安装lnmp后添加php扩展问题
因为要使用php的pcntl扩展多进程函数,所以需要添加php的pcntl的函数。但是本机linux环境使用的是lnmp.org的一键安装包,查看ext里面的文件后,没有发现有pcntl的文件包。 解决办法: 在网上下载对应版本的php,然后在linux下解压,解压后找到pcntl的文件包,然后将其...
分类:Web程序   时间:2014-08-05 15:35:09    阅读次数:264
“Object "netns" is unknown, try "ip help".\n'”报错
tail-f/var/log/neutron/dhcp-agent.logBydefault,CentOS6.4doesnotsupportnetworknamespaces.Ifonewantstotestthenewvirtualizationplatforms(Docker,OpenStack,&co…)onaCentOSserver,allfeatureswon’tbeavailable.ForOpenStackforexample,Neutronwon’tworkasexpected,..
分类:Web程序   时间:2014-08-05 11:35:39    阅读次数:1996
创建不用ssh密码登陆的docker镜像
操作系统:vmcentos6.5容器:docker前提:可以ssh的docker镜像已经创建第一种方法,手动创建1.在宿主机上生成新的密钥和公钥###ssh-keygen[-q][-bbits]-ttype[-Nnew_passphrase][-Ccomment][-foutput_keyfile] #ssh-keygen的具体用法参考官方文档 ssh-keygen-q-N""-tdsa-f/root..
分类:其他好文   时间:2014-08-04 18:21:09    阅读次数:326
lnmp环境源码编译安装记录
系统:Cenos6.5X64软件:tengine-2.0.3.tar.gzpcre-8.33.tar.bz2mysql-5.6.12.tar.gzphp-5.5.14.tar.bz2一、安装nginx1.1安装nginx所需的pcre-devel库,使nginx支持HTTPRewrite模块[root@node3pcre-8.33]#./configure--prefix=/home/webserver/pcre&&make&&make..
分类:其他好文   时间:2014-08-04 18:18:29    阅读次数:402
LNMP安装报错解决方案
configure:error:noacceptableccfoundin$PATH解决方案:yuminstall-ygccconfigure:error:xml2-confignotfound.Pleasecheckyourlibxml2installation.解决方案:yuminstall-ylibxml2-develconfigure:error:CannotfindOpenSSL‘s<evp.h>解决方案:yuminstall-yopenssl-develc..
分类:其他好文   时间:2014-08-04 18:15:48    阅读次数:213
Docker学习笔记(2)--Docker常用命令
1. 查看docker信息(version、info) # 查看docker版本 $docker version # 显示docker系统的信息 $docker info 2. 对image的操作(search、pull、images、rmi、history) # 检索image $docker search image_name # 下载image $docker pull ...
分类:其他好文   时间:2014-08-04 14:19:37    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!