默认是ctrl + s 但会与终端停止响应的快捷键冲突,但可以禁止终端的ctrl+s,再.bashrc或.bash_profile加入以下内容: stty -ixon https://stackoverflow.com/questions/791765/unable-to-forward-searc ...
分类:
其他好文 时间:
2020-06-21 00:20:08
阅读次数:
79
public String hello(){ return "hello word"; } 编译一下 报错了 前面选择了数据库,但是没有给数据库做相应的配置 配置一下 application.properties 上篇说过,这个文件放的是配置信息,类似netcore 的 appsettings.js ...
分类:
其他好文 时间:
2020-06-20 13:31:55
阅读次数:
48
jdk 的配置 tar xf jdk-8u161-linux-x64.tar.gz -C /usr/local/ mv /usr/local/{jdk1.8.0_161,jdk} tar xf zookeeper-3.4.14.tar.gz -C /usr/local/ mv /usr/local/ ...
分类:
其他好文 时间:
2020-06-19 11:44:58
阅读次数:
40
如题,deepin系统在一次开机后桌面和菜单栏全部消失,快捷键可以打开终端,但无法移动或关闭终端,终端可以用命令行打开其他软件,但其他软件同样不可以放大和正常关闭。 关于图标和菜单栏消失的问题,本文只提供诸多原因中的一个:检查是否在上一次可以正常打开时修改了某些配置文件。比如/etc/profile ...
分类:
其他好文 时间:
2020-06-18 19:46:20
阅读次数:
381
前言 因为没有加入iOS开发者计划,使用个人ID登录Xcode进行真机调试。 某天突然提示Build Failed,仔细检查报错显示Provisioning Profile Expires需要renew 解决 确保Mac已连接到网络 打开Xcode 项目选择左侧顶端project在右边找到TARGE ...
分类:
其他好文 时间:
2020-06-18 12:49:49
阅读次数:
129
configtx.yaml与configtxgen配合用于: 1.生成系统链(orderer)创世区块 genesis.block configtxgen -profile TwoOrgsOrdererGenesis -outputBlock ./channel-artifacts/genesis. ...
分类:
其他好文 时间:
2020-06-17 18:28:52
阅读次数:
119
记录所有用户登录系统的任何操作日志,以便有据可查。1.编辑/etc/profile文件vim/etc/profilehistoryUSER=`whoami`USER_IP=`who-uami2>/dev/null|awk‘{print$NF}‘|sed-e‘s/[()]//g‘`if["$USER_IP"=""];thenUSER_IP=`hostname`fiif[!-d/var/log/
分类:
系统相关 时间:
2020-06-17 10:43:12
阅读次数:
63
记录所有用户登录系统的任何操作日志,以便有据可查。1.编辑/etc/profile文件vim/etc/profilehistoryUSER=`whoami`USER_IP=`who-uami2>/dev/null|awk‘{print$NF}‘|sed-e‘s/[()]//g‘`if["$USER_IP"=""];thenUSER_IP=`hostname`fiif[!-d/var/log/
分类:
系统相关 时间:
2020-06-17 10:33:52
阅读次数:
61
详细看网址:https://blog.csdn.net/wrs120/article/details/77509070 压缩包和解压包的存放目录均为/usr/local/src/ 环境变量在/root/.bash_profile (自己添加) 一、安装前准备 1. 安装gcc # 安装命令 yum ...
分类:
数据库 时间:
2020-06-16 23:23:35
阅读次数:
270
一:账号安全控制 1.1:基本安全设置 [root@localhost ~]# cat /etc/passwd ##查看用户账号 [root@localhost ~]# grep "/sbin/nologin$" /etc/passwd [root@localhost ~]# useradd zha ...
分类:
系统相关 时间:
2020-06-16 23:10:57
阅读次数:
105