启动Apache服务时竟然提示权限不够,用su切换,输入密码提示认证失败,这下搞了吧,后来一经查阅原来Ubuntu安装后,root用户默认是被锁定了的,不允许登录,也不允许 su 到 root ,对于桌面用户来说这个可能是为了增强安全性,但是服务器版上的没这个还真不行,赶紧设置下吧。 终端下 stu ...
分类:
系统相关 时间:
2020-09-17 22:00:17
阅读次数:
38
问题报错内容: ImportError: 'testCase' module incorrectly imported from 'E:\\Auto_code\\ui-and-api\\apiautotest-master\\testCase'. Expected 'E:\\Auto_code\\u ...
分类:
其他好文 时间:
2020-09-17 21:43:35
阅读次数:
45
上传ipa包时候报错: ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/**.app/guide.bundle' does not contain a bundle executable. If ...
分类:
移动开发 时间:
2020-09-17 18:57:05
阅读次数:
48
I will use the field “ClosingDate” to demonstrate my favorite approach to trouble shoot field binding issue. Generally speaking, the issue could be su ...
分类:
其他好文 时间:
2020-09-17 17:07:23
阅读次数:
32
sudo su - postgres -bash-4.2$ pwd /var/lib/pgsql 查看并创建新的数据库mytestdb -bash-4.2$ psql -l List of databases Name | Owner | Encoding | Collate | Ctype | A ...
分类:
数据库 时间:
2020-09-17 16:42:08
阅读次数:
35
两个节点分别执行 1.su - grid 2.cd $HOME/.ssh 3.rm -rf * 4.图形化界面重新setup 5.test成功 参考链接:https://blog.csdn.net/tan88881111/article/details/80407620 参考文档: Clean up ...
分类:
数据库 时间:
2020-09-17 16:31:20
阅读次数:
69
资料与前置知识 组合数学 博客:初探容斥原理 容斥的原理及广义应用 二项式定理 \((a+b)^n=\sum_{i=0}^nC_n^ia^ib^{n-i}\) 二项式反演: 若 \(f[n] = \sum_{0 <= i <= n} {g[i] * c(n, i)}\) 则 \(g[n] = \su ...
分类:
其他好文 时间:
2020-09-17 14:14:31
阅读次数:
33
前言 pytest 使用命令行执行用例的时候,有些用例执行失败的时候,屏幕上会出现一大堆的报错内容,不方便快速查看是哪些用例失败。 --tb=style 参数可以设置报错的时候回溯打印内容,可以设置参数(auto/long/short/line/native/no) --tb=style pytes ...
分类:
其他好文 时间:
2020-09-15 21:26:25
阅读次数:
37
现切换到root用户下 su root 1、切换到该目录下: 1 cd 要修改的目录 2、递归修改当前目录下所有文件夹的权限755: 1 find -type d -exec chmod 755 {} \; /一般用这条就可以了 2 find -type d|xargs chmod 755 3、递归 ...
分类:
系统相关 时间:
2020-09-12 21:14:26
阅读次数:
56
常用的Linux操作 1、运行.sh文件 第一种方法: 首先你要打开一个终端。 然后输入sudo su 随后输入密码。这样就取得了root用户权限。 然后找到那个文件首先看这个文件是不是有执行权限,没执行权限的话就要更改文件的执行权限然后在进行余下的操作 执行./sh文件名字 这样.sh就运行了。 ...
分类:
系统相关 时间:
2020-09-10 23:06:42
阅读次数:
39