Centos7 安装Elasticsearch 安装 因为ES启动不能用root账号,手工安装配置较繁琐,故直接用rpm进行安装。根据官网的6.8安装提示 rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch vi /etc/ ...
分类:
其他好文 时间:
2021-01-18 11:04:46
阅读次数:
0
import random 1.random.randint 上下边界都包含,随机整数,可能会重复 a = ['python', 'java', 'php', 'c++']# print(a[random.randint(0, len(a) - 1)]) 2.random.random 随机小数,0 ...
分类:
编程语言 时间:
2021-01-18 11:04:03
阅读次数:
0
线性回归实现 相关库引用 import tensorflow as tf import numpy as np import pandas as pd import matplotlib.pyplot as plt %matplotlib inline 加载数据 data = pd.read_csv ...
分类:
其他好文 时间:
2021-01-18 11:03:49
阅读次数:
0
ssh远程管理服务 1.1 ssh介绍 ssh远程管理服务 默认linux是安装了的,如果没有安装执行以下命令。 [root@linux-server ~]# yum install -y openssh* [root@linux-server ~]# systemctl start sshd op ...
分类:
其他好文 时间:
2021-01-18 11:03:05
阅读次数:
0
引例:DES 加密 5.1 此题给出了一轮DES加密的例子,假设明文和密文都是: 00000001 00100011 01000101 01100111 10001001 10101011 11001101 11101111 解题思路 答案见如下代码结果 python 实现 #DES的Python实 ...
分类:
编程语言 时间:
2021-01-18 11:02:30
阅读次数:
0
wget http://download.redis.io/released/redis-4.0.11.tar.gz tar -zxvf redis-4.0.11.tar.gz mv redis-4.0.11 redis mv redis /usr/local/redis cd /usr/local ...
分类:
其他好文 时间:
2021-01-18 10:53:30
阅读次数:
0
日志乱码 2021-01-16 09:00:02.943 HKT [5568] 日志: 数据库上次关闭时间为 2021-01-15 21:43:21 HKT 2021-01-16 09:00:03.019 HKT [5616] 致命错误: 数据库系统启动中 2021-01-16 09:00:03.5 ...
分类:
数据库 时间:
2021-01-18 10:52:01
阅读次数:
0
错误一:安装nginx报错“src/os/unix/ngx_user.c:26:7: error: ‘struct crypt_data’ has no member named ‘current_salt’” “src/os/unix/ngx_user.c:26:7: error: ‘struct ...
分类:
其他好文 时间:
2021-01-18 10:49:25
阅读次数:
0
指定python版本:virtualenv -p python执行文件路径 自定义虚拟环境名称。如果文件路径有空格,用引号。 如果不指定python版本,则默认使用环境变量中的python版本 ...
分类:
编程语言 时间:
2021-01-18 10:48:58
阅读次数:
0
历史发展: Oracle,西方为“神谕”,“预言”之意,中国译作“甲骨文” 1977年,拉里.埃里森创办SDL公司,并筹划创建可商用的关系型数据库管理系统,将其命名为“Oracle” 1979年,SDL更名为RSI,并发布第2版Oracle 。。。 。。。 1997年,Oracle发布第8版 199 ...
分类:
数据库 时间:
2021-01-18 10:44:26
阅读次数:
0