操作系统:vmcentos6.5x64192.168.240.148docker容器:centos6.5x64172.17.0.31.下载原始镜像[root@localhost~]#dockerpullcentos
###一般会拉最新版centos7和centos6.5过来,这里使用的是centos6.5###2.安装openssh[root@localhost~]#dockerrun-i-tkw1073/centos-new4/bin/bas..
分类:
其他好文 时间:
2014-07-31 21:15:09
阅读次数:
350
一.本地镜像举个例子:现在把自己的开发环境打包,取名为centos6-base.tar,然后在docker中,以centos6-base.tar作为基准镜像。 1.创建自己的镜像,放置于/root目录下:#tar --numeric-owner --exclude=/proc --exclude=....
分类:
其他好文 时间:
2014-07-31 16:30:56
阅读次数:
332
下面是课堂上讲述配置CentOS7的PXE安装环境时的截图:
分类:
系统相关 时间:
2014-07-31 03:16:56
阅读次数:
253
本文介绍在centos7上面通过hadoop2.4.1源码构建hadoop distribution 版本,即hadoop的运行版本。 为何要自己building,而不用Apache的distribution 【bin】版本,因为hadoop涉及到Linux系统的底层实现,如: hado...
分类:
其他好文 时间:
2014-07-30 23:41:25
阅读次数:
284
列出镜像列出镜像,有两个可选參数,一个是all,一个是filter,all可选值有,0/False/false,1/True/true,默觉得0;filter是一个包括一个过滤对象的json,形式如‘{"dangling":["true"]}'GET /images/json我们能够尝试请求一下cu...
本文计划:一.安装Docker(Centos)二.注册Docker官网帐号三.下载基础centos镜像,安装需要的软件和环境后,push到自己的repository一.安装Docker(Centos)在https://fedoraproject.org/wiki/EPEL#How_can_I_use...
分类:
其他好文 时间:
2014-07-29 21:01:22
阅读次数:
296
安装和配置Mariadb看来以后不得不使用Mariadb数据库了,尽早的熟悉;[1]InstallMariadbforepelyum-yinstallmariadb-serverInstalled:mariadb-server.x86_641:5.5.37-1.el7_0[2]StartMariadb&开机启动[root@mariadb~]#systemctlstartmariadb
[root@mariadb~]#systemctlenabl..
分类:
数据库 时间:
2014-07-29 16:05:39
阅读次数:
358
使用光盘镜像作为软件yum源:[1]上传centos7光盘镜像到/usr/local/src目录下;(工具Xftp)[2]挂载系统文件mkdir/media/cdrom#习惯用这个目录名称了;
cd/usr/local/src
ls
CentOS-7.0-1406-x86_64-DVD.iso
#mount-tiso9660-oloop/usr/local/src/CentOS-7.0-1406-x86_64-DVD.i..
分类:
其他好文 时间:
2014-07-29 16:03:09
阅读次数:
446
[1]InstallHttpdforCentos7-media#yum--enablerepo=centos7-media-yinstallhttpd
Installed:
httpd.x86_640:2.4.6-18.el7.centos[2]starthttpd,开机启动#systemctlstarthttpd.service
#systemctlenablehttpd.service
ln-s‘/usr/lib/systemd/system/httpd.service‘‘/etc/systemd..
分类:
其他好文 时间:
2014-07-29 15:58:49
阅读次数:
367
安装httpd:http://kernal.blog.51cto.com/8136890/1531545httpd支持php安装配置:[1]Installphp#yum-yinstallphpphp-mbstringphp-pear#vi/etc/php.ini878date.timezone="Asia/Shanghai"#设置时区[2]CreateTestPage#vi/var/www/html/index.php
<html>
<body>
<d..
分类:
Web程序 时间:
2014-07-29 15:55:49
阅读次数:
323