设置好menuconfig后,sudo make 然后拷到nfs目录,启动后出现错误如图: 此时的bin目录下文件状态 使用sudo chown root * -R后,状态为: 这条命令的意思是更改当前目录下所有的文件的owner(就是所有者)为root,-R意思是循环遍历,如果当前目录下有子目录, ...
分类:
其他好文 时间:
2020-03-13 01:29:25
阅读次数:
142
在云服务器上安装上mysql5.7后,登录后报错error:1820 1820的错误就是 You must reset your password using ALTER USER statement before executing this statement. 解释:在执行此语句之前,必须使用 ...
分类:
数据库 时间:
2020-03-12 19:09:06
阅读次数:
58
1105 Spiral Matrix (25分) This time your job is to fill a sequence of N positive integers into a spiral matrix in non increasing order. A spiral matrix ...
分类:
其他好文 时间:
2020-03-11 23:40:07
阅读次数:
75
1 #include <bits/stdc++.h> 2 #define dbg(x) cout << #x << "=" << x << endl 3 #define eps 1e-8 4 #define pi acos(-1.0) 5 6 using namespace std; 7 typed ...
分类:
其他好文 时间:
2020-03-10 01:12:16
阅读次数:
52
一:文件写入: (1):文件操作需要加载fs核心模块。 /* 文件写入:分为同步和异步写入。 1:同步写入函数:fs.writeFileSync(file,data,options) ; 2:异步写入函数:fs.writeFile(file,data,options,callback) ; 3:参数 ...
分类:
Web程序 时间:
2020-03-09 22:33:07
阅读次数:
85
1则代表的是对年份操作,2是对月份操作,3是对星期操作,5是对日期操作,11是对小时操作,12是对分钟操作,13是对秒操作,14是对毫秒操作。 public static Date addYears(Date date, int amount) { return add(date, 1, amoun ...
分类:
编程语言 时间:
2020-03-09 15:05:43
阅读次数:
99
我就不介绍vector的六种初始化的方法了,网上一大把,但是在利用CodeBlock编写C++程序时; 出现了 error: in C++98 'vecDouble' must be initialized by constructor, not by '{...}'| ,就是这个错误! 在code ...
分类:
编程语言 时间:
2020-03-08 21:56:28
阅读次数:
211
Stats 102A HW4 Due March 3, 2020General Notes? You will submit a minimum of three files, the core files must conform to the followingnaming convention ...
分类:
其他好文 时间:
2020-03-08 20:10:33
阅读次数:
68
自己为了记录这个问题。支持原创,感谢作者。本文作者原文链接:https://www.cnblogs.com/tiandi/p/10666454.html 在pom.xml中添加maven 依赖包时,我就发现不管是否用了FQ,下载速度都好慢,就1M的东西能下半天,很是苦恼,于是到网上搜资料,然后让我查 ...
分类:
其他好文 时间:
2020-03-08 15:52:42
阅读次数:
45
Given the string s, return the size of the longest substring containing each vowel an even number of times. That is, 'a', 'e', 'i', 'o', and 'u' must ...
分类:
其他好文 时间:
2020-03-08 09:32:42
阅读次数:
81