第一个Mybatis程序 一、创建数据库、数据表 sql语句如下: create database mybatis; use mybatis; create table user( id int primary key auto_increment , name varchar(50) not nu ...
分类:
其他好文 时间:
2021-02-18 13:32:04
阅读次数:
0
1.防火墙开放端口 firewall-cmd --zone=public --add-port=8848/tcp --permanent firewall-cmd --list-ports 开放centOS 网关,远程连接 grant all privileges on *.* to 'root'@ ...
Centos7安装Redis 一、安装gcc依赖 由于 redis 是用 C 语言开发,安装之前必先确认是否安装 gcc 环境(gcc -v),如果没有安装,执行以下命令进行安装 [root@localhost local]# yum install -y gcc 二、下载并解压安装包 [root@ ...
分类:
其他好文 时间:
2021-02-18 13:26:15
阅读次数:
0
0x01、环境搭建 下载地址:https://codeload.github.com/apache/shiro/zip/shiro-root-1.2.4 环境:Tomcat 8.5.27 + idea 2020.2 + jdk 1.8 +maven 3.6 下载之后之后直接打开,并open这个web ...
分类:
其他好文 时间:
2021-02-18 13:25:23
阅读次数:
0
1.泛型继承BaseAdapter public class MyAdapter<T> extends BaseAdapter { private Context mContext; private LinkedList<T> mData; public MyAdapter() { } public ...
分类:
其他好文 时间:
2021-02-18 13:03:00
阅读次数:
0
方式1: ssh-copy-id -f -i .ssh/id_rsa.pub root@LinuxServerIP 方式2: #先在mac上将公钥上传到Linux服务器 scp .ssh/id_rsa.pub root@LinuxServerIP: #然后以root身份登录到Linux服务器上 ca ...
分类:
系统相关 时间:
2021-02-18 12:58:05
阅读次数:
0
一开始不是很理解,查了资料,觉得这个说的非常好! iso 对可用性的定义: the extent to which a system, product or service can be used by specified users to achieve specified goals with ...
分类:
其他好文 时间:
2021-02-17 15:07:39
阅读次数:
0
1、 安装kubectl 关闭SWAP交换分区 swapoff -a 配置Kubernetes-YUM源 [root@minikube ~]# cat < /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Kubernetes baseurl=ht ...
分类:
Web程序 时间:
2021-02-17 14:42:50
阅读次数:
0
比赛地址:这里 T1: 根据题意,符合题目要求的只有两种字符串:0101010…或1010101…,因此,我们可以直接构造这两种字符串并比较与原串的差异即可。 附上代码: class Solution { public: int minOperations(string s) { int len = ...
分类:
其他好文 时间:
2021-02-17 14:32:43
阅读次数:
0
We are given a matrix with rows and columns has cells with integer coordinates , where?`0 这道题给了一个R行C列的矩阵,又给了一个起始点 (r0, c0),让按照离起始点的曼哈顿距离从小到大排序坐标点。博主最先 ...
分类:
其他好文 时间:
2021-02-17 14:32:03
阅读次数:
0