摘要: 1、创建用户 create user admin@localhost identified by 'password'; 2、赋权 grant privileges ON database.table TO 'username'[@'host'] [with grant option] grant命 阅读全文
posted @ 2023-01-29 14:33 高佳丰 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 表现情况为: 微信可以登录,但是浏览器无法上网,在浏览器上运行Windows诊断显示远程计算机或设备将不接受连接 解决办法: 1、Win+r 打开运行,输入inetcpl.cpl,点击确定。 2、在弹出来的Internet属性框中点“连接”-->“局域网设置” 3、确保以下三个选项都不勾选,点确认就 阅读全文
posted @ 2023-01-29 09:49 高佳丰 阅读(1709) 评论(0) 推荐(0) 编辑
摘要: git升级编译安装 一、删除旧版本git 方法一、 yum remove git -y (centos环境) apt-get remove git -y (Ubuntu环境) 方法二、 which git [root@park2-0007 ~]# which -a git/usr/bin/git/bin/git[roo 阅读全文
posted @ 2023-01-28 15:23 高佳丰 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 环境准备 主机 IP control01 192.168.29.128 nginx01 192.168.29.101 nginx02 192.168.29.102 nginx03 192.168.29.103 一、配置反向代理 control01 nginx配置 worker_processes 1 阅读全文
posted @ 2023-01-04 15:21 高佳丰 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1、同一个主机配置不同端口,访问不同资源 worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfil 阅读全文
posted @ 2023-01-03 16:21 高佳丰 阅读(487) 评论(0) 推荐(1) 编辑
摘要: worker_processes 1; # 定义nginx启动后work进程数为1 events { worker_connections 1024; # 定义一个work进程的连接数 } http { include mime.types; # 服务器端告诉浏览器(客户端)发送的数据类型 defa 阅读全文
posted @ 2023-01-03 15:05 高佳丰 阅读(31) 评论(0) 推荐(0) 编辑
摘要: *_temp目录为nginx安装时产生的临时文件 conf目录是配置文件存放路径,./nginx.conf是主配置文件 html目录为静态页面路径 logs目录存放路径,access.log是访问日志,error.log是错误日志 sbin目录下存放的是nginx可执行进程文件 以上目录和配置都是默 阅读全文
posted @ 2023-01-03 14:16 高佳丰 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 1、下载nginx软件包 https://nginx.org/en/download.html 2、压缩包上传服务器并解压缩 tar xf nginx-1.22.1.tar.gz 3、进入解压目录,编译安装 root@control01:/home/jiafeng/nginx-1.22.1# cd 阅读全文
posted @ 2023-01-03 13:47 高佳丰 阅读(2211) 评论(0) 推荐(1) 编辑
摘要: 1、使用apt-get 安装nginx(得机器能联网才行) # 切换到root用户 # 切换到root用户 sudo -i # 更新apt源 apt-get update# 安装nginx apt-get install nginx -y 2、访问nginx # 检查防火墙状态root@contro 阅读全文
posted @ 2023-01-03 10:36 高佳丰 阅读(1240) 评论(0) 推荐(0) 编辑
摘要: 1、nginx-controller部署请参考我的另一篇博客 nginx Ingress Controller Packaged by Bitnami 2、修改values.yaml 不通controller之间的 ingressClassName 和 controller Class都不能相同。 阅读全文
posted @ 2022-11-28 15:59 高佳丰 阅读(177) 评论(0) 推荐(0) 编辑