参考:https://blog.csdn.net/mhshencaobo/article/details/85269464 给发布的文件夹加上一个everyone的用户组并赋予全部权限即可: ...
分类:
数据库 时间:
2021-04-08 13:15:09
阅读次数:
0
问题背景: MySQL服务启动失败 协助启动数据库时发现日志中大量的表空间文件异常的错误信息 1 [ERROR] [MY-011971] [InnoDB] Tablespace 'innodb_undo_001' Page [page id: space=4294967279, page numbe ...
分类:
数据库 时间:
2021-04-08 13:14:37
阅读次数:
0
方式一(将整数转换为字符串,在转换为字符数组): public boolean isPalindrome(int x) { if (x < 0) { return false; } char[] chars = new String(Integer.toString(x)).toCharArray( ...
分类:
其他好文 时间:
2021-04-08 13:10:24
阅读次数:
0
linux服务器安装python虚拟环境 今天要部署一个服务化的接口程序,需要创建一个Python的虚拟环境。 1、安装虚拟环境 sudo pip install virtualenv sudo pip install virtualenvwrapper 2 安装完虚拟环境后,如果提示找不到mkvi ...
分类:
编程语言 时间:
2021-04-08 13:02:57
阅读次数:
0
二叉树——102. 二叉树的层序遍历 题目: 思路: 就是层序遍历,一层层扫下去,然后通过队列去实现,一个队列先暂存这一层的所有结点,然后另一个队列通过push_back的方式,实现从左到右的访问。 代码: class Solution { public: vector<vector<int>> l ...
分类:
其他好文 时间:
2021-04-08 12:59:26
阅读次数:
0
#include<bits/stdc++.h> using namespace std; int dir[8][2]={ {1,1}, {1,-1}, {1,0}, {0,1}, {0,-1}, {-1,-1}, {-1,0}, {-1,1} }; char maps[101][101]; int ...
分类:
其他好文 时间:
2021-04-08 12:57:57
阅读次数:
0
比较for和while 代码比较复制代码 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 public class HelloWorld { public static void main(String[] args) { //使用while打印0到4 int i = ...
分类:
其他好文 时间:
2021-04-08 12:54:22
阅读次数:
0
错误: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path res ...
分类:
编程语言 时间:
2021-04-07 11:40:38
阅读次数:
0
参考: 1.博客1:https://www.pianshen.com/article/4305691855/ fork:在原进程的基础上“分叉”出一个子进程,即创建一个子进程。 NAME fork - create a child process SYNOPSIS #include <unistd. ...
分类:
编程语言 时间:
2021-04-07 11:38:09
阅读次数:
0
项目中遇到如下报错内容:Uncaught (in promise) Error: Uncaught (in promise) Error: Redirected when going from "/login" to "/home" via a navigation guard. 原因:vue-ro ...
分类:
其他好文 时间:
2021-04-07 11:16:46
阅读次数:
0