解决办法是在文件/etc/profile末尾添加一行 echo 'export LC_ALL="en_US.UTF-8"' >> /etc/profile source /etc/profile ...
分类:
系统相关 时间:
2019-12-08 00:51:13
阅读次数:
86
一、简介 1.1 为什么出现docker 1.2什么是docker 打包应用程序及程序运行所依赖的环境, 产出叫做Docker 镜像 启动多个镜像到服务器中 是一个CS架构的软件产品 概念: Docker 是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的镜像中,然后发布到 ...
分类:
其他好文 时间:
2019-12-07 19:31:05
阅读次数:
98
Active Ball is a simple game. All you need to do is aim at the food and shoot it, then collect the material. This game looks very simple, but it's a l ...
分类:
其他好文 时间:
2019-12-07 19:23:51
阅读次数:
118
1 yum install -y nfs-utils-* 2 mkdir /home/data 3 vim /etc/exports /home/data 10.0.0.0/24(rw,async,no_root_squash,no_all_squash) 2 [root@k8s-master ~] ...
分类:
其他好文 时间:
2019-12-07 18:08:01
阅读次数:
81
喜欢一篇文章,原文链接:https://nickwignall.com/mental-habits-making-you-miserable/?utm_source=quora&utm_medium=referral We all want to be happier. We search our ...
分类:
其他好文 时间:
2019-12-07 16:04:16
阅读次数:
102
多表查询: 1 合并结果集 select *from ab union //all select *from cd; 使用合并结果集的条件,是结果集当中的列数和类型完全相同的时候才能够进行结果集的合并。不带all的时候会将重复的结果去除。 2 连接查询 a 内连接 使用内连接时,产生的查询的列数为m ...
分类:
其他好文 时间:
2019-12-07 14:46:35
阅读次数:
92
CREATE TABLE #TEST(A VARCHAR(10) NULL,B VARCHAR(MAX) NULL) INSERT INTO #TESTSELECT 'A','A001'UNION ALLSELECT 'A','A002'UNION ALLSELECT 'A','A003'UNION ...
分类:
其他好文 时间:
2019-12-07 12:20:05
阅读次数:
86
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. Example: Note: T ...
分类:
其他好文 时间:
2019-12-07 10:41:18
阅读次数:
72
本文首发于个人博客 "https://kezunlin.me/post/e88f04e5/" ,欢迎阅读最新内容! pymongo and mongoengine tutorial on ubuntu 16.04 Guide version mongo 2.6.10 mongo gui: robo3 ...
分类:
系统相关 时间:
2019-12-07 10:22:16
阅读次数:
156
安装 pip install gevent import gevent from gevent import monkey monkey.patch_all()#捕捉所有阻塞,不止接收gevent.sleep import time def f(s): print("hello %s"%s) tim ...
分类:
编程语言 时间:
2019-12-07 01:29:42
阅读次数:
123