有时我们连接远程服务器的时候,提示密码过期,需要修改密码才能登录,这时可以用chage命令来调整下用户密码的有效期,使用户可以继续使用。 chage命令 chage命令用于查看以及修改用户密码的有效期信息,它是 change age 的缩写。当需要用户在指定时间内登录或者需要及时修改密码的时候可以使 ...
分类:
系统相关 时间:
2020-06-25 15:52:13
阅读次数:
133
#盘符切换 D: C:#查看当前目录下的所有文件 dir#切换目录 cd change directory #切换盘cd /d D:切换到D盘 #cd..返回上一级# 清理屏幕 CLS# 退出终端 exit#查看电脑IP ipconfig#打开程序 #计算器 calc 画图 mapaint 记事本 ...
分类:
其他好文 时间:
2020-06-24 23:58:14
阅读次数:
126
Exception-Handling Overview Example Snippet for try-throw-catch (踹扔抓示例) try { Code to try; throw an exception (1) with a throw statement (2) or from f ...
分类:
其他好文 时间:
2020-06-24 22:08:41
阅读次数:
67
This is going to be a short post about how to change your Macintosh boot logo/start logo without using software like BootXChanger. Since this software ...
分类:
系统相关 时间:
2020-06-24 16:13:33
阅读次数:
109
pt-online-schema-change 最佳实践 pt的详细步骤 Step 1: Create the new table. Step 2: Alter the new, empty table. This should be very quick, or die if the user s ...
分类:
其他好文 时间:
2020-06-24 14:29:41
阅读次数:
49
MySQL报错:Cannot add or update a child row: a foreign key constraint fails 原因及解决方法 前几天增加了数据库中几张表的外键,结果调试接口的时候就报Cannot add or update a child row: a forei ...
分类:
数据库 时间:
2020-06-24 11:44:22
阅读次数:
59
/bin/目录下下 sh zkCli.sh 进入客户端目录下: 查看根目录 [zk: localhost:2181(CONNECTED) 11] ls /[cluster, controller, brokers, zookeeper, admin, isr_change_notification, ...
分类:
其他好文 时间:
2020-06-24 00:40:09
阅读次数:
206
1、概览 当多线程帮助我们提高应用性能的同时,它同时也带来一些问题,本文我们将借助几个小例子看下两个问题,死锁和活锁。 2、死锁 2.1、什么是死锁 死锁发生在当两个或多个线程一直在等待另一个线程持有的锁或资源的时候。这会导致一个程序可能会被拖垮或者直接挂掉,因为线程们都不能继续工作了。 经典的哲学 ...
分类:
编程语言 时间:
2020-06-24 00:24:55
阅读次数:
92
需求:将 table 中的 radio 改为 checkbox 并保持同样的效果 HTML部分: <el-table :data="tableData" tooltip-effect="dark" style="width: 100%" ref="multipleTable" @select-all ...
分类:
其他好文 时间:
2020-06-23 19:19:01
阅读次数:
244
原创 Linux操作系统 作者:wisdomone1 时间:2010-02-28 13:27:24 2690 0 When you rename one or more datafiles in the primary database, the change is not propagated t ...
分类:
数据库 时间:
2020-06-23 18:59:46
阅读次数:
54