在使用 yum 安装 nginx 后可能会出现配置完成后却无法访问的问题,查看 audit.log 会发现类似于以下的错误信息 出现此问题的原因是 SELinux 基于最小权限原则默认拦截了 Nginx 的请求,SELinux 是 Linux 的安全子系统,提供更安全的访问控制,许多运维人员嫌麻烦可 ...
分类:
系统相关 时间:
2020-07-02 00:22:50
阅读次数:
89
#include <iostream> #include <fstream> #include<vector> using namespace std; /** * @brief 读取二进制文件中的数据 * @param data_fname 二进制文件名 * @param rows * @para ...
分类:
编程语言 时间:
2020-06-30 13:05:07
阅读次数:
72
mysql> show databases; + + | Database | + + | information_schema | | mysql | | newauth4a | | performance_schema | | pre4a | | sys | + + 6 rows in set ...
分类:
数据库 时间:
2020-06-30 12:46:33
阅读次数:
56
在上篇文章中分析了mybatis解析mapper标签中的resource、url属性的过程,《mybatis源码配置文件解析之五:解析mappers标签(解析XML映射文件)》。通过分析可以知道在解析这两个属性的时候首先解析的是对应的XML映射文件,然后解析XML映射文件中的namespace属性配 ...
分类:
移动开发 时间:
2020-06-29 16:53:12
阅读次数:
62
写的顺序:select ... from... where.... group by... having... order by.. limit [offset,] (rows) 从0开始取几条数据 执行顺序:from... where...group by... having.... select ...
分类:
数据库 时间:
2020-06-29 09:57:34
阅读次数:
54
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="css/reset.min.css"> <style> html, body { height: 100 ...
分类:
其他好文 时间:
2020-06-28 15:21:17
阅读次数:
44
Python进阶 文件读、写 函数open:文件读写,默认读模式 open(路径文件名.后缀名) eg:file = open('D:\\tes.txt') content = file.read() print(content) file.close()读: read():从文档开始位置读取 re ...
分类:
编程语言 时间:
2020-06-28 00:39:54
阅读次数:
100
系统:CentOS7Redis:5.0.5获取最新版本redis:https://redis.io/download ,下载Stable版本,当前安装版本5.0.5 一、安装Redis 1、下载redis安装包(安装目录/usr/local/) [root@iZbp12y6fwj9mup08bgko ...
分类:
其他好文 时间:
2020-06-27 18:43:28
阅读次数:
130
本文内容 Power BI Desktop 工作原理 安装并运行 Power BI Desktop 连接到数据 调整数据 合并数据 生成报表 共享工作 后续步骤 --> 欢迎使用 Power BI Desktop 入门指南。Welcome to the getting started guide f ...
分类:
其他好文 时间:
2020-06-27 10:08:07
阅读次数:
96
安装mysql yum install mysql mysql-server 会出现以下错误: [root@yl-web yl]# yum install mysql-server Loaded plugins: fastestmirror Loading mirror speeds from ca ...
分类:
数据库 时间:
2020-06-26 22:38:58
阅读次数:
85