1、wc 统计文件行数的选项是( C) A、-L B、-w C、-l D、-c 2、linux 用户创建命令(A )A、useradd B、chown C、chmod D、groupadd 3、有一些文件某普通用户无法读取,说明其权限位缺少哪个权限( D)A、w B、s C、x D、r 4、bash ...
分类:
其他好文 时间:
2020-06-26 01:21:59
阅读次数:
251
1、查看sql_mode SELECT @@sql_mode; 查出来的值包含ONLY_FULL_GROUP_BY 即为受此限制 2、修改mySQL配置 sudo chmod 755 /etc/my.cnf sudo vi /etc/my.cnf 3、配置中添加以下语句 sql_mode=STRIC ...
分类:
数据库 时间:
2020-06-25 21:36:25
阅读次数:
68
从GitHub上拉去SmartWiki的源码: git clone https://github.com/lifei6671/SmartWiki.git 更改目录权限: chmod -R +x SmartWiki cd SmartWiki chmod -R 0777 storage 在根目录执行: ...
分类:
其他好文 时间:
2020-06-25 19:08:04
阅读次数:
154
1. ls 2. pwd 3. cd 4. cp 5. mkdir 6. rm 7. cat 8. mv 9.chmod 10. tar ...
分类:
系统相关 时间:
2020-06-25 15:59:39
阅读次数:
75
[root@01 ~]# wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py chmod +rx speedtest.py [root@01 ~]# sudo mv speedtest.py / ...
分类:
系统相关 时间:
2020-06-25 15:32:34
阅读次数:
100
1、wc统计文件行数的选项是(C) A、-L B、-w C、-l D、-c 2、Linux用户创建命令(A) A、useradd B、chown C、chmod D、groupadd 3、有一些文件某普通用户无法读取,说明其权限位缺少哪个权限(D) A、w B、s C、x D、r 4、bash脚本首 ...
分类:
其他好文 时间:
2020-06-25 12:12:44
阅读次数:
85
1、wc 统计文件行数的选项是( c )A、-L B、-w C、-l D、-c2、linux 用户创建命令( a )A、useradd B、chown C、chmod D、groupadd3、有一些文件某普通用户无法读取,说明其权限位缺少哪个权限( d )A、w B、s C、x D、r4、bash脚 ...
分类:
其他好文 时间:
2020-06-25 09:49:10
阅读次数:
98
程序安装在/usr/local/freeswitch目录,root用户。 1、在目录/usr/lib/systemd/system下创建文件freeswitch.service,内容如下: [Unit] Description=FreeSWITCH After=syslog.target netwo ...
分类:
其他好文 时间:
2020-06-24 18:09:13
阅读次数:
69
原因 因为没有路径也没有权限,所以创建此路径并授权给mysql用户 mkdir /var/log/mariadb touch /var/log/mariadb/mariadb.log # 用户组及用户 chown -R mysql:mysql /var/log/mariadb/ /usr/local ...
分类:
数据库 时间:
2020-06-24 17:51:51
阅读次数:
244
为什么file_put_contents failed to open stream: Permission denied in /home/user/public_html/test.php on line 2 写入的目录已经755权限了,还是写入失败。 最近项目迁移服务器,和file_put_c... ...
分类:
其他好文 时间:
2020-06-24 11:49:24
阅读次数:
40