摘要: 静态资源配置可以参考 https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html 阅读全文
posted @ 2019-07-15 18:06 芯-觞 阅读(2478) 评论(0) 推荐(0) 编辑
摘要: 实现过程 集群规划 两台redis服务器,每一台服务器上放置三个节点,一共六个结点 1,创建单机redis 克隆redis1为redis2 1)修改ip地址(只需要改ip,因为本身克隆机) vim /etc/sysconfig/network-scripts/ifcfg-eth0 2)删除网卡和mac地址的对应文件 r... 阅读全文
posted @ 2019-07-05 19:15 芯-觞 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1.新建maven项目,导入shiro的jar包 commons-logging commons-logging 1.0.4 org.apache.shiro shiro-core 1.2.3 2.创建shiro的认证文件 #声明用户的对象 [users] #=号前面是用户名 后面是密码 zhang=123456 li=654321 3、进行测试 package com.... 阅读全文
posted @ 2019-07-03 21:35 芯-觞 阅读(110) 评论(0) 推荐(0) 编辑
摘要: redis常用命令: 阅读全文
posted @ 2019-07-01 19:47 芯-觞 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1,原来机子的没用的用户删除(非必须) cat /etc/passwd [root@localhost ~]# userdel -r uqy97a [root@localhost ~]# userdel -r uqy97c [root@localhost ~]# userdel -r uqy97d [root@localhost ~]# us... 阅读全文
posted @ 2019-07-01 19:25 芯-觞 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 查看磁盘信息命令 fdisk -l 磁盘容量=柱面大小*柱面数量 柱面大小=扇面的最小单位*扇面数量*刺头数量 磁盘容量=扇面的最小单位*扇面数量*刺头数量*柱面数量 512 63 255 1305 当前系统磁盘容量: 10733990400 centos目录结构 ls / ... 阅读全文
posted @ 2019-06-26 19:57 芯-觞 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 重启 reboot 关机 poweroff shutdown -h now 查看本机ip信息的名称 ipconfig 查看默认网卡信息的文件 cat /etc/sysconfig/network-scripts/ifcfg-eth0 手动配置ip 配置完成后,重启网络,让配置生效 service n 阅读全文
posted @ 2019-06-25 20:03 芯-觞 阅读(240) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:s 阅读全文
posted @ 2019-06-23 19:21 芯-觞 阅读(322) 评论(0) 推荐(0) 编辑
摘要: "> 例如: "> Title 查看所有部门 部门编号 部门名称 部门位置 表操作 ${dept.deptno} ... 阅读全文
posted @ 2019-06-10 17:01 芯-觞 阅读(731) 评论(0) 推荐(0) 编辑
摘要: 大致如下: 阅读全文
posted @ 2019-05-31 21:16 芯-觞 阅读(356) 评论(0) 推荐(0) 编辑