摘要: centos7的方式: systemctl stop firewalld.service #停止防火墙 systemctl start firewalld.service #开启防火墙 systemctl status firewalld.service #查看防火墙状态 systemctl ena 阅读全文
posted @ 2019-09-29 10:24 小虎Tiger 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1)创建 hadoop用户 在 root 用户里面执行如下操作 [root@hadoop opt]# adduser hadoop[root@hadoop101 opt]# passwd hadoop更改用户 hadoop的密码 。 新的 密码: 无效的密码: 它没有包含足够的不同字符 无效的密码: 阅读全文
posted @ 2019-09-13 11:24 小虎Tiger 阅读(2042) 评论(0) 推荐(0) 编辑
摘要: 拷贝表 create table table_name as select * from Source_table where 1=1; 复制表结构 create table table_name as select * from Source_table where 1 <> 1; Oracle 阅读全文
posted @ 2019-06-16 16:55 小虎Tiger 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1,@ServletComponentScan 2,@ComponentScan 3,@Configurati on 阅读全文
posted @ 2019-05-01 21:12 小虎Tiger 阅读(4157) 评论(0) 推荐(1) 编辑
摘要: 参考通用mapper 文档:https://github.com/abel533/Mapper/wiki/4.1.mappergenerator 使用maven 的方法: 1,修改pom.xml 2,创建 generatorConfig.xml,注意pom.xml 中指定的位置 3,运行:pom.x 阅读全文
posted @ 2019-04-19 22:34 小虎Tiger 阅读(1472) 评论(0) 推荐(0) 编辑
摘要: 一,生成https 的证书 1,在相应的根目录下 解释: 2,步骤 3,springboot 中创建configure ,使得http 自动转向https 4,测试 IP:port/xxxx >>>>>>>> https:IP:port/xxx 阅读全文
posted @ 2019-04-17 17:23 小虎Tiger 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 查看Linux服务是否启动。 ps -ef | grep nginx 解决办法:1,添加 80 段端口配置 firewall-cmd --zone=public --add-port=80/tcp --permanent2,重启防火墙 systemctl restart firewalld.serv 阅读全文
posted @ 2019-03-06 21:51 小虎Tiger 阅读(3690) 评论(0) 推荐(1) 编辑
摘要: 1,控制台打印sql 2,开启驼峰命名 阅读全文
posted @ 2019-03-05 15:53 小虎Tiger 阅读(199) 评论(0) 推荐(0) 编辑
摘要: cd /etc/sysconfig/network-scripts/ #进入网络配置文件目录 vi ifcfg-eno16777736 #编辑配置文件,此处eno后边的编号因电脑而易 TYPE="Ethernet" BOOTPROTO="static" #启用静态IP地址 DEFROUTE="yes 阅读全文
posted @ 2019-03-04 18:53 小虎Tiger 阅读(8663) 评论(0) 推荐(0) 编辑
摘要: springboot 使用jsp: 1,修改配置文件, 2,pom 加入: 阅读全文
posted @ 2019-02-13 17:02 小虎Tiger 阅读(222) 评论(0) 推荐(0) 编辑