grep 常用操作 grep -v ';' /etc/php-fpm.conf|grep -v '^$' 忽略注释和空行 ps aux | grep php-fpm |awk '{print $2}'|xargs kill -9 批量杀死进程 ...
分类:
系统相关 时间:
2020-07-18 22:43:59
阅读次数:
90
在使用spring项目接入携程 apollo 的时候,报了一个错误:Cause: [status code: 404] Could not find config for namespace - appId: housing102, cluster: default, namespace: appl ...
分类:
其他好文 时间:
2020-07-18 22:06:51
阅读次数:
150
You are given three positive (i.e. strictly greater than zero) integers xx , yy and zz . Your task is to find positive integers aa , bb and cc such th ...
分类:
其他好文 时间:
2020-07-18 19:56:20
阅读次数:
82
C++基本操作 vector #####如何查找 第二维?或者第一维 【链接】对vector中的pair进行多次find操作 class isE{ isE(int val) :User(val){} bool operator()(const pair<int,int>& e)const{ retu ...
分类:
编程语言 时间:
2020-07-18 13:48:27
阅读次数:
77
首先去mysql官网下载mysql的离线rpm安装包(https://downloads.mysql.com/archives/community/) 上传到/data/rpm/mysql8.0目录下 因为Mysql依赖于mariadb,所以我们先用rpm -qa | grep mariadb 查找 ...
分类:
数据库 时间:
2020-07-18 13:32:54
阅读次数:
118
安装环境: 操作系统:CentOS 7 mysql版本:5.7 安装步骤: 1.安装前检查是否已经安装了MySQL rpm -qa | grep mysql 如果安装了,就卸载。通过命令rpm -e 或者rpm -e--nodeps 2.查询yum 上可安装的mysql版本:yum list | g ...
分类:
数据库 时间:
2020-07-17 22:22:07
阅读次数:
97
1,讲分词器的文件夹放入es安装包的plugins,重新启动elasticsearch //查询es运行中的进程pid ps -aux|grep elasticsearch //杀死进程 kill -9 pid //使用es账户启动 nohup ./elasticsearch & 2,重启es,然后 ...
分类:
其他好文 时间:
2020-07-17 19:24:23
阅读次数:
67
1,讲分词器的文件夹放入es安装包的plugins,重新启动elasticsearch //查询es运行中的进程pid ps -aux|grep elasticsearch //杀死进程 kill -9 pid //使用es账户启动 nohup ./elasticsearch & 2,重启es,然后 ...
分类:
其他好文 时间:
2020-07-17 16:22:28
阅读次数:
69
Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two n ...
分类:
其他好文 时间:
2020-07-17 13:33:50
阅读次数:
46