自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 问答 (1)
  • 收藏
  • 关注

原创 内网环境centos7使用docker安装kong

内网环境使用docker安装kong下载好docker包、kong镜像包、postgresql镜像包上传 内网安装docker安装kong 和 postgresql进入容器看看下载好docker包、kong镜像包、postgresql镜像包查看系统发行版本:cat /etc/redhat-release查看系统架构:uname -a下载docker离线安装包: https://download.docker.com/linux/static/stable/x86_64/在有网环境下载kong

2022-03-17 15:34:51 1473

原创 php 获取数组子集

php 获取数组子集 /** * 获取子集 */ public function index(array $arr){ $arr_k = array_keys($arr);//数组键 $count = count($arr);//数组长度 $result = [];//子集结果 $pailies = [];//2进制集合 $max = pow(2,$count)-1; for

2022-02-17 10:21:18 560

原创 kong oauth2获取令牌找不到路由

直接访问端点 : https://localhost:8443/oauth2/token一直提示找不到路由:“message”: “no Route matched with those values”需要搭配安装了oAuth2 插件的服务路由才能使用如:我的服务路由路径为 /getArea那么正确地址为:https://localhost:8443/getArea/oauth2/token注意:安装 oauth2插件时 启用你需要使用的认证方式,按需要设置...

2022-01-21 17:11:06 2325

原创 centos 防火墙 firewall基础命令行

查看防火墙状态systemctl status firewalld在开机时启用服务systemctl enable firewalld在开机时禁用服务systemctl disable firewalld查看是否开机启动systemctl is-enabled firewalld启动防火墙systemctl start firewalld重启防火墙systemctl restart firewalld重新加载防火墙配置systemctl reload firewalld

2021-11-15 16:48:52 591

原创 centos7 ifconfig未找到命令

问题:使用 ifconfig 的时候发现没找到命令解决方法:查询下 ifconfig 所在的软件包yum provides ifconfigyum install net-tools完成

2021-11-15 11:49:20 564

原创 centos7 开启网络

1.查看你网络是否开启ip addr结果:如图我的网络配置文件名默认是:ifcfg-ens332.编辑网络配置文件vi /etc/sysconfig/network-scripts/ifcfg-ens33ONBOOT 为no表示网络未启用 ,修改为yes3.重新加载网路配置systemctl restart network4.再次查看网络连接状态ip addr5.ping一下试试ping www.baidu.comok了...

2021-11-15 11:04:30 3497

原创 mysql 主从复制

1.环境centos 8 64 位 MySQL8.0(mysql为yum安装) *2搭配好环境后克隆 生成第二套环境由于是克隆 两个虚拟机的 mysql 的server-uuid & server-id 会相同// 查看server-uuidmysql > show variables like '%server_uuid%';// 生成一个新的uuid 记住结果mysql > show variables like '%server_uuid%';// 查找m

2021-06-16 10:46:50 111

原创 redis 安装配置使用

redis 安装配置参照:晨曦_zdq(https://www.jianshu.com/p/7ccd5c902779)redis-6.0.6.tar.gz官网下载源码:http://www.redis.cn/http://download.redis.io/releases/安装依赖包1.安装gcc套装:yum install cppyum install binutilsyum install glibcyum install glibc-kernheadersyum ins

2020-07-21 12:00:23 129

转载 php header()

跳转页面header('Location:'.$url); //Location和":"之间无空格。声明content-typeheader('content-type:text/html;charset=utf-8');返回response状态码header('HTTP/1.1 404 Not Found');在某个时间后执行跳转header('Refres...

2020-01-16 15:03:32 67

转载 linux 关闭默认firewalld,开启iptables

linux 关闭默认firewalld,开启iptables//关闭firewalld防火墙systemctl stop firewalld//禁用firewalld防火墙systemctl mask firewalld//安装iptables-servicesyum install iptables-services设置开机启动systemctl enable iptables....

2020-01-14 10:47:55 531

转载 linux 防火墙部分操作

//防火墙查看firewalld状态,发现是dead状态,即防火墙未开启systemctl status firewalld开启防火墙,没有任何提示就是开启成功;运行上一条命令,显示running。systemctl start firewalld关闭防火墙设置systemctl stop firewalld。重启放火墙systemctl enable firewalld火墙的各...

2020-01-14 10:36:47 163

原创 linux 下编译安装php7.3

编译安装php7.3抄录别人的地址:https://blog.csdn.net/weixin_42579642/article/details/85290670如遇见 :make: *** 没有指明目标并且找不到 makefile抄录别人的:https://blog.csdn.net/asia66/article/details/85703643憨憨操作:sudo chmod -R 77...

2020-01-13 10:16:34 438

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除