上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: SpringBoot启动时 提示没有主清单属性 MANIFEST 增加 上面红色片断即可解决问题。 阅读全文
posted @ 2019-07-15 15:01 liuxm-刘小明 阅读(1688) 评论(0) 推荐(0) 编辑
摘要: 依据文件名称判断mime类型 阅读全文
posted @ 2019-07-13 11:22 liuxm-刘小明 阅读(701) 评论(0) 推荐(0) 编辑
摘要: ubuntu修改时间为北京时间 查看当前时区root@ubuntu:/# date -R修改时区root@ubuntu:/# tzselect复制文件到/etc目录下root@ubuntu:/# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime再 阅读全文
posted @ 2019-07-10 16:47 liuxm-刘小明 阅读(3588) 评论(0) 推荐(0) 编辑
摘要: wget http://openvswitch.org/releases/openvswitch-2.4.1.tar.gz tar -xvf openvswitch-2.4.1.tar.gz cd openvswitch-2.4.1/./configure make && make install 阅读全文
posted @ 2019-07-09 13:20 liuxm-刘小明 阅读(374) 评论(0) 推荐(0) 编辑
摘要: #!/bin/shmodprobe ipt_MASQUERADEmodprobe ip_conntrack_ftpmodprobe ip_nat_ftpiptables -Fiptables -t nat -Fiptables -Xiptables -t nat -X################ 阅读全文
posted @ 2019-07-09 10:54 liuxm-刘小明 阅读(615) 评论(0) 推荐(0) 编辑
摘要: iptables 持久化 安装持久化工具apt-get install iptables-persistent Ubuntu 16.04 调用语法netfilter-persistent savenetfilter-persistent reload 一键清除iptables规则cat clear_ 阅读全文
posted @ 2019-07-08 17:48 liuxm-刘小明 阅读(2048) 评论(0) 推荐(0) 编辑
摘要: openresty安装 前置条件安装 ubuntu apt-get install libpcre3-dev \ libssl-dev perl make build-essential curl centosyum install pcre-devel openssl-devel gcc curl 阅读全文
posted @ 2019-07-08 17:43 liuxm-刘小明 阅读(361) 评论(0) 推荐(1) 编辑
摘要: centos6.9 安装 mysql8 # 安装mysql8 1.下载https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.16-2.el6.x86_64.rpm-bundle.tar 2.解压 tar -xvf mysql-8.0.16-2.el 阅读全文
posted @ 2019-07-04 16:58 liuxm-刘小明 阅读(874) 评论(0) 推荐(0) 编辑
摘要: mysql恢复数据时中文乱码,解决办法。 用source命令导入mysql数据库怎么设置中文编码 1.导出数据时指定编码在导出mysql sql执行文件的时候,指定一下编码格式: 2.导入数据时指定编码 阅读全文
posted @ 2019-07-03 15:56 liuxm-刘小明 阅读(1374) 评论(0) 推荐(0) 编辑
摘要: 1.pom设置 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2019-06-28 15:05 liuxm-刘小明 阅读(575) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页