yuminstallbind->dns服务systemctlstartnamedcd/var/namedcpnamed.localhostmagedu.com.zonevimmagedu.com.zonesystemctlrestartnamed
![](https://s1.51cto.com/images/blog/201904/23/71c1b186bfb3e2c0760f4e3787ea341a.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3p
![](https://s1.51cto.com/images/blog/201904/21/cff6353d61fdbcefaa039d61ab4969b8.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3p
![](https://s1.51cto.com/images/blog/201904/14/9f4ead1b2cd91d262c65e76f7e0a15e4.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3p
1,什么样的表可以称为大表1)记录行数巨大,单表超过千万行2)表数据文件巨大,表数据文件超过10G2大表对查询的影响
dockerpull可以在dockerhub上拉取一些image可以发布自己imagepush上去先在dockerhub注册用户才能pushimagedockerlogin登录成功显示loginsucceededdockerimagepushxiaopeng163/hello-world:latest
![](https://s1.51cto.com/images/blog/201904/09/54a1c4dc39a6f0076d97d7dea07c195a.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3p
centos7_01mongodb安装https://www.cnblogs.com/flying1819/articles/9035408.htmlredis安装https://www.cnblogs.com/zuidongfeng/p/8032505.htmlbeanstalk安装https://www.cnblogs.com/jkko123/p/8177731.html./beanstalk
通过dockerfile创建自己的dockerimage
dockercontainercommit
![](https://s1.51cto.com/images/blog/201901/12/80d57aacfdeb153857248af266e3ba97.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3p
sudogpasswd-avagrantdocker重启docker进程sudoservicedockerrestart
docker官网:https://docs.docker.com/install/linux/docker-ce/centos/#os-requirements1先卸载系统上已经存在docker,卸载旧版本的yumremovedocker\docker-client\docker-client-latest\docker-common\docker-latest\docker-latest-log
1,nginx服务器内核参数生产配置优化
cd/cgroup/memory(安装kvm时自带cgroup,资源控制,比如说让一个进程只能跑在一个核心上,让一个进程只能使用500M内存,比如一台机器16核心,准备跑5,6个进程,并行执行,多线程,如果就一个核心,你抛出一万个线程,只能一个一个的执行,线性的调度,交替的,因为cpu只能读一个栈,当有多个cpu时,就是有多个栈被cpu同时读取执行,所有说多核心时,多线程才有意义,多个进程,在多个
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号