码迷,mamicode.com
首页 >  
搜索关键字:sed awk linux命令    ( 19337个结果
mysql数据库5.7版本部署
1.安装前准备: (mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz 二进制安装包 + centos7.4系统,有yum环境,可以在www.mysql.com官网下载) 2.开始安装 shell> yum install libaio shell> groupad ...
分类:数据库   时间:2021-02-05 10:34:24    阅读次数:0
Mybatis plus 多表联查字段名重复报错 Column ‘id‘ in where clause is ambiguous
一、报错信息 Caused by: Column 'xxxx' in where clause is ambiguous 二、报错原因 表 person 和 表 class 都有字段 id 和 name ,所以要给它们增加别名来进行区分。 PersonVOMapper.java public int ...
分类:其他好文   时间:2021-02-04 12:11:49    阅读次数:0
【背包九讲专题】完全背包
暴力朴素无优化写法: #include<bits/stdc++.h> using namespace std; const int maxn=1e3+5; int dp[maxn][maxn]; int v[maxn],w[maxn]; int main(){ int n,m;scanf("%d%d ...
分类:其他好文   时间:2021-02-04 12:02:33    阅读次数:0
救火必备linux命令小结
线上查问题的时候有些命令是必备,有必要把一些常用命令总结一下,查找问题一般可以分为系统参数、性能参数、进程、内存、网络、存储、内存和jvm这么几类: 系统参数cat /proc/cpuinfo cpu相关参数 cat /proc/meminfo 内存相关参数 cat /proc/loadavg 负载 ...
分类:系统相关   时间:2021-02-03 10:49:18    阅读次数:0
shell 修改json配置。
#1.方法1 通过sed命令,删除对应行,再增加行,增加缩进。 #2.具体操作 ##2.1删除行 nl 要删除的json文件 | sed '2,5d' 或者 sed '2d' 要删除的json 补充说明:nl命令-增加显示文件的行号。 sed命令-2~5d删除指定行 ##2.2增加行 sed '4a ...
分类:Web程序   时间:2021-02-02 10:53:10    阅读次数:0
接口返回参数
public ResponseData deliveryScan(WmsInspectTaskVO dto, HttpServletRequest request) { IRequest requestContext = createRequestContext(request); Response ...
分类:其他好文   时间:2021-02-02 10:41:32    阅读次数:0
解决spark-submit的There is insufficient memory for the Java Runtime Environment to continue.(老顽固问题) failed; error='Cannot allocate memory' (errno=12)
Q:第一次提交wordcount案例,OK,一切正常。再次提交,出现下述错误。完整错误粘贴如下: 21/01/27 14:55:48 INFO spark.SecurityManager: Changing modify acls groups to: 21/01/27 14:55:48 INFO ...
分类:编程语言   时间:2021-01-28 11:56:52    阅读次数:0
MinIO上传文件The difference between the request time and the server's time is too large.异常
问题 向MinIO上传文件时,抛出异常:The difference between the request time and the server's time is too large. 使用date命令修改CentOS时间后,异常依然存在。 相关Linux命令 查看系统时间:date 查看硬件 ...
分类:Web程序   时间:2021-01-28 11:51:35    阅读次数:0
批量替换端口
批量将管理端口17001变更成18001,如下脚本: [root@pxc1 ~]# grep -Rl "17001" /weblogic/web11g36|xargs sed -i 's/17001/18001/g' ...
分类:其他好文   时间:2021-01-28 11:38:08    阅读次数:0
linux 查看文件命令
Linux 下有很多实用工具可以让你在终端界面查看文本文件。其中一个就是 more。 more 跟我之前另一篇文章里写到的工具 —— less 很相似。它们之间的主要不同点在于 more 只允许你向前查看文件。 尽管它能提供的功能看起来很有限,不过它依旧有很多有用的特性值得你去了解。下面让我们来快速 ...
分类:系统相关   时间:2021-01-25 11:24:37    阅读次数:0
19337条   上一页 1 ... 18 19 20 21 22 ... 1934 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!